can u name some of the important functions in LoadRubber
Scripting?

Answer Posted / srinivas

web_reg_save_param()<Correlation with its various arguments>

lr_start_transaction()<labelling transactions>

web_custom_submit()<in case of testing any xml requests,
that you amy want to create and test>

atoi()<alpha to integer conversion for making a 0~9 type of
strings effective for use just after correlation because
correlation captures every thing as a string.

sprintf()< to create a charqacter array out of a string,
useful when attaching or augmenting a character array with
some random data returned from server. Generally found
significant immediately after correlations>

lr_whoami()<to generate a unique identifing number for any
vuser in a scenario in Controller>

There would be many more. These are generally used
irrespective of protocol you are using

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference in running the vuser as a process and as a thread? Which is more advantageous way of running vuser?

585


What do you mean by remote command launcher(rcl)?

674


How does caching affect performance testing results?

569


What is ramp up and ramp down?

609


What is scenario default?

637






What are monitors?

596


What are the three sections of a vuser script and what is the purpose of each one?

556


What do you mean by initialization of quota?

613


How to create a scenario?

610


You want to have each step in your script measured as a transaction in the controller and not shown in the replay log in vugen. How can you accomplish this?

561


What is the benefit of running a vuser script as a thread?

554


While scripting you created correlation rules for automatic correlation. If you want to share the correlation rules with your team member working on the same application so that he/she can use the same on his workstation, how will you do that?

662


How you edit the script?

615


how to get current system time Loadrunner function?

655


How to identify what to correlate and what to parameterize?

582