The END TEST-CASE command terminates a section of the Script that starts with a START TEST-CASE command, to create an individual test case.
If the END TEST-CASE command is reached during execution of the Script, the test case is considered to have succeeded, and the message specified in the test definition is sent to the report log.
Test cases cannot be nested. However, there is no restriction on calling another Script that contains test cases, from within a test case section.
END TEST-CASE
START TEST-CASE "Checking distribution rate" IF (dist_rate < minimum) THEN FAIL TEST-CASE ENDIF END TEST-CASE