Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

SSO Issue in Jmeter

75 views
Skip to first unread message

jone joshua

unread,
Jul 21, 2022, 12:05:46 PM7/21/22
to BlazeMeter Forum
We are working login functionality which has sso. So we are trying to Correlate the SAML response in which it is failing to login to the application displaying an error as unauthorized.
 We correlate the below values
1. Client Id request
2. WCTX
3. Request verification token
4. SAML Request and SAML Response
5.Assertion ID
.Please help to resolve this 

Screenshot (1519).png

Dmitri T

unread,
Jul 22, 2022, 4:47:25 AM7/22/22
to BlazeMeter Forum
We cannot "help to resolve this" without seeing:

  1. Network footprint of a successful login i.e. from the browser in form of .HAR file 
  2. Your .jmx test script (or at least .jtl results file with all request and response details)
The key to success is that you need to send exactly the same requests as browser does (any dynamic values need to be correlated), once you do - you the login will be successful.

Be aware of BlazeMeter Proxy Recorder, it can export recorded requests in "SmartJMX" mode with automatic detection and correlation of dynamic parameters

jone joshua

unread,
Jul 22, 2022, 8:07:20 AM7/22/22
to BlazeMeter Forum
I couldnt able to upload the jmx file . I am not getting option to upload the file.

jone joshua

unread,
Jul 22, 2022, 8:15:35 AM7/22/22
to BlazeMeter Forum
Attached JMX file for your reference. 
Could you please check and assist on the SSO error  

EDGE_BETA_Loadtest21_07_22_EDIT.jmx

Dmitri T

unread,
Jul 22, 2022, 8:30:57 AM7/22/22
to BlazeMeter Forum
I don't think anyone here is willing to do your job for you, this is not a code-writing service.

From the first glance your script is missing essential correlation, for example __RequestVerificationToken field is a must.

I cannot help further because in order to assist I need to see the requests and responses for the successful login and your system is not publicly available.

jone joshua

unread,
Jul 22, 2022, 8:36:39 AM7/22/22
to BlazeMeter Forum
We have been correlated request verification token too. But still the sso is getting failed.

Dmitri T

unread,
Jul 23, 2022, 5:52:04 AM7/23/22
to BlazeMeter Forum
Unfortunately I'm not telepathic enough to guess why " the sso is getting failed " without seeing the full .jtl file with requests and responses data and a .har file with the network footprint of the successful login flow.

If the files contain sensitive data and you're a BlazeMeter customer you can reach out to BlazeMeter Support
Reply all
Reply to author
Forward
0 new messages