I want to use the Bearer Token in authorization which is generated by entering the Username and password in payload for post request.
Scenario 1: I have a application in which user has to provide the username and password in payload and in response it will generate the Bearer Token. I want to use the Bearer token in Authorization header to get the proper response from server instead of 401 unauthorized .
Scenario 2: I have a application in which user has to provide the username and password in payload and in response it will generate the Bearer Token with refresh interval . Once the time limit is over the tool should auto generate the Bearer token and use it for other requests.
You can use this video as a reference : https://www.youtube.com/watch?v=8wxprVcHB5w
NOTE: I m not using HappyPath Fuzzer. Less information is available for --authRefreshScript="./get_token.sh"