GHTesterCmd Options start-stub
GHTesterCmd --serverUrl "http://Host name or IP address:7819/RTCP/"
--domain <Domain name> --environment <Environment name>
--name <Stub name> start-stub
GHTesterCmd --serverUrl "http://Host name or IP address:7819/RTCP/"
--domain <Domain name> --environment <Environment name>
--component <Component name> --operation <Operation name> --name <Stub name> --version <Stub version number>
--username <User name> --async start-stub
The following table lists the options that you can use with the GHTesterCmd command for starting a stub.
Options | Description |
---|---|
--serverUrl/-u | URL of Rational Test Control Panel. |
--domain/-d | Domain name |
--environment/-e | Environment name |
--component/-c | Component the stub exists within (optional). |
--operation/-o | The operation the stub exists within on the server (optional). |
--name/-n | The name of the target stub to start. |
--version/-v | Version of the target stub to start (optional). Note: If
you are using IBM Rational Integration Tester 8.5.0.1
or later, and the Rational Test Control Panel command
line or Apache Ant tasks are used to start a stub, and if no stub
version information is provided, it is the latest version of a stub
that is run. If you are Rational Integration Tester 8.5.0
or earlier, and the Rational Test Control Panel command
line or Apache Ant tasks are used to start a stub, and if no stub
version information is provided, it is the earliest version of a stub
that is run.
|
--attributes/-t | Comma-separated list of agent attributes identifying the agent to run on (optional). |
--async/-a | Run asynchronously; defaults to synchronous (flag). |
--username/-l | Specify the user name to authenticate with Rational Test Control Panel if the environment is locked and the domain security is disabled. |
--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. |
--disablePerformanceOptimisations | Specify "true" value to disable performance optimization when starting the stub (optional). |
--workerThreadCount | The amount of worker threads used to service requests to the stub (optional). |
--dedicatedEngine | Use this option to run the stub using a dedicated engine that will not be used to run other stubs even if they are published from the same project. You can specify the JVM options using the dedicatedEngineJvmOptions parameter and specify the values such as the maximum memory, initial memory and the garbage collection policy for the engine. Syntax example:
Note:
|
|
Use the force option
to start the stub by attempting to ignore any warnings or errors that
might occur.
You can specify if a specific problem identifier
must either be ignored or considered when the stub is started. The
problem identifier parameters are:
Examples:
|
For details of any error codes, see Exit codes for IBM Rational Integration Tester Command-line client and Ant client.