Websocket script run stays 30sec after a given duration time #2061
Labels
evaluation needed
proposal needs to be validated or tested before fully implementing it in k6
question
ux
Hi, I'm a bit curious about K6 project and I'm trying to run K6 with different scenarios.
I was trying to run this websocket script and this one,
with --duration 1s
,with --duration 10s
andwith --duration 20s
Environment
Expected Behavior
I expect the application to run for 1s, 10s or 20s
Actual Behavior
The application continues running for 30 in addition of any duration option
run
with --duration 1s
stay running for(31.0s)
run
with --duration 10s
stay running for(40.0s)
run
with --duration 20s
stay running for(50.0s)
As you can see below I have the latest version on master also I tried with latest tag v0.32.0 and it have the same behavior.
I'm not sure if this issue might be related #2040
Steps to Reproduce the Problem
script.js
locallygo build . && ./k6.exe run --vus 5 --duration 1s script.js
The text was updated successfully, but these errors were encountered: