From 39c960b8ae98f438f98656601766dc6fcddb3349 Mon Sep 17 00:00:00 2001 From: Roger Abelenda Date: Wed, 20 Mar 2024 10:09:01 -0300 Subject: [PATCH] Fix autoStop user guide section condition --- docs/guide/autostop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/autostop.md b/docs/guide/autostop.md index dca5c2ad..e460ecec 100644 --- a/docs/guide/autostop.md +++ b/docs/guide/autostop.md @@ -26,7 +26,7 @@ public class PerformanceTest { httpSampler("http://my.service") ), autoStop() - .when(errors().total().isGreaterThan(0)) // when any sample fails, then test plan will stop and an exception will be thrown pointing to this condition. + .when(errors().total().greaterThan(0)) // when any sample fails, then test plan will stop and an exception will be thrown pointing to this condition. ).run(); }