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

Expect plugin prints the method and url and even using --quiet does not supress it. #718

Open kshrestha99 opened 5 years ago

kshrestha99 commented 5 years ago

When using the expect, and running a test with this " artillery run --quiet my-script.yml" I get a result like this:

Need a way to quiet this as well. Please

spinningarrow commented 5 years ago

A temporary workaround for this is to add a processor file (explained in the Loading Custom JS code section) and to add the following code to it:

const FORMATTERS = require('artillery-plugin-expect/lib/formatters');

// hack to prevent noisy output; remove when the plugin fixes this
FORMATTERS.pretty = () => {};