Automated Tests
This chapter focuses on services for the automated tests.
Get automated test
A GET
to /automated-tests/{id}
returns the automated test with the given id.
Path parameters
Parameter | Description |
---|---|
|
the id of the automated test |
HTTP request
GET /api/rest/latest/automated-tests/123 HTTP/1.1
Accept: application/json
Host: localhost:8080
Request parameters
Parameter | Description |
---|---|
|
which fields of the elements should be returned (optional) |
HTTP response
HTTP/1.1 200 OK
Content-Length: 348
Content-Type: application/json;charset=UTF-8
{
"_type" : "automated-test",
"id" : 123,
"name" : "auto test/class A",
"test_automation_project" : {
"_type" : "test-automation-project",
"id" : "569",
"remote_name" : "job 1",
"local_name" : "wan wan"
},
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/automated-tests/123"
}
}
}
Response fields
Path | Type | Description |
---|---|---|
|
|
the id of the automated test |
|
|
the type of the entity |
|
|
the name of the automated test |
|
|
the TA project associated to this automated test |
|
|
related links |
Links
Relation | Description |
---|---|
|
link to this automated test |