Skip to content

Commit

Permalink
Fix autoStop user guide section condition
Browse files Browse the repository at this point in the history
  • Loading branch information
rabelenda-abstracta committed Mar 20, 2024
1 parent 2b8429e commit 39c960b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/autostop.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 39c960b

Please sign in to comment.