Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create test run

POST /testrun

Description

Create test run.


Parameters

TypeNameDescriptionRequiredSchemaDefault

BodyParameter

body

Test run object which needs to create.

true

907739267JiraCreateIssueDetails




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if the given test run is invalid.

No Content

403

Returned if user does not have permission to create test run.

No Content

404

Returned if the given test run details is invalid.

No Content

500

Returned if there is some problem in creating test run.

No Content



Consumes

  • application/json


Produces

  • application/json


Tags

  • Test Run

...

Expand test case in execution details

POST /testrun/testexecution/{testRunIssueId}/{testResultId}

Description

expand test case in execution details


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

testRunIssueId

Issue id of test run

true

integer (int64)


PathParameter

testResultId

Testresult id (testResultIds of Test cases can be retrieved via API -  POST /testrun/testexecution/{testRunIssueId})

false

integer (int64)


BodyParameter

body

TestRuprogressnExecutionRequest Object

true

907739267TestRunExecutionRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if the given test run issue id is invalid.

No Content

403

Returned if the currently athenticated user does not have permission view test run execution details.

No Content

500

Returned if exception occured while fetching test run execution details.

No Content



Consumes

  • application/json


Produces

  • application/json


Tags

  • Test Run

...

Copy issues linked with given test run to another test run

PUT /testrun/{copyFromTestRunIssueId}/copytestresult

Description

Copy issues linked with given test run to another test run. Note - You can copy to only blank test run


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

copyFromTestRunIssueId

Issue id of copy from test run.

true

integer (int64)


BodyParameter

body

Details for cloning Test run.

true

907739267ClonedTestRun




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if the given test run issue id is invalid.

No Content

403

Returned if the currently authenticated user does not have permission to access given test scenario.

No Content

404

Returned if the given test run issue id is not provided.

No Content

500

Returned if there is some problem in copying test results.

No Content



Produces

  • application/json


Tags

  • Test Run

...

Update Test run summary and comment

PUT /testrun/{testRunIssueId}

Description

Update Test run summary and comment.


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

testRunIssueId

Issue id of test run

true

integer (int64)


BodyParameter

body

IssueFieldRequest Object

true

907739267IssueFieldRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if the given test run issue id is invalid.

No Content

403

Returned if the currently athenticated user does not have permission view test run details.

No Content

404

Returned if the required data is not present.

No Content

500

Returned if exception occured while saving data.

No Content



Consumes

  • application/json


Produces

  • application/json


Tags

  • Test Run

...

Export test run result

POST /testrun/{testRunIssueId}/export

Description

Export test run result data.


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

testRunIssueId

Issue Id of Test Run

true

integer (int64)


BodyParameter

body

TestRunExecutionRequest Object

true

907739267TestRunExecutionRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation export response is xls

No Content

400

Returned if the given test run id is invalid.

No Content

403

Returned if the currently authenticated user does not have permission to access given test run.

No Content

404

Returned if given test run id is not found.

No Content

500

Returned if there is some problem in exporting report.

No Content



Consumes

  • application/json


Tags

  • Test Run

...

Link stories, test cases/scenarios in bulk with test run

PUT /testrun/{testRunIssueId}/link

Description

Link story or test case/scenario in bulk with test run.


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

testRunIssueId

Issue id of test run

true

integer (int64)


BodyParameter

body

Story or test scenario issue list

true

907739267IssueIdsRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if the given request data is invalid.

No Content

403

Returned if the currently authenticated user does not have permission to link bulk of issues with test run.

No Content

404

Returned if given testRunIssueId or externalIssueId is not found.

No Content

500

Returned if there is some problem in linking bulk of issues with test run.

No Content



Consumes

  • application/json


Produces

  • application/json


Tags

  • Test Run

...

Update comment, execution result or actual result

PUT /testrun/{testRunIssueId}/update

Description

You can update either comment, actual result, execution result or all of them together.Here you can directly pass test result id or multiple issue ids.


Parameters

TypeNameDescriptionRequiredSchemaDefault

PathParameter

testRunIssueId

Issue id of test run.

true

integer (int64)


BodyParameter

body

Update test run result details.

true

907739267UpdateTestRunRequest




Responses

HTTP CodeDescriptionSchema

200

Successful operation.

No Content

400

Returned if request data is invalid.

No Content

403

Returned if the currently authenticated user does not have permission to access given test run.

No Content

404

Returned if the given test run or platform is not found.

No Content

500

Returned if there is some problem in updating of result of test run.

No Content



Consumes

  • application/json


Produces

  • application/json


Tags

  • Test Run

...


NameDescriptionRequiredSchemaDefault

projectId

project id of test run

true

integer (int64)


offset

offset

true

integer (int32)


maxResults

max no of result you want

false

integer (int32)


whereClause

for filtering test execution

true

907739267 KeyValue array


assignedToUsers

array of user key for filtering test execution

true

string array


assignedToUsersName

array of user name for filtering test execution

false

string array


executionResult

array of execution result id for filtering test execution

true

integer (int32) array


testScenarioWithDefectRequired

issues with defect for filtering test execution

true

boolean

false

paginationCountUpdateRequired


false

boolean

false

sortByTestCase

1 for sort by test case and 0 for unsorted

false

integer (int32)


automationRun


false

boolean

false


...

NameDescriptionRequiredSchemaDefault

filter


false

907739267 KeyValue array


testRunIssueId


true

integer (int64)


resultId


false

integer (int32)


storyIssueId


false

integer (int32)


maxResults


false

integer (int32)


offset


false

integer (int32)


assignee


false

string


expand


false

string


searchText


false

string


...

NameDescriptionRequiredSchemaDefault

issueData


false

string


platform


false

string


name


false

string


clonedIssueId


false

string


clonedIssueKey


false

string


defect


false

boolean

false

copyComments


false

boolean

false

copyActualResult


false

boolean

false

status


false

907739267ClonedTestRunStatus


projectId


false

string


additionalProperties


false

object


...