postman-to-k6
postman-to-k6 copied to clipboard
Converts Postman collections to k6 script code
Hello! I put common tests (like 200 code check) in collection's property in postman, methods don't have individual tests. Common tests are not applying when running k6.
Hi! I faced the following problem: In Postman (Version 9.28.1) I have POST request with Content-Type="application/x-www-form-urlencoded" After export collection I have ``` "request": { "method": "POST", "header": [ { "key":...
As per https://github.com/apideck-libraries/postman-to-k6#unsupported-features, some features are not supported (although this `pm.response.to.have.status(200);` worked for us!) which creates some blockers in converting our already written postman scripts to k6 scripts. Is there...
ERRO[0007] TypeError: Cannot read property 'RequestTransactionPOSRegistration' of undefined var jsonObject = xml2Json(pm.response.text()); pm.environment.set( "pdc", jsonObject.RequestTransactionPOSRegistration.POSs.POS.Identifier ); Does not recognize as object.
I run postman-to-k6 tr.json -o k6.js -e tr_env.json than get this result ) The "path" argument must be of type string. Received an instance of Array I don't now, why?))...
**Feature**: Provide a converter option to insert custom K6 "setup()" logic, that will be injected during conversion. **Reasoning**: K6 supports a life cycle: https://k6.io/docs/using-k6/test-life-cycle/ The package already supports the “pre-request”...
**Feature**: Provide a converter option to insert custom K6 "teardown()" logic, that will be injected during conversion. **Reasoning**: K6 supports a life cycle: https://k6.io/docs/using-k6/test-life-cycle/ The postman-to-k6 package already supports the...
Snyk has created this PR to upgrade eslint-config-prettier from 6.11.0 to 6.15.0.  :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more...
Create a test to prevent regression based on the input from https://github.com/apideck-libraries/postman-to-k6/pull/23#issuecomment-981602772
I use many atob function in my postman collection; indeed, it not work in k6 script. However I found that I can easily fix it by using the k6/encoding module....