LoadRunner Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

not able to record the java windows application

Highlighted
Occasional Advisor

not able to record the java windows application

Hi All,

 

Iam trying to record the windows Java based application using LR11.52.

 

I tried to analyse the application using protocol adviser, but getting the error "Failed to create the java virtual machine" and some times "unable to find application path" error also coming.

 

Please help if any one come accross this issue.

8 REPLIES
Esteemed Contributor

Re: not able to record the java windows application

Hi,

 

Have your installed Java JDK version 1.6 or later (please macke sure it is version 32 bit ) on Vugen machine?

 

Regards,

Chau Nguyen

Regards,

Chau Nguyen | SW Technical Support Consultant.
LoadRunner and Performance Center


If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
Occasional Advisor

Re: not able to record the java windows application

Hi,

I checked the java version its 1.7 and the 32 bit OS.

 

Can u please suggest further???

Esteemed Contributor

Re: not able to record the java windows application

Hi,

 

Did you install Java Runtime Environment - JRE or Java Development Kit JDK?

Please make sure that you install JDK, not JRE. You can check it in Program Files and Feature.

And please check in Environment Variables, does Java path exist in a variable name Path.

Could you please share a screenshot of your issue?

 

Thanks and Regards, 

 

Chau Nguyen

Regards,

Chau Nguyen | SW Technical Support Consultant.
LoadRunner and Performance Center


If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
Occasional Advisor

Re: not able to record the java windows application

Hi All,

 

As i want to do performance testing of sharefolder which we need to open with an windows application.

could you please suggest which protocol we need use in loadrunner or suitable tool to do performance testing of sharefolder performance.

 

Thanks

Occasional Collector

Re: not able to record the java windows application

Past one month i was facing a Problem in my project regarding Load runner Load testing.Hope i will get the answer from you.

We have a requirement to load test a Java Applet based Desktop Application using HP Load runner.for this initially i was trying to create a scripts with Load runner free user licence.paid version i will get from the client.

The Desktop application is Based on the Java Applet.
We have a HP Load runner 12.1 Free 50 users Licence.(We will get the paid version later)
When i try to record the script in load runner with Protocols java Record Replay and Java Over http, The script is not generating.

I have tried with Many different sample applications and used protocol adviser in Load runner and searched many forums regarding this problem.

But still i didnt get any answer. Please help to solve this problem. Please suggest me to how to do the load testing with load runner for desktop application using java Protocol.

Occasional Advisor

Re: not able to record the java windows application

Hi,

 

Can you tell us how exactly is your client communicating with the server? To record using Loadrunner, you need to have this information handy to select the appropriate protocol.

Occasional Collector

Re: not able to record the java windows application

[ Edited ]

Hi,

 

I think through API. have you done any java windows application already. we tried doing with sample java application also but the code is not generated

 

Does LR(free 50 Vuser license) supports the java applet based  windows application using java record replay, java vuser, java over http?

Occasional Collector

Re: not able to record the java windows application

[ Edited ]

Hi to all,

 

I found an solution for the LR with java record and replay , we still have the version issue with LR and JAVA

 

 

Solution: Kindly deversion your  latest java to java 6 . This works for me and i can now able to record the sample package application in the LR12.01.

 

Ref: http://h30499.www3.hp.com/t5/LoadRunner-Support-Forum/LR-11-Issues-with-Recording-A-Java-Applet/td-p/5683185#.VQ1Du_mUcQM