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

fix: prevent incorrect "multiple metric batches" warning in tests with pause phases #3331

Closed hassy closed 2 months ago

hassy commented 2 months ago

Description

Running a test with a pause phase will often print an incorrect warning:

Warning: multiple batches of metrics for period

This PR fixes that behavior.

Pre-merge checklist

This is for use by the Artillery team. Please leave this in if you're contributing to Artillery.