Sunday, November 06, 2011

Solution for HTTP 500 Error SAMLResponse Problem

solution for SAMLResponse Problem, tetris collage, by itceremony.blogspot.comCollage: A solution for SAMLResponse problem
Image credit: Tetris puzzle
2011 @ itceremony.blogspot.com

I have spent a few days debugging a problem while scripting a login with the OpenSSO using VUGen Load Runner. No matter what I did, I would get an HTTP 500 error with Java exceptions that points to a SAMLResponse problem.

Analysis of initial recorded (not correlated value) showed presence of "\r\n" characters inside of the SAML response. Meanwhile it would show as "&#xa:" in HTML script or "%0A%0D" in URL protocols.

Finally, it dawned on me that those characters were generated by the IDP and should be in the request, but only in proper encoding. Once I recorded in HTML and converted a picked correlated value to TargetSourcing="PLAIN" in web_convert_param() function, everything started to work.

Hope it helps those poor souls that like me spend hours looking for solution on the Net.

Labels: , , , , ,

1 Comments:

Blogger nick said...

How to Solve This Webpage has a Redirect Loop Problem. In Google Chrome web browser, click on

the Menu icon located to the top right. Choose History > History from the dropdown menu. A new

Google Chrome tab with web browser's personal settings will open, choose “Clear browsing data”.

A new pop will open up solve

webpage redirect loop problem

Thursday, May 03, 2018  

Post a Comment

<< Home

Valid XHTML 1.0!