- Subscribe to RSS Feed
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content
|
SOASTA CloudTest provides full access to properties for your tests. Properties can be set in the application or programmatically using scripts. SOASTA CloudTest includes three property sets:
|
|
|
Both Custom Properties and System Properties objects are presented as convenience objects that can be thought of as backdoors that allow access to portions of the object model more easily. |
|
|
The Global Properties object ( |
|
Query a PropertyGetting the value of an existing Custom Property, or of Global or System Property involves a simple request. For example: |
$prop.value("MessageClip", "CustomProperty1"); —Or— $globalprop.value("Property List 023", "Test counter 1");—Or— $sysprop.value("Destination", "Band 1/Track 1/Clip 021/Message 2/URL")
|
Set a Custom PropertySetting a custom property (named ClipSessionId) is a simple one line of code using the |
$prop.set("MessageClip", "ClipSessionId", "new value"); |
Set a Global Property from a Clip PropertyThe following code takes the contents of a Test Clip custom property, such as scriptSessionID (see Extract a SessionID), and places it into a global property.
|
|
|
|
|
The second line sets the global property, GlobalSessionId, in the global property list named ScriptGuide, to the value retrieved in the first line. |
$globalprop.set("ScriptGuide","GlobalSessionId",cl |

