...
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 configuration. See See 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.
...