[Original] Sitting from the Controller to perform scripts

xiaoxiao2021-03-06  50

View the script instances of the parameters of the current script from the Controller window:

#include "as_web.h"

Static int ution;

Action ()

{

Char * pp;

/ / Please customize the parameter file NewParam

PP = "Value = {newParam}";

/ / Display the current parameter value in the Vugen debug window, not displayed in the Controller window

LR_output_message ("PARA IS:% S", LR_EVAL_STRING ("{newparam}"));

/ / Display the current parameter value and the current VU iteration in the Controller monitor window, will not be displayed in the Vugen debug window

LR_VUSER_STATUS_MESSAGE ("Para IS:% S,% DTIMES ITERATION", LR_EVAL_STRING ("{newparam}"), orthol

Return 0;

}

When running the scenario, click the Vusers button in the Controller Run window (below the Start Scenary button), and you can see information in the pop-up window.

转载请注明原文地址:https://www.9cbs.com/read-82591.html

New Post(0)