Test cases (REST API)
You can start existing test cases via the following URL. You do not have to use the parameter client if only one test case is specified.
|
https://<URL or IP of Integration Server>/dw/rc/v1/tc/start?entry=<Name of Test Case>&client=<Client ID> |
Instead of the name of the test case, you can also specify * to start all existing test cases.
All accesses are logged in the file ./logs/services/message.log (or in the "Server Logging" (→ "Administration") under internal/message.log).
In case of success, the only result you get back is whether the test case was started.
{ "response": { "status": "ok", "reason": "" }}If a deviation was found, you will get a result of the following type. The Base64-encoded diff file is the value of parameter zip.
{ "response": { "status": "Failed", "reason": "diff", "information": { "zip": "UEsDBBQACAgIANtELFQAAAAAAAAAAAAAAAAbAAAAVGVzdF9TUUxfMjExMDA1XzA4MThfMS5kaWZmsylJLS6JT8tMzUmxcywtVogCsopLikqzS0qL0oCCNvpIChR0de0UbAjoiK+oqEDRxcsFAFBLBwgwKPQPNAAAAGUAAABQSwMEFAAICAgA20QsVAAAAAAAAAAAAAAAACcAAABVbmlmaWVkRGlmZl9UZXN0X1NRTF8yMTEwMDVfMDgxOF8xLmRpZmbT1dVVCEpNzi9KSU2JDw70iTcyNDQwMI03sDC00KvIzeHl0tbWVghJLS7BLuvgoKBrqmOooA0iHBx4uXQVFGxKQMrTMlNzUuwcS4sVooCs4pKi0uyS0qI0oKCNPpICoAWEdcRXVFSg6QIAUEsHCN3LbjRqAAAAuQAAAFBLAQIUABQACAgIANtELFQwKPQPNAAAAGUAAAAbAAAAAAAAAAAAAAAAAAAAAABUZXN0X1NRTF8yMTEwMDVfMDgxOF8xLmRpZmZQSwECFAAUAAgICADbRCxU3ctuNGoAAAC5AAAAJwAAAAAAAAAAAAAAAAB9AAAAVW5pZmllZERpZmZfVGVzdF9TUUxfMjExMDA1XzA4MThfMS5kaWZmUEsFBgAAAAACAAIAngAAADwBAAAAAA==" } }}