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
8.03k stars 510 forks source link

ensure at url level #836

Open burtoni opened 4 years ago

burtoni commented 4 years ago

Is it possible to define a per-URL ensure target?

For example, if I have a quick GET url and a slow POST url, it would be good to define separate response time targets for these. That way I could have an aggressive response time target for one and a more lenient target for the other.

Currently the docs would indicate it’s one target response time for all urls in the flow.

burtoni commented 4 years ago

Possibly related to #690

burtoni commented 4 years ago

Spectrum discussion: https://spectrum.chat/artillery-io/general/ensure-per-scenario~f7922809-3fa8-4e7e-8da2-d71cd387d7dc

As mentioned, possible solution is to use metrics-by-endpoint plugin