Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gatling report description customization

Tags:

gatling

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?

like image 400
aholub7x Avatar asked Jan 06 '23 07:01

aholub7x


1 Answers

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

like image 85
rkarczmarczyk Avatar answered Feb 22 '23 19:02

rkarczmarczyk