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

Simple postman test is not passing #107

Closed
anagai opened this issue Jun 7, 2021 · 1 comment
Closed

Simple postman test is not passing #107

anagai opened this issue Jun 7, 2021 · 1 comment

Comments

@anagai
Copy link

anagai commented Jun 7, 2021

I have this very simple postman request that has a single pm.test(). This passes fine when running from postman. After converting to k6 script, it does not pass. I can't figure it out. What is wrong with it?

Capture

@anagai
Copy link
Author

anagai commented Jun 8, 2021

Think found the problem. K6 is converting all custom header parameters as lower case. This breaks on the server side where it expects headerVal but is being passed in as headerval.

@anagai anagai closed this as completed Jun 8, 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

1 participant