[Original] monitors VU execution scripts from the Controller
Source: Internet
Author: User
View the parameters in the current script and the VU iterations script instance in the Controller window:
# Include "as_web.h"
Static int iteration;
Action ()
{
Char * PP;
// Customize the parameter file newparam
Pp = "value = {newparam }";
// Display the current parameter value in the vugen debugging window, which is not displayed in the Controller window
Lr_output_message ("Para is: % s", lr_eval_string ("{newparam }"));
// The current parameter value and current VU iterations are displayed in the Controller monitoring window, which is not displayed in the vugen debugging window.
Lr_vuser_status_message ("Para is: % s, % dtimes iteration", lr_eval_string ("{newparam}"), ++ iteration );
Return 0;
}
When running a scenario, click vusers In the controller running window (under the START scheme button). The information is displayed in the pop-up window.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.