<taskdef name="stopStub" classname="com.ghc.ghTester.ant.StopStub" classpathref="tasklib" />
<stopStub domain="<Domain name>"
environment="<Environment name>" component="
<Component name>" operation="<Operation
name>" name="<Stub name>" version="<Stub
version number>" serverUrl="http://<Host name
or IP address>:7819/RTCP/"/>
The following table lists the attributes that you can use with the stopStub Ant task for stopping a stub.
Attribute | Description | Required |
---|---|---|
serverUrl | URL of Rational Test Control Panel. | Yes |
domain | Domain name | Yes |
environment | Environment name | Yes |
component | Component the stub exists within. | No |
operation | The operation the stub exists within on the server. | No |
name | The name of the target stub to stop. | Yes |
version | Version of the target stub to stop. | No |
async | Run asynchronously (flag). | No, default is synchronous. |
username | Specify the user name to authenticate with Rational Test Control Panel if the environment is locked and the domain security is disabled. | No |
securityToken | Specify the security token generated for the user to authenticate with Rational Test Control Panel when the domain security is enabled. In the locked environment mode, the operation can be performed by the user who locked the environment. For more information, see Domain level security and Managing environments. |
No, default is to send no token. |
haltOnFailure | Set to true to fail the Ant script if the stub fails to stop (flag). | No, default is false. |
failureProperty | The name of a property that is set in the event of a failure. | No |
For details of any error codes, see Exit codes for IBM Rational Integration Tester Command-line client and Ant client.