Summary
This document describes a scenario where VuGen 12.x when a script is being saved, suggests a workaround and provided a fix on top of VuGen 12.02.
Error
While saving a script, VuGen 12.00, 12.01 or 12.20 hangs.
VuGen interface can also indicate Script Parsing Failed.
Cause
Error in Script parsing engine which is result of usage of Special characters in a LoadRunner function parameters such as “(“, “ %”, “#”, “/”, “- “, “+” for example:
lr.user_data_point("WS Outbound Throughput (#/sec) " + server, probe.getWSThroughput()/60);
Fix
-
A fix on top of VuGen 12.02 was provided to overcome the issue.
To apply the fix:-
Download the attached file click here to download HP.LR.VuGen.VuGenLanguageBindings.dll.zip
-
Go to AddIns\VuGen\FrontEnd\VuGenLanguageBindings folder
-
Backup the original file HP.LR.VuGen.VuGenLanguageBindings.dll
-
Extract and apply HP.LR.VuGen.VuGenLanguageBindings.dll from the attached file.
-
Check if the script will save successfully.
-
-
To overcome the problem in VuGen 12.00 and 12.01, please apply the following workaround:
-
Use a simple string without special characters and concatenation or
-
Save the string, which contains special characters and concatenation in a parameter using lr.save_string function for example:
lr.save_string("ORA Parse Count Hard", "ORA Parse Count(#/s) " + instance);
then use the parameter in the VuGen function:
lr.user_data_point(lr.eval_string("{ORA Parse Count}"), oracle.getPerSecondValue("parse count"));
-