Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

How to handle OAUTH Authorization

$
0
0

Hello,

Can any one please provide the solution for how to handle "OAUTH Authorization" in script?

I do this but still not worked.

web_add_auto_header("Authorization","OAuth {Auth_Token}");

web_add_header("Content-Type", "application/xml");

web_custom_request("login",
"URL=////////////",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=//////",
"Snapshot=t3.inf",
"Mode=HTML",
"Body={Auth_Token}=81e5441e2bafd7e4e3f372de507e6b1a0af4ff02ae25af997d0321afa8d6d89e&login=*******&password={PasswordParameter}",
EXTRARES,
"URL=/resources/css/dashboard.css", "Referer=/////////////////", ENDITEM,
LAST);

Thanks,

Vishal

 

 


Viewing all articles
Browse latest Browse all 12134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>