Labels

Monday, September 23, 2013

Resolution : Issue In Generating Flex Calls In VuGen 11

Here the response we received from HP for generating flex calls if your vugen is unable to capture/generate:

1. If the application JAR files are developed with JRE 1.6 or higher, you can follow below steps:
a.Starting with LoadRunner 11.* we have a option to specify the External JVM path and this is the recommended approach.
b.Go to Tools -> Recording Options-> Flex->Configuration and check the option Use ExternalJVM.
c.External JVM Path should point to the JRE 1.6 folder then.
d.Either of these workarounds should allow LR/PC Vugen to utilize the newer JRE directory and will resolve these errors.
e.The second work around will be navigate to the LR install directory and locate a directory named JRE. Rename this directory and move it to a different location on the same machine. Next, copy the jre 1.6 directory from the 1.6jdk and place it in the LR install directory. Now rename it from JRE 1.6 to just JRE (to match the name of the original JRE that was renamed above)

2.Large AMF Flex calls are not getting generated in the script. Please follow below points
a.Go to Vugen.ini file located in \config folder.
b.Add the following line on BodySize in the Web Recorder section as given below:
[WebRecorder]
BodySize=2048000
Save the file.
Close Vugen (if it is already open). Open Vugen . Then go to Tools --> Regenerate script --> add all the jar files ie. application jar files and Flexjar files needed.
Regenerate your script.
You will see all the amf flex calls in the script.
3.The latest version LR 11.5x has more enhancements for flex. So it is better to go with 11.5

No comments:

Post a Comment