...
- Run Automated Server Tests.properties is located in the
<SOAVIRT_HOME>/soavirt/WEB-INF/configs/builtinfolder, where<SOAVIRT_HOME>is the directory in which you installed the server. In this configuration, the option to report traffic for all tests is enabled. It is intended to be used for executing tests from Continuous Testing Platform. - Demo Configuration.properties is located in the
<SOAVIRT_HOME>/soavirt/WEB-INF/configs/builtinfolder, where<SOAVIRT_HOME>is the directory in which you installed the server. In this configuration, the option to report traffic for all tests is disabled and API Coverage is enabled. It is intended to be used for executing tests from Continuous Testing Platform. - Example Configuration.properties is located in the
<WORKSPACE>/TestAssets/configs/userfolder, where<WORKSPACE>is based on theworking.dirproperty. In this configuration, the option to report traffic for all tests is disabled.
...
You can run built-in test configurations by specifying builtin:// and and the test configuration name when making your call. In the following example using minimal options (you may need to define more for your test configuration), the tests will execute according to the default default Run Automated Server Tests configuration:
| Code Block | ||
|---|---|---|
| ||
{
"general": {
"config": "builtin://Run Automated Server Tests",,
},
"scopeOptions": {
"workspace": {
"resources": ["/TestAssets"]
}
}
} |
See Test Configuration Properties for information about properties you can customize in the test configurationSee Test Configuration Properties for information about properties you can customize in the test configuration. See SOAtest Test Configuration Settings for additional information about test configurations.If the folder does not contain a test configuration with the specified name, the test will not run.
...
You can run user-defined test configurations by specifying user:// and the test configuration name when making your call. In the following example , using minimal options (you may need to define more for your test configuration), the tests will execute according to the default Example Configuration configuration:
| Code Block | ||
|---|---|---|
| ||
{
"general": {
"config": "user://Example Configuration",
},
"scopeOptions": {
"workspace": {
"resources": ["/TestAssets"]
}
}
} |
You can add other test configurations to the <WORKSPACE>/TestAssets/configs/user folder and execute them using the user://<TEST_CONFIG_NAME> syntax. You can add test configurations by creating duplicates of the default configuration and modifying them to exercise the tests in different ways. See Test Configuration Properties for information about properties you can customize in the test configuration.
...