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
What is running virtual user graph?
Can anyone please mention what are the common errors that we can see while replaying the Vugen script and also while running the controller scneraio and How to handle them with a few examples. This will be greatly helpful.
What is Standard deviation? How it will use in Lr?
What do you mean by remote command launcher(rcl)?
While the script is running we find some values that may need to be correlated? Is it possible to do manual correlation for those values?
What is the purpose of an extended log?
What is the think time? What is the threshold level for think time and how can be this changed?
How you set maximum number of vuser that a host can run?
You have created several auto-correlation rules. A new tester on your team is preparing to record a group of scripts on the same application on his workstation. What can you do to provide the tester with the correlation rules?
What are different types of vuser logs which can be used while scripting and execution? What is the difference between these logs? When you disable logging?
What is the difference between hits/second and requests/second?
What is the significance of “vuser-init “?
What is performance testing in loadrunner?
What are the advantages of load runner?
What is manual correlation?