简体   繁体   中英

Increase the time for console report in Gatling

I am running the gatling simulations and the gatling console report is printed every 5 seconds.

---- user-workflow ---------------------------------------------------------
[##########################################################################]100%
          waiting: 0      / active: 0      / done:10    
---- Requests ------------------------------------------------------------------
> Global                                                   (OK=1495   KO=0     )
> login-request                                            (OK=104    KO=0     )
> edit-request                                             (OK=255    KO=0     )
> update-request                                           (OK=257    KO=0     )
> delete-request                                           (OK=257    KO=0     )
> list-request                                             (OK=311    KO=0     )
> logout-request                                           (OK=311    KO=0     )
================================================================================

Is there a way to increase this time or better to print at the end of simulation?

I was looking at the gatling.conf default configurations on the github repo , but couldn't find anything relevant.

Its possible. See https://github.com/gatling/gatling/blob/master/gatling-core/src/main/resources/gatling-defaults.conf#L109

In gatling.conf , set data.console.writePeriod to 0 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM