The complete load testing platform. Everything you need for production-grade load tests. Serverless & distributed. Load test with Playwright. Load test HTTP APIs, GraphQL, WebSocket, and more. Use any Node.js module.
When I run load test with following phase config,
(I set arrivalRate to 0)
phases:
- duration: 30
arrivalRate: 0
rampTo: 30
I've got a warning message.
Unknown phase spec definition, skipping.
{"duration":30,"arrivalRate":0,"rampTo":30}
This should not happen
In the divideWork method of the lib/dist.js, all conditional statement looks return false if arrivalRate is 0.
It should confirm that phase is included each parameters (e.g. phase.hasOwnProperty("arrivalRate"))
artillery version: 1.6.0-2
When I run load test with following phase config, (I set arrivalRate to 0)
I've got a warning message.
In the
divideWork
method of thelib/dist.js
, all conditional statement looks return false if arrivalRate is 0. It should confirm that phase is included each parameters (e.g.phase.hasOwnProperty("arrivalRate")
)https://github.com/shoreditch-ops/artillery/blob/da7e4aa9397c5d3c27dc406be066069a49aa8787/lib/dist.js#L25
It looks uses original phases config (not adjusted)