1

Is there a way to convert Jmeter 2.10 tests to Jmeter 5, so I don't have to rewrite them all ? Just trying to open them does not work, and cut paste from old to new does not work neither. TY.

Llaurick
  • 53
  • 6

1 Answers1

2

Normally you should be able to open the script created using JMeter 2.10 with the latest JMeter (JMeter 5.1 as of now).

If you cannot open the file - most probably there is a JMeter Plugin missing which has to be reinstalled or there is another Test Element affected by incompatible changes which doesn't exist anymore like SOAP Sampler and has to be replaced.

You can figure out what element is causing the problem by looking into JMeter log file


As the last resort you can record your test execution from JMeter 2.10 with JMeter 5.1

  1. Prepare JMeter 5.1 for recording. The easiest way is going for JMeter Templates feature, once you generate a Recording Template - start HTTP(S) Test Script Recorder
  2. Prepare JMeter 2.10 for recording. Add HTTP Request Defaults configuration element (if it's not there) and set "Proxy Server Name" to localhost and "Port Number" to 8888

    enter image description here

  3. Run your test in JMeter 2.10 with 1 user and 1 iteration
  4. JMeter 5.1 will capture the requests under the Recording Controller.
Dmitri T
  • 159,985
  • 5
  • 83
  • 133