artillery: Artillery runs forever and never exit (v2)
When the command artillery quick -d 60 -r 256 https://www.company.com/
is executed, artillery will run fine for the first few request and later keep on looping with the following progress report and never exit.
Report for the previous 10s @ 2017-01-11T09:08:56.069Z
Scenarios launched: 0
Scenarios completed: 0
Requests completed: 0
RPS sent: NaN
Request latency:
min: NaN
max: NaN
median: NaN
p95: NaN
p99: NaN
Scenario duration:
min: NaN
max: NaN
median: NaN
p95: NaN
p99: NaN
Following is the environment it runs in:
root@nodejs-512mb-lon1-01:~/artillery# node -v
v6.9.2
root@nodejs-512mb-lon1-01:~/artillery# artillery -V
1.5.0-22
Following is the log file generated by running DEBUG=* artillery quick -d 60 -r 256 https://www.bloomon.nl/ 2>&1 | tee debug.log
:
https://gist.github.com/endyjasmi/a597adc6a0fc5e1c874d7abbe9a93262
Thanks in advance for the helps.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 5
- Comments: 42 (13 by maintainers)
Hi, I am running artillery too for load testing.
I am getting the same issue. Did anyone able to resolve this issue? If yes, please share. I am attaching the screens from my trial run. Here’s the config I used.
This is so annoying issue 😭
I have artillery for stress tests and I want to find a limits of server - and artillery found it, but I am not able to get some reasonable output from artillery due this issue.
My setup - I run this 2x parallel in docker containers to avoid problems with CPU overload.
The problem begins when the server begins to have data processing problems and starts to have timeouts and eventually crashes. After that, artillery starts show
Any solution for that? It is so annoying due I send results from artillery to elasticsearch and now, it doesn’t send anything.
Unsure if relevant but thought it worth posting.
Recently I came across this issue as well and it seemed to be issues with target and the scenarios url.
example:
resulted in: the NaN issue as described by @igorclark
but changing the target to
myurlexample.com
and scenarios url to/preview/1/
removed the NaN’s from the results.@hassy don’t know about every time, but certainly 9 times out of 10.
Would love to provide a full test case including back-end, but it’s not a public project. Here’s the majority of the test plan though - don’t know if it’ll be much use but hope so 😃
Drop the latest link that will resolve the issue to help people to find it easier as this is the first link on search!
https://github.com/artilleryio/artillery/issues/1799
@hassy I am using errors to stop my scenario, its using http, version 1.6.1.
I seem to be seeing the same issue, but have a bit more info that might be useful. First, see this screenshot, showing the issue with the hung test:
The log output on the service has stopped, all the received requests have completed successfully. The test runner itself is in the hung state and sending no more requests (the test should have ended at 1 minute).
The interesting part is that, when I kill the test runner, it seems like one last small batch of requests is fired off just before artillery exits:
Notice the last two requests in the server log, that are received immediately upon killing artillery. You can also see that these requests are then immediately aborted (the
finished=false
implying that the connection was closed on these requests before a response was sent, likely because artillery exited).My guess would be that artillery is hung because it’s waiting for these requests, but the requests were never actually sent. And then killing the process causes them to somehow get flushed out and finally sent.
Hey @hassy 👋
I’m experiencing the same symptoms.
Artillery: 1.6.0-28 Node.js: v12.2.0 OS: darwin/x64
My config looks something like:
The issue is intermittent (occurring ~2/3rds of the time). Below are two runs, one run immediately after the other with no config changes.
Run no. 1 (error)
Run no. 2 (success)
If I get to the bottom of it I’ll post here. If you have any ideas about what I might be doing wrong, or if I can provide any more information please let me know!
Thanks