Loadrunner11 Vugen Common function Lr_user_data_point (i.)
Previous/Next 2011-11-15 00:15:33/essence (1)/pinned (1)/Personal Category: Performance testing tools
View (222)/comment (0)/rating (0/0)
every question: What valuables are most likely to be missing?
1, lr_user_data_point definition
a) Automatic recording of a custom data marker;
b) the lr_user_data_point function allows you to automatically record your own data for analysis, and use this function to automatically record the name and value of the tag whenever you want to record a point. The function automatically records the data mark automatically based on the time, and after execution, you can use this user-defined decimal chart to analyze the result.
2, lr_user_data_point format
a) return values: The return value of this function is 0, starting to write the tag data; The return value of the failure is -1;
b) Parameterization: All character types can be parameterized and used as standard parameterization;
c) The format in the C language is:int lr_user_data_point (const char *sample_name,double value);
d) The format in the Java language is:int lr.user_data_point (String sample_name,double value).
3, lr_user_data_point Note
Tag name contains the following prefix is reserved word, a data point contains any of the following prefixes, such as "http_bt", is not allowed to appear on the chart, however, the prefixes are case-sensitive, so "HTTP_BT" is a valid tag name
HTTP
Non_http
RETRY
Mic_
Stream_
MMs
Loadrunner11 Vugen Common function Lr_user_data_point (i.)