List/Grid

Tag Archives: loadrunner

Building XML Request, Loadrunner

Building XML Request, Loadrunner

GetDataXML() { char* xmlRequest = lr_eval_string(“<?xml version=\”1.0\” encoding=\”UTF-8\” standalone=\”yes\”?>” “<Request>” “<Get filterTemplate=\”min\”>” “<EANS>” “<EAN>9780385533829</EAN>” “<EAN>2940000052327</EAN>” “</EANS>” “</Get>” “</Request>”); //Save the pricing request xml as a parameter lr_save_string(xmlRequest,”SearchRequest”); web_add_auto_header(“Content-Type”,”application/xml”); lr_start_transaction(“SearchRequest”); web_custom_request(“SearchRequest”,… Read more »

Loadrunner: C programming atoi function Usage

Loadrunner: C programming atoi function Usage

Well if you are a programmer for loadrunner you will difinitely seeing and using atoi function. What is the function of ATOI? Well Atoi function Converts a string to an… Read more »

Loadrunner Scripting: Log data to log file

Loadrunner Scripting: Log data to log file

Here is another function to log data to log file. If you are creating a script and you just wanted to basically capture some data but log it to a… Read more »

Loadrunner scripting:How to do a Check using strcmp?

Loadrunner scripting:How to do a Check using strcmp?

Here are some example of how to do some check in your scripts using strcmp……. Compares string1 and string2 to determine the alphabetic order. int strcmp ( const char *string1,… Read more »

loadrunner

loadrunner

loadrunner tips and tricks

Loadrunner Scripting: How to use strlen

Loadrunner Scripting: How to use strlen

The following example loops through a string, str, in search of the first non-numeric character. strlen is used to ascertain the length, len, of str. If the while loop has iterated len times, indicating the end of the string, then the loop terminates with a return statement.

Loadrunner: How to Update datapoint

Loadrunner: How to Update datapoint

loadrunner, learn how to update datapoint

Your name
Your phone number
Your email
Message