04-09-2013 02:53 AM - last edited on 06-23-2013 08:13 PM by maikoro
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
P.S. This thread has been moevd Performance Center Support and News Forum to LoadRunner Support Forum - HP Forum moderator
Solved! Go to Solution.
04-09-2013 08:50 AM
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.
If you are customer you can try posting on our internal forums for more personalized support.
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
04-15-2013 04:08 AM
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.
04-21-2013 08:35 PM
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.
06-11-2013 12:02 AM
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,
03-13-2014 08:53 AM
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"
07-22-2014 05:28 AM
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.
a month ago - last edited a month ago
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.