Skip to content

Commit 39c960b

Browse files
Fix autoStop user guide section condition
1 parent 2b8429e commit 39c960b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/autostop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class PerformanceTest {
2626
httpSampler("http://my.service")
2727
),
2828
autoStop()
29-
.when(errors().total().isGreaterThan(0)) // when any sample fails, then test plan will stop and an exception will be thrown pointing to this condition.
29+
.when(errors().total().greaterThan(0)) // when any sample fails, then test plan will stop and an exception will be thrown pointing to this condition.
3030
).run();
3131
}
3232

0 commit comments

Comments
 (0)