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

Re: How do i print output message on reply log in TureClient Script?

$
0
0

Hi,

 

You can use LR.log(text,level) API to write data to the log.  Level can be one of the below values, where Status mimics lr_vuser_status_message and the rest are equal to lr_debug_message with different levels.

 

Note that it is not recommended adding such steps under load. It is good for debugging purposes. 

 

LR.log(text, level)
 
text. The message.
level. One of the following:
  • "Error",

  • "Warning",

  • "Standard",

  • "Extended",

  • "Status".

example: LR.log("text", "Error");

Viewing all articles
Browse latest Browse all 12134

Trending Articles



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