Re: Oracle RPM with LR 11.52 (316 Views)
Reply
Occasional Contributor
daker_doober
Posts: 4
Registered: ‎09-05-2013
Message 1 of 5 (344 Views)

Oracle RPM with LR 11.52

 

Has anyone tested Oracle RPM (retail price management) 13.2 with LR?

Which protocol was used for scripting?

 

 

In our organization RPM is launched via a URL as a jnlp file.

Uses Java 1.6 RTE and java web start. 

 

Is Java over HTTP advised? I did try recording with this p[protocol. However always got an error message mentioning Java Virtual Machine cannot be created. Works fine manually though.

Please use plain text.
Valued Contributor
LoadTest712
Posts: 176
Registered: ‎08-25-2010
Message 2 of 5 (325 Views)

Re: Oracle RPM with LR 11.52

To resolve this issue, download a copy of the JNLP launch file (e.g. "App.jnlp") to the Vugen recording platforms placing it in:

C:\Documents and Settings\User\Desktop\

Edit this file to:

  1. Reduce the value of "max-heap-size" to "128m",
  2. Removing network references to the App.jnlp file.

For example making the following modifications to the JNLP launch file (e.g. "App.jnlp") will allow the Java application to be recorded:

Original:
j2se href="
http://java.sun.com/products/autodl/j2se" initial-heap-size="128m" max-heap-size="512m"
Modified:
j2se href="
http://java.sun.com/products/autodl/j2se" initial-heap-size="128m" max-heap-size="128m"

Original:
<jnlp codebase="
http://server:40001/App1/" href="App.jnlp" spec="1.0">
Modified;
<jnlp codebase="
http://server:40001/App1/" spec="1.0">

Original:
http://server:40001/App1/App.jnlp
Modified:
C:\Documents and Settings\User\Desktop\App.jnlp

Please use plain text.
Occasional Contributor
daker_doober
Posts: 4
Registered: ‎09-05-2013
Message 3 of 5 (316 Views)

Re: Oracle RPM with LR 11.52

Thanks, that helped me get going with the recording.

However is Java record reply the suggested protocol for Oracle RPM? 

Please use plain text.
HP Expert
Suerte13cr
Posts: 736
Registered: ‎09-14-2011
Message 4 of 5 (313 Views)

Re: Oracle RPM with LR 11.52

Java Record and Reply would not capture a Web part of your application. Java over HTTP or Web. For web though it does require to set it up like it mentions here:

 

http://support.openview.hp.com/selfsolve/document/KM169714

 

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.
Please use plain text.
Frequent Advisor
ArJ3N
Posts: 62
Registered: ‎05-09-2013
Message 5 of 5 (302 Views)

Re: Oracle RPM with LR 11.52

Have worked with RPM on LR9.52.

 

I dont think it would be way different. Couple of things to note.

 

1. I record using the main class method and not batch file. This detail is in your JNLP file.

2. Download all the JARs required into a local folder and reference the individual JARs in your JVM Class path. Through UI, this is in JAVA FUNCTIONS > Add location / Add file. Manually, you can edit the default.cfg in your script folder for this.

3. Get access to the code : - To understand the function calls, do custom edits, tweak hooks etc, you will need it. If you get an rpm developer, better still.

4. Not the easiest application to work with. The final scripts in my case were completely custom coded. Note I was only maintaining the set, and often wonder how the original scripts were completely custom coded. It almost is like writing up a RPM client side.

5. Read up on user hooks, you will need to change the default hooks, create your own, record and re-record to get the accurate set of calls in code without unneccessary junk.

 

All the best, I can say its the most complicated set of scripts i ever came accross.

 

Regards,

AJ

 

If the total vuser count is low, look at alternatives such as RDP / QTP. QTP too has some issues working with all of the controls.

Please use plain text.
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