Error when threshold fails

Hi, I am spawning k6 process using execSync() in node js , and when a threshold fails, all the steps are shown as failed in the terminal as below as ‘command failed’:


Is there any way to avoid that, and just show the error message about the threshold failure ?

Hi @Fabien,

I don’t know if I understood correctly, but it is possible via setting abortOnFail to false, it is false by default: