Hi @PlayStay
Without seeing the script, if peak
has a threshold with abortOnFail enabled, the test will abort once the threshold is crossed: Thresholds | Grafana k6 documentation. This might happen in your case 2s
before the intended duration.
Some potential reasons are also mentioned here: What does it means? - #3 by nedyalko
I hope this helps.
Cheers!