Here's a tip to help test software for performance and load, using the Virtual User Generator (VUGen) and using the Web_Reg_Save_Param method as a verification point in the browser that it is working on.
Example: If you perform a load test on particular application, VUGen will set for some verification points on the browser, such as browser names or frame names. If you require some other verification points to be set, then you use Web_Reg_Save_Param ("name", "LB (Left Boundary)", "RB (Right Boundary)", ORD (Ordinance), LAST);
So, there are different ways to use this method. Below is the explanation for one such way.
web_reg_save_param("PAR1",
"LB/IC=picture.login",
"RB/IC=",
"NOTFOUND=warning",
"ord=1",
LAST);
With the addition of "NOTFOUND": Error/Warning, we can guide
the script to do what action if the value is not found in replay.
============================
web_reg_save_param("outFlightVal",
"LB=outboundFlight value=", "RB=>",
"ORD=ALL",
"SaveLen=18",
LAST);
to get all the occurrences of the correlating boundaries
============================
web_reg_save_param("Param1", "LB=Astra ", "RB= TESTSERVER",
"SaveOffset=1", "SaveLen=1", LAST);
- SaveLen is- to say the size of that number of characters after LB only
Requires Free Membership to View
When you register, you'll receive targeted emails designed to keep you informed of the most relevant information on Agile development, application security, testing & QA, software requirements, and more.
Hannah Smalltree, Editorial DirectorThis was first published in August 2007