Date: Fri, 29 Mar 2024 05:10:09 +0000 (UTC) Message-ID: <113653182.10781.1711689009742@catch-kbase-p> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10780_866738311.1711689009740" ------=_Part_10780_866738311.1711689009740 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Automated test resource
This resource supports the following methods: DELETE, GET, PUT
Deletes the automated test by its unique identifier
These are the expected status codes returned by the service. In addition= , some other status codes may be returned if either an internal error occur= s or there is an authentication issue (such as an expired OAuth token).
Status | Description |
---|---|
200 - OK | Returned if the automated test was deleted succe= ssfully. |
403 - Forbidden | Returned if the automated test can not be delete= d (normally if the necessary permissions to complete the request have not b= een met, or the automated test has associated assignments). |
404 - NotFound | Returned if the automated test package was not f= ound. |
Delete automated test by its unique identifier.
Request Headers
Key | Value | Description |
---|---|---|
Accept | application/json |
Request Parameters
Key | Value | Description |
---|---|---|
{id} | 7FABE725-28A0-4C48-A6AF-AAF4041223D2 | The Unique identifier of automated test to delet= e. |
Response Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json; charset=3Dutf-8 |
Status Code
200 - OK
Retrieves an automated test by its unique identifier.
For more details on expansions, please see the Expand help topic.
These are the expected status codes returned by the service. In addition= , some other status codes may be returned if either an internal error occur= s or there is an authentication issue (such as an expired OAuth token).
Status | Description |
---|---|
200 - OK | Returned if the request is completed successfull= y. |
403 - Forbidden | Returned if the required permissions to view the= automated test have not been met. |
404 - NotFound | Returned if the automated test does not exist.= td> |
Retrieve automated test by its unique identifier.
Request Headers
Key | Value | Description |
---|---|---|
Accept | application/json |
Request Parameters
Key | Value | Description |
---|---|---|
{id} | DFF56A5F-40FA-41D5-8BC8-33C3D0014368 | Unique identifier of the automated test to retur= n. |
Response Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json; charset=3Dutf-8 |
Response Body
{ "Id": "dff56a5f-40fa-41d5-8bc8-33c3d0014368", "Type": "UnitTest", "Name": "JUnit Results", "CreatedAt": "2012-01-02T15:05:06Z", "LastUpdatedAt": "2012-02-02T15:05:06Z", "CreatedById": "f10c226f-1778-4038-b0d4-2eae86bd5a9e", "CreatedBy": "joeb", "LastUpdatedById": "f10c226f-1778-4038-b0d4-2eae86bd5a9e", "LastUpdatedBy": "joeb", "AssignedToId": "f10c226f-1778-4038-b0d4-2eae86bd5a9e", "AssignedTo": "joeb", "PackageId": "68f38eb7-9882-41b8-9749-712c43dc3f51", "ProjectId": "4f0d1bc3-3247-4ad0-b753-aaa538d8c523", "ProjectName": "Test Project", "PackageName": "Script Library", "OrderNumber": 1, "Expands": [ "Assignments", "Configuration" ], "Self": "http://localhost/api/automatedtest/dff56a5f-40fa-41d5-8bc8-33c3d= 0014368", "Links": [ { "Href": "http://localhost/api/automatedtest/dff56a5f-40fa-41d5-8bc8-3= 3c3d0014368/relationships", "Rel": "Relationships" }, { "Href": "http://localhost/api/automatedtest/dff56a5f-40fa-41d5-8bc8-3= 3c3d0014368/allrelationships", "Rel": "AllRelationships" }, { "Href": "http://localhost/api/automatedtest/dff56a5f-40fa-41d5-8bc8-3= 3c3d0014368/assignments", "Rel": "Assignments" } ] }
Status Code
200 - OK
Creates a new automated test.
For more details on expansions, please see the Expand help topic.
These are the expected status codes returned by the service. In addition= , some other status codes may be returned if either an internal error occur= s or there is an authentication issue (such as an expired OAuth token).
Status | Description |
---|---|
201 - Created | Returned if the request is completed successfull= y. |
403 - Forbidden | Returned if ET could not complete the request (n= ormally due to a validation failure or the necessary permissions to complet= e the request have not been met). |
404 - NotFound | Returned if the automated test does not exist.= td> |
Update automated test.
Request Headers
Key | Value | Description |
---|---|---|
Accept | application/json |
Request Parameters
Key | Value | Description |
---|---|---|
{id} | DFF56A5F-40FA-41D5-8BC8-33C3D0014368 | Unique identifier of the automated test to retur= n. |
Request Body
{ "Id": "dff56a5f-40fa-41d5-8bc8-33c3d0014368", "Type": "UnitTest", "Name": "Cycle 2 JUnit Results", "AssignedToId": "f10c226f-1778-4038-b0d4-2eae86bd5a9e", "PackageId": "68f38eb7-9882-41b8-9749-712c43dc3f51", "OrderNumber": 1, "Configuration": { "Type": "JUnit" } }
Response Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json; charset=3Dutf-8 |
Response Body
{ "Id": "dff56a5f-40fa-41d5-8bc8-33c3d0014368", "Type": "UnitTest", "Name": "Cycle 2 JUnit Results", "CreatedAt": "2012-01-02T15:05:06Z", "LastUpdatedAt": "2012-02-02T15:05:06Z", "CreatedById": "f10c226f-1778-4038-b0d4-2eae86bd5a9e", "CreatedBy": "joeb", "LastUpdatedById": "f10c226f-1778-4038-b0d4-2eae86bd5a9e", "LastUpdatedBy": "joeb", "AssignedToId": "f10c226f-1778-4038-b0d4-2eae86bd5a9e", "AssignedTo": "joeb", "PackageId": "68f38eb7-9882-41b8-9749-712c43dc3f51", "ProjectId": "4f0d1bc3-3247-4ad0-b753-aaa538d8c523", "ProjectName": "Test Project", "PackageName": "Script Library", "OrderNumber": 1, "Expands": [ "Assignments", "Configuration" ], "Self": "http://localhost/api/automatedtest/dff56a5f-40fa-41d5-8bc8-33c3d= 0014368", "Links": [ { "Href": "http://localhost/api/automatedtest/dff56a5f-40fa-41d5-8bc8-3= 3c3d0014368/relationships", "Rel": "Relationships" }, { "Href": "http://localhost/api/automatedtest/dff56a5f-40fa-41d5-8bc8-3= 3c3d0014368/allrelationships", "Rel": "AllRelationships" }, { "Href": "http://localhost/api/automatedtest/dff56a5f-40fa-41d5-8bc8-3= 3c3d0014368/assignments", "Rel": "Assignments" } ] }
Status Code
200 - OK