Re: Java applet not recording in LoadRunner (2561 Views)
Reply
Occasional Contributor
moramramesh
Posts: 8
Registered: ‎04-05-2013
Message 1 of 9 (2,659 Views)
Accepted Solution

Java applet not recording in LoadRunner

[ Edited ]

Hi All,

 

I'm trying to record a web based application which launches a java applet and after performing certain actions and closing the applet control returns back to the same page(web browser) from where it was invoked. The application uses web protocol and even is able to launch the applet and work further on it successfully, however after launching the applet LR is not recording any action that has performed on the applet. In turn when the control is back to the browser, VuGen is recording the remaining steps(i.e.. Logout).

 

I am using LR version: 11 and IE 7.0 on Windows XP. The protocol I have used is Web(Http/html) in both Html and URL modes as suggested by developer.

 

Thanks in advance

 

Regards,
Ramesh

 

 

 

P.S. This thread has been moevd Performance Center Support and News Forum to LoadRunner Support Forum - HP Forum moderator

HP Expert
Suerte13cr
Posts: 736
Registered: ‎09-14-2011
Message 2 of 9 (2,636 Views)

Re: Java applet not recording in LoadRunner

It may mean the applet does not use web protocol and you would need to use java record and replay for the applet. Or java over http.

 

Regards,

Mario M.

HP LR/PC Support

If you are customer you can try posting on our internal forums for more personalized support.

LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum

Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer

How to:
http://www.youtube.com/watch?v=4ChlysWupWM

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Occasional Contributor
moramramesh
Posts: 8
Registered: ‎04-05-2013
Message 3 of 9 (2,623 Views)

Re: Java applet not recording in LoadRunner

Hi Mario,

 

I have tried with Java Over Http protocol and it is also generating the script similar to Web protocol only(i.e... Generating script for actions performed on browser but not for actions on Applet). Java Record Replay protocol is not at all working.

 

Developer mentioned  that the applet uses normal web protocol only for  communication with the  server.

 

FYI, Sometime back(2 years), somebody created the script on the same application and he is not available now. That script is working fine when replaying and I'm able to see the normal Web protocol options only in its Recording Options.

 

Thanks,

Ramesh

HP Expert
KMadan
Posts: 1,090
Registered: ‎05-27-2009
Message 4 of 9 (2,604 Views)

Re: Java applet not recording in LoadRunner

There may be two reasons - the applet is not using http protocol for communication or the Java Serialized objects are not wrapped around http and something else.


Madan
Occasional Contributor
moramramesh
Posts: 8
Registered: ‎04-05-2013
Message 5 of 9 (2,561 Views)

Re: Java applet not recording in LoadRunner

Hi All,

 

My issue was resolved by HP person. He found in the recording log of vugen that my application was  requesting connection to some remote servers. So he added the ip addresses and port numbers of these remote servers under the Recording Options -> Port Mappings -> New Entry. He placed the remote server ip address in the Target Server list box and port number in the Port Number field and selected Direct from the Record Type List box.

 


Now Vugen was able to successfully recording the actions performed on the Java Applet. Thanks HP :)

 

Thanks & Regards,

Ramesh

Occasional Visitor
Vamosalgrano
Posts: 1
Registered: ‎03-13-2014
Message 6 of 9 (1,496 Views)

Re: Java applet not recording in LoadRunner

The following fix worked for me:

 

  • On Recording Options in VUgen goto  Network-Port Mapping and select WinInet on Capture Level.
  • (Optional). To prevent memory segmentation fault, as an option, go to HTTP Properties - Advance and uncheck box "Reset Context For each Action"
Occasional Advisor
Satzz
Posts: 12
Registered: ‎09-24-2012
Message 7 of 9 (932 Views)

Re: Java applet not recording in LoadRunner

Hi All,

 

I tried the all the above options. But still i could not proceed with.

Empty script was generated after applet loading.

Please let me know for any suggestions.

HP Expert
KertLuo
Posts: 84
Registered: ‎08-11-2011
Message 8 of 9 (917 Views)

Re: Java applet not recording in LoadRunner

Hi Stazz,

 

The original issue has been solved. I think you'd better create a new topic and explian your issue with details.

 

Thanks,

Kert

Occasional Visitor
Tanaji
Posts: 2
Registered: ‎05-09-2014
Message 9 of 9 (228 Views)

Re: Java applet not recording in LoadRunner

[ Edited ]

Hi Ramesh,

 

Currently I am facing the same issue and as you have mentioned, I am also seeing multiple IP Address are getting used. I am trying to set those IP and Port number in the recording options but still not able to process. Can you please tell me actually how to know which IP and port needs to be given in the recording option.

 

Need your help on high priority.

 

Thanks,

Tanaji

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.