Output stats to console?

Gatling generates nice html reports, but is there a way to see the basic stats (request count, min/max/avg time etc) directly at the console?

What for?

I run load tests on a remote machine. If the basic stats look fine, I
don't need to bother transferring the detailed report to a place that
I can access from a browser.

Tools like `ab` and `httperf` are great in such a setup, but not quite
powerful enough. Tools like JMeter and The Grinder are powerful, but
tedious to use in this setup. Gatling is almost perfect :slight_smile:

You’d better use the Assertion API and rely on the script return code: https://github.com/excilys/gatling/wiki/Assertions

WDYT?

The Assertion API looks useful for automated test runs, but I still do
manual one-off runs, e.g. to see how much performance differs between
different EC2 instance types, different versions of an application
etc.

Having the numbers show up on the console makes it easier for me to
compare. Best of course would be a report that tells me whether there
is a statistically significant difference between one or more test
runs...

Could you please open an issue?

Until then, you can maybe read the global_stats.json file and grab what you want there.

Could you please open an issue?

https://github.com/excilys/gatling/issues/966

Until then, you can maybe read the global_stats.json file and grab what you
want there.

Couldn't find that file, but there is a stats.tsv file in the result
dir with all the numbers (but is missing some line breaks?).

It’s in the js directory.