Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Is --skip-post working ? #70

Closed
nathan-boulestin opened this issue Oct 16, 2020 · 2 comments
Closed

Is --skip-post working ? #70

nathan-boulestin opened this issue Oct 16, 2020 · 2 comments

Comments

@nathan-boulestin
Copy link

Hi,

I have a lot of "unsupported features" in my postman "Tests".
I thought "--skip-post" has meant to remove those tests scripts from the final k6 script,
but it appears they are still in my k6 script after the conversion (resulting in errors during k6 execution)

Is the tag --skip-post meant to remove the tests or am I misunderstanding the tag ?
If yes, why are the tests script still in the k6-script.js ?

Thanks

@nathan-boulestin
Copy link
Author

Hi,
I have investigated a bit about the --skip-pre/post feature an found 2 issues:

  • The version delivered this npm or yarn (npm install -D postman-to-k6 / yarn add postman-to-k6) is 1.1.0 not 1.3.0. And the version in package.json for 1.3.0 release is 1.0.0

  • The --separate tag dont work in 1.3.0 due to --skip-pre/post feature, see the picture
    bug p2k6

Is there any planned update of the converter ?

Thanks

@simskij
Copy link
Contributor

simskij commented Apr 23, 2021

A fix for this was released today to both dockerhub and npm. Please download v1.4.0 and let us know if it still doesn't work.

@simskij simskij closed this as completed Apr 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants