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

ERRO[0007] TypeError: Cannot read property 'Symbol(Symbol.iterator)_9.226t8ilyh' of undefined #72

Closed
deepayadav06 opened this issue Oct 29, 2020 · 3 comments

Comments

@deepayadav06
Copy link

I was trying to run my postman to k6 converted script and getting an error while running it. Has anyone faced this issue before?

@simskij
Copy link
Contributor

simskij commented Oct 29, 2020

Hi @deepayadav06,

Thanks for getting in touch! I'd be happy to assist.

Would you mind uploading a screenshot of the actual error and, preferably, a postman collection that reproduces the error you are seeing?

Best,
Simme

@deepayadav06
Copy link
Author

deepayadav06 commented Oct 29, 2020 via email

@simskij
Copy link
Contributor

simskij commented Nov 5, 2020

Posting reply on slack here as well for completeness:

  • postman.setNextRequest is not supported by postman-to-k6. It's also not needed, as all k6 scripts are run sequentially and synchronous.
  • The default Content-Type for k6 is application/x-www-form-urlencoded. The API you are testing does not seem to support this, so you need to set a Content-Type header for the request, as the API otherwise responds with an error

@simskij simskij closed this as completed Nov 5, 2020
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