08-21-2013 06:06 AM
First, I will say that this is the first time I am trying to record a Flex app.
I have read various information that has been posted about the setup. I added pointers to the JAR files and did the other setup and ran into various issues.
I made fixes to those issues and recorded again and am now down to the following error. Any help would be appreciated.
java.lang.UnsupportedClassVersionError: Bad version number in .class file
Call stack can be found in Code Generation log.
Recommended Operation Details:
Check your java code and call stack.
08-21-2013 11:22 AM
Check on this KB
If you are using Java 1.7, depending on the Vugen version this is not supported, so you may want to also downgrade to Java 1.6
hope this helps.
08-21-2013 12:38 PM
From the KB
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.6 jdk 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).
I tried this and get the following error after stopping the recording. Externalizable read object failed: Error Initializing JVM
Starting with LoadRunner 11.* we have a option to specify the External JVM path and this is the recommended approach .
Go to Tools -> Recording Options-> Flex->Configuration and check the option Use External JVM.
External JVM Path should point to the JRE 1.6 folder then.
I do not have a Configuration option in recording options->flex.
08-21-2013 04:56 PM
ok then you must stay on Java 1.7 and in order to support this you must use LoadRunner 11.52 (or higher) or Java 1.7 will not be supported, after being on this verison you will be able to point on the recording options to a external JVM, so there you point to your 1.7 and hopefully that will do the job.