0

For Java over HTTP, under Replay > Run-Time Settings > Java VM, we can specify the JDK used to compile the script:

enter image description here

However, how can we specify the JRE used run the compiled script?

(It seems to default to the specified JDK's JRE but I need to run the script using another JRE.)

Note: I'm using HP Vugen 12.01

Koby Douek
  • 16,156
  • 19
  • 74
  • 103
Pacerier
  • 86,231
  • 106
  • 366
  • 634
  • @JamesPulley, I'm trying to run it using another JRE (v7), not the JDK's JRE (v6). Is there a way to specify a JRE that is not the JDK's JRE? – Pacerier Dec 09 '14 at 15:18
  • What you record is what you playback. You are not engaged in functional testing, nor are you engaged in integration testing on the client. You are testing the impact of the messages generated by the client on the server. As the code is the same from one JRE to another, so should then be the messages generated and sent to the server, as well as the processing of the responses. – James Pulley Dec 09 '14 at 20:52
  • @JamesPulley, Hmm, the load generators do not have JRE v6 installed. They have v7 and v8 installed, so I need to test if the script would work on these machines. – Pacerier Dec 09 '14 at 21:16
  • Make your test development and test execution environments Java identical or you make your life difficult, as in this case. – James Pulley Dec 10 '14 at 14:09
  • @JamesPulley, Btw I see that you are active on sqa forums. Why are you not active on the official HP.com loadrunner forums? – Pacerier Jun 18 '15 at 15:38
  • I am active on SQAForums, Yahoo Groups, Google Groups, Facebook, LinkedIn, PerfBytes, Stackoverflow, Quora & my own company's internal support site to clients. I think HP has enough direct site support from internal staff. – James Pulley Jun 18 '15 at 18:43
  • @JamesPulley, Why did you choose Stackoverflow instead of the dedicated [sqa.SE](http://sqa.stackexchange.com/questions/tagged/loadrunner) site? – Pacerier Jun 26 '15 at 23:15
  • Because this is where people ask questions instead of going to the dedicated SQA sites – James Pulley Jun 28 '15 at 22:24

0 Answers0