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?

  • "which requires a little to no amount of re-work(correlation, parameterization, etc)?" You mean, "Magic!" – James Pulley Jun 16 '17 at 12:41
4

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.

  • 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 Apr 10 '17 at 12:43
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

-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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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