gatling

Gatling report description customization


The only global custom text on Gatling report is Simulation class name. It appears in the upper right corner of the report.

How can I put some custom message (short) without changing the name of the Simulation class?


Solution

  • As far as I know there are 3 ways of put some custom message to Gatling report

    1. Run description param inside gatling.conf file, it is displayed at top part of report (next to report time and duration)

      gatling {
        core {
          runDescription = "Test description of report"
        }
      }  
      

    enter image description here

    1. Scenario name - param of scenario in your test code, displayed on one of reports (Active Users along the Simulation)

      scenario("Scenario name")
        .exec(http("Action name").get("http://localhost"))
      

    enter image description here

    1. Action name - param of http in your test code, displayed on Statistic table

      scenario("Scenario name")
        .exec(http("Action name").get("http://localhost"))
      

    enter image description here