Back to QMetry All Products Help Page
Create TestRun Example
API URL : http://localhost:8080/rest/qmetry/latest/testrun
Method : POST
Request Header
- Content-Type : application/json
Request Body
{
"projectId": "10100",
"summary": "Test Run 95",
"reporter": "Mohit.Bajaj",
"description": "This is Test Run created from Open API",
"assignee": "Mohit",
"priority": "1",
"versions": [
"5.0.3"
],
"labels": [
"Lab",
"Label1"],
"components": [
"Component 1",
"Component 2"
]
}
Response
200 Ok
{
"success": true,
"result": {
"issueId": 10214,
"issueKey": "IC-31",
"self": "http://localhost:8080/rest/api/2/issue/10214"
}
}
Failed: 400 Bad Request
{
"error": {
"errorMessage": "Given projectId is invalid.",
"errorCode": 400
},
"success": false
}
, multiple selections available,
Back to QMetry All Products Help Page