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.
Asked
Active
Viewed 337 times
1 Answers
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
- 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
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" to8888
- Run your test in JMeter 2.10 with 1 user and 1 iteration
- JMeter 5.1 will capture the requests under the Recording Controller.

Dmitri T
- 159,985
- 5
- 83
- 133
-
ok, I saw we had a couple soap sampler. I modified them for Http sampler and now it works. TY – Llaurick Feb 22 '19 at 15:09