grafana/k6-jslib-httpx

High CPI usage

Closed this issue · 1 comments

Hello team,
We've been using this library for a while but it seems when we increase the load either the VUs or the load target, it keeps stopping the load test run in the middle due to high CPU rate usage of 100%.
I've tried a few of the recommendations like adding more regions or sleep but still, the same issue keeps happening.
However, when we switched back to the default http module it works just fine.

Hello again,
I've doubled checked the assumption above and it seems not correct. The actual high CPU usage is because of the expect method in k6chaijs lib.