Skip to content

πŸ›  This utility converts your LoadRunner Rules to JMeter Correlation Recorder Rules. πŸ’™ All Contributions Welcome πŸ™

Notifications You must be signed in to change notification settings

QAInsights/LoadRunner-to-JMeter-Correlation-Rules-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

contributions welcome saythanks

Banner

LoadRunner to JMeter Correlation Rules Converter πŸ› 

TLDR ⚑

From *.cor to *.json. Period.

Overview πŸ’‘

This is a simple Python utility which will help you to convert your LoadRunner Correlation Rules to JMeter Correlation Rules.

Prerequisites 🚩

  • LoadRunner Correlation Rules (*.cor)
  • JMeter Plugin Manager w/ Blazemeter's Correlation Recorder plugin
  • Python 🐍

How to use this repository? πŸƒβ€β™‚οΈ

  • Clone this repo
  • Install the dependencies using pip install -r requirements.txt
  • cd into the repo
  • Issue the below command:
    python app.py -f <your-LoadRunner-Correlation-File>
    e.g. python app.py -f LR.cor
  • It will prompt to enter the details, if you are lazy 🐒 like me just keep hitting the enter key. After few hits, you will get a template and repository JSON as shown below.

Output

Aftermath πŸŒͺ

After generating the JSON files, you have to follow the below steps to utilize it in JMeter.

  • Place the folder where it is accessible, e.g. GitHub Repo
  • Add bzm - Correlation Recorder to your JMeter test plan
  • Click on Load Template

00-Load

  • Click on Config

10-Templates-Manager

  • Enter unique Id and URL as shown below.

20-Repo-Manage

  • If all is well, you will get the below success message.

30-Repo-Success

  • You could see your rules have been loaded in the Templates Manager

40-Rules-Loaded

  • Click on the rule which you would like to install and then click on Install

50-Install-Rule

  • You will get success message as shown below.

60-Install-Success

  • To load the rule, click on Load

70-Load-Rule

  • You could see your LoadRunner Rules in JMeter.

80-Loaded-Rules

After loading the rules, you will have to fill the Match Number, Group Number, Correlation Replacement etc.

Tested with πŸ”¨

This utility has been tested with:

  • Micro Focus LoadRunner 2020 SP 2
  • Apache JMeter 5.3
  • Blazemeter Correlation Recorder 1.1

License πŸ”’

MIT

Contributions πŸ’™

All contributions welcome. Please submit a PR.

About

πŸ›  This utility converts your LoadRunner Rules to JMeter Correlation Recorder Rules. πŸ’™ All Contributions Welcome πŸ™

Topics

Resources

Stars

Watchers

Forks

Languages