Highlighted
New Member.
2405 views

How to capture Authentication token which is in Request header ?

Script is failing while replay with 401:UnAuthorised error at SSO login. and it is failing due to Authorization!

I couldn't able to capture the authorization code to pass it in header as it is generating in request header.

any solution to capture this ? please help me ..

 

Regards,

Prashanth

 

0 Likes
4 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to capture Authentication token which is in Request header ?

Did you try correlating the value and use the captured value in the appropriate step?

Regards,

Shlomi

0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: How to capture Authentication token which is in Request header ?

 hi.

 

from the attached screenshot it looks like your authentication methos is kerberos based.

 

did you set a user name and password using the web_set_user api?

did you enabled the "Enable integrated authentication" in RTS?

Micro Focus Performance Core.
Functional Architect
your performance, our passion!
0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: How to capture Authentication token which is in Request header ?

Please add

Web_add_auto_header (authentication , value )
0 Likes
Highlighted
Frequent Contributor.
Frequent Contributor.

Re: How to capture Authentication token which is in Request header ?

Hi,

In my web application i am getting the API value dynamically, its modifying for each login. how to get the dynamic api values? to proceed the re run in Load runner.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.