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.
Cloud workers will do the /whoami call in the container without taking into account the endpoint, so if the endpoint is not prod, the api key will not be correct, causing the error.
If you set ARTILLERY_CLOUD_API_KEY in the environment, but don't set --record, the key will still get passed to the worker, which causes the cloud logic to run unnecessarily (and error if not prod).
Description
This fixes two issues:
/whoami
call in the container without taking into account the endpoint, so if the endpoint is not prod, the api key will not be correct, causing the error.ARTILLERY_CLOUD_API_KEY
in the environment, but don't set--record
, the key will still get passed to the worker, which causes the cloud logic to run unnecessarily (and error if not prod).Pre-merge checklist