Versions Compared

Key

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

...

Code Block
languagejava
Array<TestStep>

TestStep: {
  attachments: Array<Attachement>, // TEST ATTACHMENTS
  data: String, // TEST DATA, stored as HTML
  id: Long,
  position: int, // step position
  result: String, // EXPECTED RESULT, stored as HTML
  step: String, //TEST STEP, stored as HTML
}

Attachement: {
  id: int, // id of attachement in Jira issue
}

POST test step

/testStep/?jwt=<JWT>

Body:

Code Block
TestStep: {
  step: String, //TEST STEP, stored as HTML
  result: String, // EXPECTED RESULT, stored as HTML
  data: String, // TEST DATA, stored as HTML
  attachments: String, // TEST ATTACHMENTS, Array<Attachement> stored as String (JSON.stringify)
  testCaseId: Long,
}

Attachement: {
  id: int, // id of attachement in Jira issue
}

...

GET history

/testExecution/?jwt=<JWT>&testCaseId=<TEST_CASE_ID>&page=<PAGE>

...

Post execution

/testExecution/?jwt=<JWT>

Params:

JWT - the authentication token

...

It is recommended to fetch test execution and edit existing data. To create an execution see POST.

/testExecution/?jwt=<JWT>

Params:

JWT - the authentication token

...

Fetch all test cycles available for the user (based on the JWT token).

/testCycles/?jwt=<JWT>

Params:

Code Block
&projectIds=<ID1, ID2...> // comma-separated list of project IDs
&name=<NAME>              // name of Test Cycle
&versionId=<ID>           // version ID
&isClosed=<Boolean>       // is closed
&testCaseId=<ID>          // test case ID, to get the information if the the test case is already present in test cycles (testCaseExistInCycle in the response)
&page=<PAGE>              // pagination: current page
&size=<SIZE>              // pagination: results per page
&sort=<SORT>              // pagination: field to sort by
&direction=<DIRECTION>    // pagination: sort strategy

...

POST Add Test Case To Cycle

/testCasesInCycle/?jwt=<JWT>

Params:

JWT - the authentication token

...