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

Request - Http Methods in Report #993

Open cfryerdev opened 3 years ago

cfryerdev commented 3 years ago

I would love to see HTTP Methods included in both Aggregate & Intermediate sections of the output report. Same structure as the "codes" node would be great.

Example:

"methods": {
  GET: 120,
  POST: 80,
  PUT: 10
}
hassy commented 3 years ago

This sounds like a good candidate for a plugin... thoughts? :)

A combination of a beforeRequest function + custom counters would work well.

https://artillery.io/docs/guides/guides/extending.html#Tracking-custom-metrics

cfryerdev commented 3 years ago

Sounds good, looking into this.