Checks for batch request

Hi,

I tried this logic Check status 200 for batch requests but it’s not working for me. Every time, checks are failing.
In my K6 script, I have 10 GET requests in a batch, and when I tried with the above logic, still no luck.
Can you please help me with this?

Thanks!

@chandanp041, please post a complete short example (for example, against http://test.k6.io/ or https://test-api.k6.io/ or https://httpbin.test.k6.io/) that doesn’t work. We can’t help you without more information… Also, might be worth mentioning the k6 version you’re using, which you can find out by running k6 version.