JMeter Variable Value capturing from Session Storage

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

JMeter Variable Value capturing from Session Storage

Srinivas Shenoy
Hi,



The response data is not getting a token. However one particular token is
stored in Session storage in browser. It is visible in under Application in
developer tool. However it does not come in any request or response.



This will come in Browser URL. This is coming has hash fragment when Open
AM server redirects to application after successful authentication.



How to get the Session Storage variable values in JMeter?



Thank You



Regards

Shenoy
Reply | Threaded
Open this post in threaded view
|

Re: JMeter Variable Value capturing from Session Storage

glinius@live.com
OpenAM <https://en.wikipedia.org/wiki/OpenAM>   authentication flow is a
little bit more complex thing than a "normal" correlation, your request
sequence should look like:

 1. Request protected page
 2. Extract details of the authentication redirect
 3. Perform authentication against OpenAM
 4. Extract required parameters (i.e.  RelayState
<https://stackoverflow.com/questions/34350160/what-is-exactly-relaystate-parameter-used-in-sso-ex-saml>  
and  SAMLResponse <https://developers.onelogin.com/saml/examples/response>
)

References:

-  Security Assertion Markup Language (SAML) V2.0 Technical Overview
<http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html>  
 -  How to Load Test SAML SSO Secured Websites with JMeter
<https://www.blazemeter.com/blog/how-load-test-saml-sso-secured-websites>  
 -  Setting up a load-test with JMeter for performing SP initiated SSO's
with SAML 2.0
<http://www.martijnburgers.net/post/2013/11/12/Setting-up-a-load-test-with-JMeter-for-performing-SP-initiated-SSOs-with-SAML-20.aspx>  



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]