grafana/postman-to-k6

Simple postman test is not passing

anagai opened this issue · 1 comments

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

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.