rtobj.stopTestSession
stopTestSession is a method of the simwb.rtobj object. The stopTestSession method will stop the test session that is running on the real-time host. The test will be stopped when the post-processing section of the test is completed. If there is no post-processing, based on the network conditions, it may take a couple of seconds before the test is actually stopped.
     getTestStatus   getCurrentSession