REST API: Test Execution
POST | com.easesolutions.jira.plugins.testmanagement/1.0/executed/prjKey/planId/resultId/step/stepId | Execute a single test step. |
POST | com.easesolutions.jira.plugins.testmanagement/1.0/executed/prjKey/planId/resultId/test/testId | Execute a test. |
GET | com.easesolutions.jira.plugins.testmanagement/1.0/execution/prjKey/planId | Get all executions for an existing test plan. |
POST | com.easesolutions.jira.plugins.testmanagement/1.0/execution/prjKey/planId | Create a new execution. |
GET | com.easesolutions.jira.plugins.testmanagement/1.0/result/prjKey/planId/resultId | Get the report for previous test run. |
Example Response
null
Execute a single test step.
PARAMETERS
prjKey*
resultId*
stepId*
planId*
passed
failed
failedContinue
failedContinueStep
message
The project key.
The id of an execution associated with the testplan.
The id of the teststep to execute.
The id of the testplan that contains the test which teststep should be executed.
Fill with anything to set passed to true.
Fill with anything to set failed to true. Values for passed and failedContinue are ignored.
Fill with anything to set failedContinue to true. Values for passed are ignored.
Fill with anything to set failedContinueStep to true. Values for passed are ignored.
A message to describe the teststep result. (Mandatory if failed or failedContinue is filled)
Example Response
null
Execute a test.
PARAMETERS
prjKey*
resultId*
planId*
testId*
passed
failed
failedContinue
message
The project key.
The id of an execution associated with the testplan.
The id of the testplan that contains the test which should be executed.
The id of the test to execute.
Fill with anything to set passed to true.
Fill with anything to set failed to true. Values for passed and failedContinue are ignored.
Fill with anything to set failedContinue to true. Values for passed are ignored.
A message to describe the testresult. (Mandatory if failed or failedContinue is filled)
Example Response
[ { "id": 12, "name": "Example Execution 1", "description": "An example execution", "deleted": false, "assignee": "admin", "passed": false, "failed": false, "running": false, "notrun": true, "created": 1234567890123 }, { "id": 13, "name": "Example Execution 2", "description": "Another example execution", "deleted": false, "assignee": "admin", "passed": true, "failed": false, "running": false, "notrun": false, "created": 9876543210987 } ]
Get all executions for an existing test plan.
PARAMETERS
prjKey*
planId*
The project key.
The id of the test plan to get all executions for.