2

We have few existing scripts in LoadRunner. Is there a way to convert those scripts to JMeter scripts(JMX files), which requires a little to no amount of re-work(correlation, parameterization, etc)?

If it is not that straight-forward, could you please suggest the optimal way for shifting to Jmeter from LoadRunner?

1
  • "which requires a little to no amount of re-work(correlation, parameterization, etc)?" You mean, "Magic!" Commented Jun 16, 2017 at 12:41

4 Answers 4

4

This tool was released lately.

If you upload a ZIP of your LoadRunner script, it will convert it to JMeter or Selenium. It might not be 100%, but it will tell you what it couldn't convert and save you a lot of troubles.

shiftleft.blazemeter.com

enter image description here

3

The fastest and the easiest way is just recording them.

  1. Start JMeter's HTTP(S) Test Script Recorder
  2. Configure VuGen to use JMeter as a proxy

    LoadRunner JMeter Proxy

  3. Run your test with 1 virtual user and 1 iteration. While your test is running JMeter will create the relevant HTTP Request samplers
  4. When execution is finished you will have JMeter script "skeleton"

See How to Convert LoadRunner Tests to JMeter article for detailed explanation of above steps.

1
  • Thanks for the answer. I think the above process is the most practical and reliable way. But I found an open source project which says it converts LR scripts to JMeter. Found it here: findbestopensource.com/product/lr2jm But there is no documentation or manual for using it. Also the URL given for SVN Checkout isn't working. Does anybody have any idea on this project?
    – Surya T
    Commented Apr 10, 2017 at 12:43
1

Here is my project to convert loadrunner http/html scripts to jmeter.

https://github.com/ShravanAkula/LR_Jmeter_Converter.

we are working to reduce the manual effort involved in converting the scripts.

1

I think the easiest way is recording them with Loadium Record & Play

enter image description here

Also after recording you can change any collection you want. It provides donwloading the scripts or running with Loadium. We used it. Also for the complex scripts we took support from Loadium Tech Team. They wrote our scripts less than one week.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.