REST API for Test Set
The following shows a request to create a test set record.
URL: https://ServerName:Port/siebel/<Version>/data/Automation Test Set/Automation Test Set
HTTP Method: POST
Content type: application/json
Authorization: Basic
Request body:
{
"Name": "Test_Set",
"Status": "Active",
"Description": "New Set",
"Test Plan Name": "UIFControls_Scenarios"
}
Response to a successful request:
{
"Id": "88-1WCIBT"
}
The following shows a request to insert a test script record into a test set.
URL: https://ServerName:Port/siebel/<Version>/data/Automation Test Set/Automation Test Set/88-1WCIBT/Automation Test Script Child
HTTP Method: PUT
Content type: application/json
Authorization: Basic
Request body:
{
"Id": "123",
"Sequence": "1",
"Name": "Test_Script1"
}
Response to a successful request:
{
"Id": "88-1WCIBT"
}