Skip to content

Collection variables support #127

Closed Answered by davidtimmsinshur
davidtimmsinshur asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @thim81

Thanks for getting back to me, appreciate it. I was aware of the capability to export global variables into a file and import them into the script. Collection variables are slightly different because they are not exported like that but as part of the collection. Looking into it further for some reason the collection I was trying to convert didn't include the collection variables in the postman export, presumably my error. I've re-exported the collection and postman-to-k6 converts this and the variables are used when I run the output in k6. So it was probably something I did wrong in the original export.

Cheers

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@thim81
Comment options

@davidtimmsinshur
Comment options

Answer selected by thim81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants