Qarsenal Wikia
No edit summary
Tag: rte-wysiwyg
No edit summary
Tag: rte-wysiwyg
Line 1: Line 1:
 
Create automation test run
 
Create automation test run
  +
 
'''Path: {jira_base_url}/rest/tm/1.0/automation/testrun'''POST
 
'''Path: {jira_base_url}/rest/tm/1.0/automation/testrun'''POST
   
Line 8: Line 9:
 
Request example:
 
Request example:
   
 {
+
{
   
     "projectKey":"TST",
+
 "projectKey":"TST",
   
     "testRunSummary":"Automation test run number 1"
+
 "testRunSummary":"Automation test run number 1"
   
 }
+
}
 
{| border="0" cellpadding="1" cellspacing="1" class="article-table" style="width: 500px;"
 
{| border="0" cellpadding="1" cellspacing="1" class="article-table" style="width: 500px;"
 
|-
 
|-
Line 36: Line 37:
 
Response example :
 
Response example :
   
 {
+
{
   
     "testRunId":6
+
 "testRunId":6
   
 }
+
}
   
 
Error response codes 403,412
 
Error response codes 403,412
Line 46: Line 47:
 
Response example :
 
Response example :
   
 {
+
{
   
     "errorMessage":"Test run with this summary already exists."
+
 "errorMessage":"Test run with this summary already exists."
   
 }
+
}

Revision as of 11:56, 11 May 2017

Create automation test run

Path: {jira_base_url}/rest/tm/1.0/automation/testrunPOST

Creates automation Test run

Acceptable request representations : application/json

Request example:

{

 "projectKey":"TST",

 "testRunSummary":"Automation test run number 1"

}

Parameter name Mandatory Description
projectKey Y Destination project key
testRunSummary Y

Test run summary. Summary is unique within one test run

Response representations : application/json

Succesfull response code 201

Response example :

{

 "testRunId":6

}

Error response codes 403,412

Response example :

{

 "errorMessage":"Test run with this summary already exists."

}