performance - Gatling - show failed requests only after max retry -


in test scenario i'm polling user session possible responses. due product behavior' normal receive 503 several times before receiving response , reason why i'm retrying 5 times.

trymax(5){       exec(http("poll user")         .get("/something.html")         .queryparammap(map("nc" -> "true", "data" -> "true", "v" -> "1"))         .check(           status.is(200))       )} 

now' when @ statistics see 4 failed requests:

[--------------------------------------------------------------------------]  0%           waiting: 0      / active: 80     / done:0 ---- requests ------------------------------------------------------------------ > global                                                   (ok=1771   ko=4     ) > form login                                               (ok=80     ko=0     ) > **********************                                   (ok=80     ko=0     ) > agent base                                               (ok=80     ko=0     ) > login                                                    (ok=80     ko=0     ) > set availability online                               (ok=80     ko=0     ) > poll session                                             (ok=1291   ko=4     ) ---- errors -------------------------------------------------------------------- > status.find.is(200), found 503                         4 (100.0%) ================================================================================ 

i see ko statistics requests failed after 5 reties, because point of view, if succeeded less 5 retries wouldn't mean request failed.

can so?


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -