- Subscribe to RSS Feed
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content
How do I make my scheduler start a Test Compositio n playing?
IntroductionThe "CloudTest Command-Line Client" (also known as "SCommand") is a command-line utility that you can download and install on your computer. It allows you to perform the following operations from the Operating System command line on Windows, Unix, and Mac OS X systems:
Use the SCommand built-in help system for a complete list of available commands. Most Scheduling applications can execute Operating System commands, scripts, or "batch files". Therefore, if a copy of SCommand is accessible to your Scheduling application you should be able to schedule any of the operations that SCommand provides. SCommand communicates with the SOASTA services through Web Service calls, thus the appropriate HTTP or HTTPS connection to those services must be available on the machine on which SCommand is to be run. No other connections are required. |
|
Installing SCommandLog in to SOASTA CloudTest, and go to the "Welcome" page. Under "Download...", click "CloudTest Command-Line Client". When prompted, save the file "scommand.zip" somewhere on your disk. Unzip the file, which will create a directory named "scommand". |
![]() |
Using SCommand
To run SCommand on Windows, use the following syntax:
To run SCommand on Mac OS X or Unix, use the following syntax:
To use the SCommand built-in help system, use the "help" parameter (e.g. "
To see the built-in help for a given command, use the "help" parameter followed by the command name (e.g. "
SCommand is invoked by specifying the command type using the "cmd" parameter. A common mistake is forgetting to put "cmd=" before the command type. E.g.:
Incorrect: Correct:
The "url", "username", and "password" parameters are always required. They should be set to the SOASTA CloudTest URL, your SOASTA CloudTest user name, and your SOASTA CloudTest password. For example:
Here is a complete example, which will delete the Test Composition named "/My Comp":
|
|
Examples
Play the composition named "/Load Tests/Comp 1":
Play the playlist named "/Load Tests/Complete Set of Tests":
Delete the composition named "/Load Tests/Comp 1":
Export the composition named "/Load Tests/Comp 1" to a file called cmp1.xml:
Import the file "myobjects.xml", skipping any objects that are already in the Repository:
List all compositions in the Repository:
|

