End Round
Purpose: end this round: the rest of the current case and all later cases do not run. If there is another round, it starts again from the first case.

With Discard this round (no record, not counted) ticked, the round is neither recorded nor counted toward the number of rounds.
JSON
{ "end": true }
{ "end": { "discard": true } }| Form | Meaning |
|---|---|
{"end": true} | End this round. The round is recorded as usual |
{"end": {"discard": true}} | End this round and discard it: it is not written to the report and does not count toward Loop |
Result
End Round itself is PASS. Cases that did not run this round show – (not visited) and do not affect the Release verdict.
Example 1: end the round
About the example: it runs for 2 rounds.
In every round, the first case logs a line and then ends the round, so the second case does not run in either round.

Example 2: discard a warm-up round
About the example: Loop is set to 1 round.
On the first run, 0x0B00 is 0: the script writes 1 to mark the warm-up as done, then ends the round with discard. That round does not count, so another round runs. In the second round 0x0B00 is already 1, so the warm-up is skipped and the test completes.


The screen shows the recorded round (Loop 1/1). The discarded round only leaves Round discarded (End discard) - not recorded in the Log.
Notes
- If every round is discarded, a run with a fixed number of rounds never ends, because discarded rounds are not counted. Control it with a condition as in example 2, or be ready to click Stop.
- Clicking Stop also discards the round in progress.
Download the sample scripts
Sample scripts
Before running them, start a Slave window on 127.0.0.1:502 and click Listen, then open a script with Open JSON in Script mode and click Run. See How to use the examples.
