NRTCE protocol

Protocol request syntax

COMMAND(<argument>)

Protocol response syntax

<result code>$$<result description>|<execution time (ms)>$$<result details, separated with |||>$${<result data, separated with |||>}

Command reference

Command Arguments Description
EXECUTE Name of test case Executes test case
LIST none Lists all test cases by name currently in container

Examples

Execute test case with name TestCaseConfiguration

Request command: EXECUTE(StatelessThreeSteps)
Returns: 0$$OK|0$$STEPA - OK[0], OK|||STEPB - OK[0], OK|||STEPC - OK[0], OK$${}

In this example, the TestCase4j Nagios Client will parse the return string and exit with status code 0 and print a single line to standard output:

STEPA - OK[0], OK<BR>STEPB - OK[0], OK<BR>STEPC - OK[0], OK

List all test cases currently in container

Request command: LIST()
Returns: 0$$OK|0$$$${testcase0=TestCaseConfiguration|||testcase1=TestCaseConfiguration2}

Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.