1.0.0 • Published 5 years ago
jmeter-to-k6 v1.0.0
jmeter-to-k6 
Usage
Install:
Globally, and preferably using nvm (at least on Unix/Linux systems to avoid filesystem permission issues when using sudo):
npm install -g jmeter-to-k6Locally, into ./node_modules:
npm install jmeter-to-k6Note that this will require you to run the converter with node node_modules/jmeter-to-k6/bin/jmeter-to-k6.js ....
Alternatively, you can install the tool from DockerHub:
docker pull loadimpact/jmeter-to-k6Convert:
jmeter-to-k6 example/full.jmx -o fullThis will create a directory ./full/ with a file called test.js and a sub-directory called libs.
One-off execution using npx (avoiding the installation of the tool on your system):
npx jmeter-to-k6 example/full.jmx -o fullUsing the Docker image, you execute the tool as follows:
docker run -it -v "/path/to/jmeter-files/:/output/" loadimpact/jmeter-to-k6 /output/MyTest.jmx -o /output/MyTestOutput/and then execute the k6 test using:
k6 run /path/to/jmeter-files/MyTestOutput/test.jsRun test in k6:
k6 run full/test.jsOther similar tools
- postman-to-k6: Convert Postman to k6 JS.