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
Post a Comment