loadimpact/postman-to-k6
Convert Postman collections to k6 JavaScript for load and performance testing.
10K+
Converts a Postman collection JSON file into the equivalent k6 JavaScript file for load and performance testing.
The following Postman features are supported in the conversion:
postman.*
interface (exceptions below).pm.*
interface (exceptions below).If you have a Postman collection located /path/to/postman/collection/MyCollection.postman_collection.json
, you use the Docker container as follows:
docker run -it -v "/path/to/postman/collection/:/output/" loadimpact/postman-to-k6 /output/MyCollection.postman_collection.json -o /output/test.js
After the conversion, you can run the resulting k6 test script as follows:
k6 run /path/to/postman/collection/test.js
docker pull loadimpact/postman-to-k6