Status Options
Parameter | Description |
username=USERNAME |
CloudTest user name |
password=PASSWORD |
CloudTest password |
url=URL |
CloudTest URL to connect |
httpproxyhost=SERVER |
HTTP proxy server name (optional) |
httpproxyport=PORT |
HTTP proxy port (optional) |
format=FORMAT |
the display format to use ('text' or 'xml'). |
service=SERVICE |
The name of the service for which to display status (i.e. 'repository', 'maestro', 'results',
monitor
, or 'all'). If the 'service' option is omitted, then the status for all services will be displayed. |
file=FILE |
Specify the file to write the output to (optional). If the 'file' option is omitted, then the output will be written to the command line (standard out). |
For example, to get an Instance ID for a playing composition you'd like to stop:
scommand cmd=status service=maestro username=Sbob password=secret url=
http://
<CloudTest URL>/concerto format="text" >repository.txt
password=secret url=
http://
<CloudTest URL>/concerto
Will get a return value with the following sections (the file length will depend on how busy your CloudTest instance is):
Maestro status: =============== Running compositions: -------------------- Instance ID: 1-BEDA5E0F-2927-49A6-905C-2B707A12C3E6, composition: /Composition 1 created on June 24, 2013 12:25:58 PM PDT, played by: bob, status: Completed Instance ID: 1-CF6158F5-03B8-4F9B-A70D-BBB38C8F558F, composition: /Composition 2, played by: bob, status: Playing
To check the status of the Monitor Service from the command line, use the status command with the parameter
service=monitor
. For example:
scommand cmd=status service=monitor url=
http://
<CloudTest URL>/concerto username=bob password=secret