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

Need Help on WebApplication Script with the REST and TOKEN

$
0
0

Hi  Guys,

 

We are converting from the Desktop application to  WebApplication using REST.

 

We are using the TOKEN .

 

What is the purpose of a Token?

Answer
A token is returned after a successful login command. It is required in the header of subsequent REST commands.

 

I have dyinamically corelated the TOKEN, and aslo I have created web_Auto_Header function and passing the TOKEN too.

According to the devloper each calll/URL  Header will have the  same TOKEN  for the user login,so I have put the Web_Auto-Header function before each call.

 

When I replayed the script it's thrwoing the Warning for the TOKEN,but when I looked at the Replay screenshots,of each call, it's going though each URL page sucessfully.

 

Please see the attached  script,Replay Log,Tomcat Log.

 

Please advise me! What else I am missing.

 

 

Thanks,

Raj


Viewing all articles
Browse latest Browse all 12134

Trending Articles