[Gatling 2] Generate reports after simulation was interrupted


is there any way i can generate html report after simulation was interrupted?
I’ve come to an issue when simulation is “hanged”

Like here is the console log:

So as I thought… On rerun I got the same situation but now 58 threads “doing” something
but simulation is not ending. It’s just throws new table to console and adds another 5 seconds to time elapsed…

Hi Uladzimir,

You can generate reports “by hand”, using the reportsOnly option.
When running, Gatling will create in your “results folder”, which is named “results” in the bundle, a folder named using the following convention : nameofyoursimulation-dateOfRunStart, which contains the simulation’s log.
If you run Gatling with the -ro option, followed by the folder’s name, e.g. : gatling.sh -ro mysimulation-20140804195812, Gatling will generate the reports for your simulation in this folder.



However, the behaviour you’re getting is rather strange.
What version of Gatling do you use ?
If you’re using Gatling 2, can you add “leak” to the list of “writers” in gatling.conf and post the results here ?

I used 2.0.0-M3a and yesterday switched to RC1. I have not experienced that behaviour yet.

Glad to hear that this has been apparently fixed since 2.0.0-M3a :slight_smile:

Thought I had

java.net.SocketException: Too many open files

java.net.SocketException: Too many open files in system
Errors which is also strange… :slight_smile:

Already found a doc about tuning max opened files :slight_smile:

This is great information! Thank you.

I am having the same issue, could you tell how did you solve it?

See -ro: http://gatling.io/docs/2.1.6/general/configuration.html#command-line-options