You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Manoj Kiradi <ki...@gmail.com> on 2024/05/16 08:54:51 UTC
Unable to Sign In to SSO Login
Hello
I have a Login scenario to script that involves SSO. I've correlated all
dynamic values be it in request body, headers and URL but the script is
failing at 'Sign In screen after a Password is Entered'.
I've checked and can confirm that parameter URLEncoding is taken care of.
Also, compared all requests body and params with browser Dev Tools traffic
and Fiddler traffic, I couldn't find any parameter/value that is missing in
JMeter script.
Looks like the request is posting correct values as expected by the
application but still can't go past Sign In. Able to go past the 'Enter
Username' screen but just stuck at 'Enter Password' screen.
Any suggestions and support on this issue is greatly appreciated. Thank you!
Failed Request:
*POST https://login.microsoftonline.com/{param}/login
<https://login.microsoftonline.com/{param}/login>*
Above request Post below dynamic unique identifiers data-
Username
Password
*hpgrequestid*
*flowToken*
*canary*
*ctx*
Response Body data of above failed request:
*<head>*
*<title>Redirecting</title>*
Title displayed as '*Redirecting*' instead should be '*<title>Sign in to
your account</title>*'
Regards
Manoj
Re: Unable to Sign In to SSO Login
Posted by Manoj Kiradi <ki...@gmail.com>.
Issue resolved.
Was a headers conflict that’s redirected flow to Login.
Thanks for your help.
Regards
Manoj
On Fri, 17 May 2024 at 3:16 AM, c.schmalenbach <
c.schmalenbach@perfomatics.com> wrote:
> I have no solution for the problem, but a hint:
> Use jmeter as a proxy behind your browser and record the exact behaviour
> an request/response cycle while login from the browser.
> This helps in many cases to identify missing requests, parameters and so
> on.
>
> kind regards
> Christof
>
> -------- Ursprüngliche Nachricht --------
> Von: Manoj Kiradi <ki...@gmail.com>
> Datum: 16.05.24 19:25 (GMT+01:00)
> An: glinius@live.com
> Cc: JMeter Users List <us...@jmeter.apache.org>
> Betreff: Re: Unable to Sign In to SSO Login
>
> Hi Dmitri
>
> Yes, I tried both’Follow redirects’ and ‘Redirect Automatically’ but none
> seems working.
>
> Anything else you would like to suggest that may fix this issue?
>
> Thanks
> Manoj
>
>
> On Fri, 17 May 2024 at 1:21 AM, Manoj Kiradi <ki...@gmail.com>
> wrote:
>
>> Hi Aditya
>>
>> Screenshots are attached in my previous email as requested. Please share
>> your thoughts.
>>
>> Thanks
>>
>> Manoj
>>
>>
>> On Thu, 16 May 2024 at 5:25 PM, Manoj Kiradi <ki...@gmail.com>
>> wrote:
>>
>>> Here are a couple of snapshots to explain the issue. Hope this helps.
>>>
>>> Enter Password call showing 'Redirecting' status instead *Sign in to
>>> your account*
>>> [image: image.png]
>>>
>>> Signed In call is obviously Failed as the user didn't get past 'Enter
>>> Password' page
>>> [image: image.png]
>>>
>>> On Thu, May 16, 2024 at 5:07 PM Dmitri T <gl...@live.com> wrote:
>>>
>>>> Manoj Kiradi wrote:
>>>> > Hello
>>>> >
>>>> > I have a Login scenario to script that involves SSO. I've correlated
>>>> all
>>>> > dynamic values be it in request body, headers and URL but the script
>>>> is
>>>> > failing at 'Sign In screen after a Password is Entered'.
>>>> > I've checked and can confirm that parameter URLEncoding is taken care
>>>> of.
>>>> > Also, compared all requests body and params with browser Dev Tools
>>>> traffic
>>>> > and Fiddler traffic, I couldn't find any parameter/value that is
>>>> missing in
>>>> > JMeter script.
>>>> >
>>>> > Looks like the request is posting correct values as expected by the
>>>> > application but still can't go past Sign In. Able to go past the
>>>> 'Enter
>>>> > Username' screen but just stuck at 'Enter Password' screen.
>>>> >
>>>> > Any suggestions and support on this issue is greatly appreciated.
>>>> Thank you!
>>>> >
>>>> > Failed Request:
>>>> > *POST https://login.microsoftonline.com/{param}/login
>>>> > <https://login.microsoftonline.com/{param}/login>*
>>>> >
>>>> > Above request Post below dynamic unique identifiers data-
>>>> > Username
>>>> > Password
>>>> > *hpgrequestid*
>>>> > *flowToken*
>>>> > *canary*
>>>> > *ctx*
>>>> >
>>>> > Response Body data of above failed request:
>>>> > *<head>*
>>>> > *<title>Redirecting</title>*
>>>> >
>>>> > Title displayed as '*Redirecting*' instead should be '*<title>Sign in
>>>> to
>>>> > your account</title>*'
>>>> >
>>>> >
>>>> > Regards
>>>> > Manoj
>>>> >
>>>> If everything is properly correlated
>>>> <https://www.blazemeter.com/blog/correlation-in-jmeter> you might need
>>>> to play with "Redirect automatically" and "Follow redirects" boxes of
>>>> the HTTP Request
>>>> <
>>>> https://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request>sampler.
>>>>
>>>> Also it might be the case the redirection happens via JavaScript
>>>> modification of Window.location
>>>> <https://developer.mozilla.org/en-US/docs/Web/API/Window/location>
>>>> property and as JMeter cannot execute JavaScript you will need to add
>>>> an
>>>> extra HTTP Request sampler and populate the URL yourself.
>>>>
>>>> You can take a look at
>>>>
>>>> https://bitbucket.org/blazemeter/oauth2-correlation/src/master/atlassian-microsoft-oauth.jmx
>>>> example script as a reference.
>>>>
>>>
>>>
>>> --
>>> Regards
>>> Manoj
>>>
>>
Re: Unable to Sign In to SSO Login
Posted by "c.schmalenbach" <c....@perfomatics.com>.
I have no solution for the problem, but a hint:Use jmeter as a proxy behind your browser and record the exact behaviour an request/response cycle while login from the browser.This helps in many cases to identify missing requests, parameters and so on.kind regardsChristof
-------- Ursprüngliche Nachricht --------Von: Manoj Kiradi <ki...@gmail.com> Datum: 16.05.24 19:25 (GMT+01:00) An: glinius@live.com Cc: JMeter Users List <us...@jmeter.apache.org> Betreff: Re: Unable to Sign In to SSO Login Hi DmitriYes, I tried both’Follow redirects’ and ‘Redirect Automatically’ but none seems working.Anything else you would like to suggest that may fix this issue?ThanksManojOn Fri, 17 May 2024 at 1:21 AM, Manoj Kiradi <ki...@gmail.com> wrote:Hi AdityaScreenshots are attached in my previous email as requested. Please share your thoughts.ThanksManojOn Thu, 16 May 2024 at 5:25 PM, Manoj Kiradi <ki...@gmail.com> wrote:Here are a couple of snapshots to explain the issue. Hope this helps.Enter Password call showing 'Redirecting' status instead Sign in to your accountSigned In call is obviously Failed as the user didn't get past 'Enter Password' pageOn Thu, May 16, 2024 at 5:07 PM Dmitri T <gl...@live.com> wrote:Manoj Kiradi wrote:
> Hello
>
> I have a Login scenario to script that involves SSO. I've correlated all
> dynamic values be it in request body, headers and URL but the script is
> failing at 'Sign In screen after a Password is Entered'.
> I've checked and can confirm that parameter URLEncoding is taken care of.
> Also, compared all requests body and params with browser Dev Tools traffic
> and Fiddler traffic, I couldn't find any parameter/value that is missing in
> JMeter script.
>
> Looks like the request is posting correct values as expected by the
> application but still can't go past Sign In. Able to go past the 'Enter
> Username' screen but just stuck at 'Enter Password' screen.
>
> Any suggestions and support on this issue is greatly appreciated. Thank you!
>
> Failed Request:
> *POST https://login.microsoftonline.com/{param}/login
> <https://login.microsoftonline.com/{param}/login>*
>
> Above request Post below dynamic unique identifiers data-
> Username
> Password
> *hpgrequestid*
> *flowToken*
> *canary*
> *ctx*
>
> Response Body data of above failed request:
> *<head>*
> *<title>Redirecting</title>*
>
> Title displayed as '*Redirecting*' instead should be '*<title>Sign in to
> your account</title>*'
>
>
> Regards
> Manoj
>
If everything is properly correlated
<https://www.blazemeter.com/blog/correlation-in-jmeter> you might need
to play with "Redirect automatically" and "Follow redirects" boxes of
the HTTP Request
<https://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request>sampler.
Also it might be the case the redirection happens via JavaScript
modification of Window.location
<https://developer.mozilla.org/en-US/docs/Web/API/Window/location>
property and as JMeter cannot execute JavaScript you will need to add an
extra HTTP Request sampler and populate the URL yourself.
You can take a look at
https://bitbucket.org/blazemeter/oauth2-correlation/src/master/atlassian-microsoft-oauth.jmx
example script as a reference.
-- RegardsManoj
Re: Unable to Sign In to SSO Login
Posted by Manoj Kiradi <ki...@gmail.com>.
Hi Dmitri
Yes, I tried both’Follow redirects’ and ‘Redirect Automatically’ but none
seems working.
Anything else you would like to suggest that may fix this issue?
Thanks
Manoj
On Fri, 17 May 2024 at 1:21 AM, Manoj Kiradi <ki...@gmail.com> wrote:
> Hi Aditya
>
> Screenshots are attached in my previous email as requested. Please share
> your thoughts.
>
> Thanks
>
> Manoj
>
>
> On Thu, 16 May 2024 at 5:25 PM, Manoj Kiradi <ki...@gmail.com>
> wrote:
>
>> Here are a couple of snapshots to explain the issue. Hope this helps.
>>
>> Enter Password call showing 'Redirecting' status instead *Sign in to
>> your account*
>> [image: image.png]
>>
>> Signed In call is obviously Failed as the user didn't get past 'Enter
>> Password' page
>> [image: image.png]
>>
>> On Thu, May 16, 2024 at 5:07 PM Dmitri T <gl...@live.com> wrote:
>>
>>> Manoj Kiradi wrote:
>>> > Hello
>>> >
>>> > I have a Login scenario to script that involves SSO. I've correlated
>>> all
>>> > dynamic values be it in request body, headers and URL but the script is
>>> > failing at 'Sign In screen after a Password is Entered'.
>>> > I've checked and can confirm that parameter URLEncoding is taken care
>>> of.
>>> > Also, compared all requests body and params with browser Dev Tools
>>> traffic
>>> > and Fiddler traffic, I couldn't find any parameter/value that is
>>> missing in
>>> > JMeter script.
>>> >
>>> > Looks like the request is posting correct values as expected by the
>>> > application but still can't go past Sign In. Able to go past the 'Enter
>>> > Username' screen but just stuck at 'Enter Password' screen.
>>> >
>>> > Any suggestions and support on this issue is greatly appreciated.
>>> Thank you!
>>> >
>>> > Failed Request:
>>> > *POST https://login.microsoftonline.com/{param}/login
>>> > <https://login.microsoftonline.com/{param}/login>*
>>> >
>>> > Above request Post below dynamic unique identifiers data-
>>> > Username
>>> > Password
>>> > *hpgrequestid*
>>> > *flowToken*
>>> > *canary*
>>> > *ctx*
>>> >
>>> > Response Body data of above failed request:
>>> > *<head>*
>>> > *<title>Redirecting</title>*
>>> >
>>> > Title displayed as '*Redirecting*' instead should be '*<title>Sign in
>>> to
>>> > your account</title>*'
>>> >
>>> >
>>> > Regards
>>> > Manoj
>>> >
>>> If everything is properly correlated
>>> <https://www.blazemeter.com/blog/correlation-in-jmeter> you might need
>>> to play with "Redirect automatically" and "Follow redirects" boxes of
>>> the HTTP Request
>>> <
>>> https://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request>sampler.
>>>
>>> Also it might be the case the redirection happens via JavaScript
>>> modification of Window.location
>>> <https://developer.mozilla.org/en-US/docs/Web/API/Window/location>
>>> property and as JMeter cannot execute JavaScript you will need to add an
>>> extra HTTP Request sampler and populate the URL yourself.
>>>
>>> You can take a look at
>>>
>>> https://bitbucket.org/blazemeter/oauth2-correlation/src/master/atlassian-microsoft-oauth.jmx
>>> example script as a reference.
>>>
>>
>>
>> --
>> Regards
>> Manoj
>>
>
Re: Unable to Sign In to SSO Login
Posted by Manoj Kiradi <ki...@gmail.com>.
Hi Aditya
Screenshots are attached in my previous email as requested. Please share
your thoughts.
Thanks
Manoj
On Thu, 16 May 2024 at 5:25 PM, Manoj Kiradi <ki...@gmail.com> wrote:
> Here are a couple of snapshots to explain the issue. Hope this helps.
>
> Enter Password call showing 'Redirecting' status instead *Sign in to your
> account*
> [image: image.png]
>
> Signed In call is obviously Failed as the user didn't get past 'Enter
> Password' page
> [image: image.png]
>
> On Thu, May 16, 2024 at 5:07 PM Dmitri T <gl...@live.com> wrote:
>
>> Manoj Kiradi wrote:
>> > Hello
>> >
>> > I have a Login scenario to script that involves SSO. I've correlated all
>> > dynamic values be it in request body, headers and URL but the script is
>> > failing at 'Sign In screen after a Password is Entered'.
>> > I've checked and can confirm that parameter URLEncoding is taken care
>> of.
>> > Also, compared all requests body and params with browser Dev Tools
>> traffic
>> > and Fiddler traffic, I couldn't find any parameter/value that is
>> missing in
>> > JMeter script.
>> >
>> > Looks like the request is posting correct values as expected by the
>> > application but still can't go past Sign In. Able to go past the 'Enter
>> > Username' screen but just stuck at 'Enter Password' screen.
>> >
>> > Any suggestions and support on this issue is greatly appreciated. Thank
>> you!
>> >
>> > Failed Request:
>> > *POST https://login.microsoftonline.com/{param}/login
>> > <https://login.microsoftonline.com/{param}/login>*
>> >
>> > Above request Post below dynamic unique identifiers data-
>> > Username
>> > Password
>> > *hpgrequestid*
>> > *flowToken*
>> > *canary*
>> > *ctx*
>> >
>> > Response Body data of above failed request:
>> > *<head>*
>> > *<title>Redirecting</title>*
>> >
>> > Title displayed as '*Redirecting*' instead should be '*<title>Sign in to
>> > your account</title>*'
>> >
>> >
>> > Regards
>> > Manoj
>> >
>> If everything is properly correlated
>> <https://www.blazemeter.com/blog/correlation-in-jmeter> you might need
>> to play with "Redirect automatically" and "Follow redirects" boxes of
>> the HTTP Request
>> <
>> https://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request>sampler.
>>
>> Also it might be the case the redirection happens via JavaScript
>> modification of Window.location
>> <https://developer.mozilla.org/en-US/docs/Web/API/Window/location>
>> property and as JMeter cannot execute JavaScript you will need to add an
>> extra HTTP Request sampler and populate the URL yourself.
>>
>> You can take a look at
>>
>> https://bitbucket.org/blazemeter/oauth2-correlation/src/master/atlassian-microsoft-oauth.jmx
>> example script as a reference.
>>
>
>
> --
> Regards
> Manoj
>
Re: Unable to Sign In to SSO Login
Posted by Manoj Kiradi <ki...@gmail.com>.
Here are a couple of snapshots to explain the issue. Hope this helps.
Enter Password call showing 'Redirecting' status instead *Sign in to your
account*
[image: image.png]
Signed In call is obviously Failed as the user didn't get past 'Enter
Password' page
[image: image.png]
On Thu, May 16, 2024 at 5:07 PM Dmitri T <gl...@live.com> wrote:
> Manoj Kiradi wrote:
> > Hello
> >
> > I have a Login scenario to script that involves SSO. I've correlated all
> > dynamic values be it in request body, headers and URL but the script is
> > failing at 'Sign In screen after a Password is Entered'.
> > I've checked and can confirm that parameter URLEncoding is taken care of.
> > Also, compared all requests body and params with browser Dev Tools
> traffic
> > and Fiddler traffic, I couldn't find any parameter/value that is missing
> in
> > JMeter script.
> >
> > Looks like the request is posting correct values as expected by the
> > application but still can't go past Sign In. Able to go past the 'Enter
> > Username' screen but just stuck at 'Enter Password' screen.
> >
> > Any suggestions and support on this issue is greatly appreciated. Thank
> you!
> >
> > Failed Request:
> > *POST https://login.microsoftonline.com/{param}/login
> > <https://login.microsoftonline.com/{param}/login>*
> >
> > Above request Post below dynamic unique identifiers data-
> > Username
> > Password
> > *hpgrequestid*
> > *flowToken*
> > *canary*
> > *ctx*
> >
> > Response Body data of above failed request:
> > *<head>*
> > *<title>Redirecting</title>*
> >
> > Title displayed as '*Redirecting*' instead should be '*<title>Sign in to
> > your account</title>*'
> >
> >
> > Regards
> > Manoj
> >
> If everything is properly correlated
> <https://www.blazemeter.com/blog/correlation-in-jmeter> you might need
> to play with "Redirect automatically" and "Follow redirects" boxes of
> the HTTP Request
> <
> https://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request>sampler.
>
> Also it might be the case the redirection happens via JavaScript
> modification of Window.location
> <https://developer.mozilla.org/en-US/docs/Web/API/Window/location>
> property and as JMeter cannot execute JavaScript you will need to add an
> extra HTTP Request sampler and populate the URL yourself.
>
> You can take a look at
>
> https://bitbucket.org/blazemeter/oauth2-correlation/src/master/atlassian-microsoft-oauth.jmx
> example script as a reference.
>
--
Regards
Manoj
Re: Unable to Sign In to SSO Login
Posted by Dmitri T <gl...@live.com>.
Manoj Kiradi wrote:
> Hello
>
> I have a Login scenario to script that involves SSO. I've correlated all
> dynamic values be it in request body, headers and URL but the script is
> failing at 'Sign In screen after a Password is Entered'.
> I've checked and can confirm that parameter URLEncoding is taken care of.
> Also, compared all requests body and params with browser Dev Tools traffic
> and Fiddler traffic, I couldn't find any parameter/value that is missing in
> JMeter script.
>
> Looks like the request is posting correct values as expected by the
> application but still can't go past Sign In. Able to go past the 'Enter
> Username' screen but just stuck at 'Enter Password' screen.
>
> Any suggestions and support on this issue is greatly appreciated. Thank you!
>
> Failed Request:
> *POST https://login.microsoftonline.com/{param}/login
> <https://login.microsoftonline.com/{param}/login>*
>
> Above request Post below dynamic unique identifiers data-
> Username
> Password
> *hpgrequestid*
> *flowToken*
> *canary*
> *ctx*
>
> Response Body data of above failed request:
> *<head>*
> *<title>Redirecting</title>*
>
> Title displayed as '*Redirecting*' instead should be '*<title>Sign in to
> your account</title>*'
>
>
> Regards
> Manoj
>
If everything is properly correlated
<https://www.blazemeter.com/blog/correlation-in-jmeter> you might need
to play with "Redirect automatically" and "Follow redirects" boxes of
the HTTP Request
<https://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request>sampler.
Also it might be the case the redirection happens via JavaScript
modification of Window.location
<https://developer.mozilla.org/en-US/docs/Web/API/Window/location>
property and as JMeter cannot execute JavaScript you will need to add an
extra HTTP Request sampler and populate the URL yourself.
You can take a look at
https://bitbucket.org/blazemeter/oauth2-correlation/src/master/atlassian-microsoft-oauth.jmx
example script as a reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: Unable to Sign In to SSO Login
Posted by Aditya Singh <at...@gmail.com>.
Can you show the screenshot of the Login (all requests) by hiding the
confidential info?
On Thu, 16 May 2024 at 2:26 PM, Manoj Kiradi <ki...@gmail.com> wrote:
> Hello
>
> I have a Login scenario to script that involves SSO. I've correlated all
> dynamic values be it in request body, headers and URL but the script is
> failing at 'Sign In screen after a Password is Entered'.
> I've checked and can confirm that parameter URLEncoding is taken care of.
> Also, compared all requests body and params with browser Dev Tools traffic
> and Fiddler traffic, I couldn't find any parameter/value that is missing in
> JMeter script.
>
> Looks like the request is posting correct values as expected by the
> application but still can't go past Sign In. Able to go past the 'Enter
> Username' screen but just stuck at 'Enter Password' screen.
>
> Any suggestions and support on this issue is greatly appreciated. Thank
> you!
>
> Failed Request:
> *POST https://login.microsoftonline.com/{param}/login
> <https://login.microsoftonline.com/{param}/login>*
>
> Above request Post below dynamic unique identifiers data-
> Username
> Password
> *hpgrequestid*
> *flowToken*
> *canary*
> *ctx*
>
> Response Body data of above failed request:
> *<head>*
> *<title>Redirecting</title>*
>
> Title displayed as '*Redirecting*' instead should be '*<title>Sign in to
> your account</title>*'
>
>
> Regards
> Manoj
>