ALM Custom Test Type Developer Guide (12.50 and later)
stop Method
Instructs the testing tool to terminate the test that is currently running.
Syntax
int stop()
 

Return Value

0 if the call succeeds, otherwise an error code.