My current application login flow is as mentioned below:
- Access application URL
- Application redirects to Microsoftonline
- Insert username >> click Next
- Insert password >> click SignIn
- Click on Yes on Stay signed in? dialog box.
- Browser shows token as part of response header with status code 302.
Browser shows status code 302
However in JMeter I am getting 200 OK response and unable to see access token in header response.
Note that I have done correlation for input parameters. Moreover I am able to get access token using postman.
Sampler result
Jmeter response header
Followed below mentioned approaches but those didn’t worked.
- Check/uncheck of “Follow Redirects” option.
- Check/uncheck of “Redirect Automatically” option.
- Used other approach as suggested in article here: https://www.vanderveer.io/jmeter-azure-ad-no-plugins/. I am able to get the token but it failed to perform user access level functionality.
New contributor
Vaibhav is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.