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.05k stars 512 forks source link

Include date in the Metrics for period console output #3410

Open ash211 opened 4 days ago

ash211 commented 4 days ago

Currently artillery has a console output for completed runs that looks like this:

--------------------------------
Summary report @ 16:49:52(-0800)
--------------------------------

This is helpful for copy+pasting results to a notebook tracking results, but even more helpful would be to have the date included there and not just timestamp. For testing over multiple days, seeing the date in console output would help users keep track of when a run completed, not just its time.

I think the change would be around here:

https://github.com/artilleryio/artillery/blob/6af4f1fa057251cde026c5576e1b65145e79024e/packages/artillery/lib/console-reporter.js#L157