artilleryio / artillery

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.
https://www.artillery.io
Mozilla Public License 2.0
7.91k stars 505 forks source link

Difference between `arrivalCount` and `arrivalRate` #906

Open alanyong91 opened 3 years ago

alanyong91 commented 3 years ago

What is the difference between arrivalCount and arrivalRate? I find that both quite confusing. Should I apply both or only one can apply?

ChrisKatsaras commented 3 years ago

This seems like it should have been asked under the "Discussions" tab @alanyong91. Yes you should use both as they deal with different aspects of the test. This page gives lots of examples on how they are used together: https://artillery.io/docs/guides/guides/test-script-reference.html#Overview Hope it helps!

alanyong91 commented 3 years ago

@ChrisKatsaras the documentation doesn't explain well on arrivalCount and arrivalRate. For example, what if we only apply one of it, or when we should apply both, or definition for both variable. That's why I confuse