When i try to perform load testing the application by Jmeter i get this issue "We can't sign you in jmeter your browser is currently set to block cookies"

Vasyl Yerzhykevych 1 Reputation point
2022-04-11T15:54:37.203+00:00

I need to performe load testing for site 'x', when sending a get request with a link to this site, I should be redirected to login.microsoftonline.com where, accordingly, I can start correlating the parameters I need, such as SAMLRequest and RelayState, but instead I get the error "We can` t sign you in your browser is currently set to block cookies". I added HTTP Cookie Manager but it didn't help, also I tried all settings for HTTP Cookie Manager also no result. Perhaps I should use some other approach to login, if you have an idea I'd be happy to hear it. I am attaching screenshots below.

https://stackoverflow.com/questions/70775330/how-to-perform-login-field-for-login-microsoftonline-com-using-jmeter

Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Takahito Iwasa 4,851 Reputation points MVP Volunteer Moderator
    2022-04-11T20:40:09.33+00:00

    Hi, @Vasyl Yerzhykevych

    I think the site under test has the single sign-on feature in Azure AD.

    JMeter needs to break through the certification.
    The following will be helpful.
    You need to get the Azure AD token from the two options and send the token on request. Option 1 is easy but not fully automated. Option 2 is difficult, but it can be fully automated.

    https://stackoverflow.com/questions/41818784/how-to-do-a-oauth-2-0-authentication-in-jmeter

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.