Answered question

Unable to capture SAML response

Hi Team,

I am trying script SSO application and tried to capture SAML responses in the script but no luck. its throwing No Match found.
I tried to use below
1) LB=<INPUT TYPE="hidden" NAME="SAMLResponse" VALUE="
RB = "/>
2) <INPUT TYPE="hidden" NAME="SAMLResponse"
VALUE="(.*?)"/>

Could you please help me out here

nandini K.
nandini K.

nandini K.

Level
0
4 / 100
points
Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

The SAML value contains return carriages so it's a multi lines value.

In your variable extractor panel if you switch to advanced mode and use this regexp it should do the trick:

NAME="SAMLResponse" VALUE="([\s\S]*?)"/>

But be careful you may have to modify that value if it is not used as is in your subsequent requests.

Did you find this useful ?

No (0)

Yes (1)

100%

100% of users found this answer useful