Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel3

...

Name

Located in

Required

Description

Default

Schema

viewId

body

yes

View ID of the user for that particular project and Testsuite module. View ID can be fetched from latestViews section of Getinfo API.

-

integer

folderPath

body

yes

Path of folder whose Testsuites are to be fetched

-

string

start

body

no

Start index of records

-

integer

limit

body

no

Number of records per page

-

integer

page

body

no

Page number to be displayed

-

integer

...

Status Code

Reason

Response Model

200

TestSuite copied successfully

ResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

Copy a Test Suite with Rlease Cycle

PUT /rest/testsuites/copyWithNewReleaseCycle

Description

Copy TestSuite in same folder or another folder with New Release Cycle

Request

Content-Type: application/json

Parameters

Name

Located in

Required

Description

Default

Schema

srcFolderId

body

yes

Source FolderId of Testsuite

-

integer

destFolderId

body

yes

Destination FolderId of Testsuite

-

integer

executionStatusIds

body

no

Copy only test cases having selected test execution status (Default :null)

-

integer

id

body

yes

Id of Test Suites

-

string

build

body

no

Assign Build to Execution

-

integer

isBulkOperation

body

no

BulkOperation flag

-

boolean

isLatestVersionSync

body

no

Sync latest version of test case(s) (default:false)

-

boolean

isOldReleaseCycleSelected

body

no

Reference Release Cycle is Selected Flag

-

boolean

isPlatformCopy

body

no

Copy platform(s) if flag is true (default:true)

-

boolean

isPlatformCopyWithSelctedStatus

body

no

Copy platform(s) with selected test execution status (default:false)

-

boolean

isResetAssignee

body

no

To Reset Assignee of test case(s) (default:false)

-

boolean

isResetToNotrun

body

no

To preserve existing test execution status of test case(s) (default:true)

-

boolean

latestVersionSync

body

no

Sync Latest Testcase Version in new Execution

-

boolean

newreleaseCycleMapping

body

no

An array of releaseId, buildID

-

Array[Data]

oldReleaseCycleMappingId

body

no

Reference Release Cycle Mapping ID

-

integer

oldReleaseCycleSelected

body

no

Reference Release Cycle Executions For Copying

-

boolean

platformCopy

body

no

Copy platform

-

boolean

platformCopyWithSelctedStatus

body

no

Copy Execution of Platform with Selected Status

-

boolean

release

body

no

Copy release

-

integer

resetAssignee

body

no

Reset Assignee in new Execution Flag

-

boolean

resetToNotrun

body

no

Reset Execution Status in New Execution to Not Run Flag

-

boolean

Response

Content-Type: application/json

Status Code

Reason

Response Model

200

Test Suite copied successfully

-

201

Created

-

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

403

Forbidden

-

404

Not Found

-

500

Returned when server connection times out

-

...

POST /rest/testsuites/delete

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

ids

body

yes

Id of Test Suite

-

integer

Response

Content-Type: application/json

...

POST /rest/testsuites/deleteEntity

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

entityIds

body

yes

Id of Testsuites that have to be deleted

-

Array[integer]

Response

Content-Type: application/json

...

POST /rest/testsuites/tree

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

tsFolderID

body

yes

Folder ID of Selected TestSuite Folder

-

integer

hideFolders

body

no

Flag to Hide empty Folders

-

boolean

sort

body

no

Sort Folders by date or name

-

string

Response

Content-Type: application/json

...

POST /rest/testsuites/folders

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

name

body

yes

Folder Name

-

string

parentId

body

yes

ID of parent folder

-

integer

Response

Content-Type: application/json

...

POST /rest/testsuites/folder/archive

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

Archive Folder Request

body

yes

Archive Folder Inputs

-

TsFolderArchiveRequestDetail

Response

Content-Type: application/json

...

POST /rest/testsuites/folder/unarchive

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

Unarchive Folder Request

body

yes

Unarchive Folder Inputs

-

TsFolderUnarchiveRequestDetail

Response

Content-Type: application/json

...

PUT /rest/testsuites/folders

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

folderId

body

yes

Unique identifier of Testsuite Folder to update

-

integer

name

body

yes

Update Testsuite Folder name

-

string

Response

Content-Type: application/json

...

POST /rest/testsuites/folders/delete

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

tsFolderID

body

yes

FolderId of Test Suites

-

integer

Response

Content-Type: application/json

...

POST /rest/testsuites/getReleaseCycleForTestSuite

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

tsID

body

yes

Id of Testsuite

-

integer

limit

body

yes

Number of record per page

-

integer

page

body

yes

Page number to be displayed

-

integer

start

body

yes

Start index of records

-

integer

Response

Content-Type: application/json

...

POST /rest/testsuites/mapReleaseCycle

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

data

body

yes

An array of Data

-

Array[Data]

Response

Content-Type: application/json

...

POST /rest/testsuites/unMapReleaseCycle

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

tsReleaseCycleMapID

body

yes

Id of Testsuite's Release Cycle mapping

-

integer

Response

Content-Type: application/json

...

POST /rest/testsuites/testcase/list

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

filter

body

no

Filter to only show unshared Testcases

-

Array[Filter]

tsID

body

yes

Id of Testsuite whose linked Testcases are to be obtained

-

integer

start

body

yes

start index of records

-

integer

limit

body

yes

number of records per page

-

integer

page

body

yes

page number to be displayed

-

integer

Response

Content-Type: application/json

...

PUT /rest/testsuites/dolink/TCs

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

tsID

body

yes

Unique identifier of Testsuite

-

integer

tcvdIDs

body

yes

tcVersionIDs to link to testsuite

-

Array[integer]

fromReqs

body

no

True for Testcase link from Requirement otherwise false

-

boolean

rqEntitykeys

body

no

Comma-separated value of Requirement's entityKey, it can use for when pass True for Testcase link from Requirement

-

string

tcEntitykeys

body

no

Comma-separated value of Testcase's entityKey, it can use for when pass False for Testcase link from Requirement

-

string

isTcSkip

body

no

If you want to skip already linked Testcase's/Requirement's than pass true else false

-

boolean


Response

Content-Type: application/json

...

POST /rest/testsuites/link/testcaseWithLatestVersion

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

tcRunID

body

yes

Unique identifier of Testcase Run

-

Array[integer]

syncAll

body

no

Flag to Sync all Testcase Run

-

boolean

tsRunID

body

yes

Unique identifier of Testsuite Run

-

integer

username

body

no

Username of the user who is being authenticated

-

string

password

body

no

Password of the user who being authenticated

-

string


Response

Content-Type: application/json

...

Unlink testcases from TestSuite.

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

tcTsIDs

body

yes

Comma separated string of tcTsIds

-

Array[integer]


Response

Content-Type: application/json

...

POST /rest/testsuites/getplatformwithname

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

tsID

body

yes

Id of Testsuite

-

integer

Response

Content-Type: application/json

...

PUT /rest/testsuites/link/platforms

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

qmTsId

body

yes

Id of Test Suites

-

integer

qmPlatformId

body

yes

Comma-separated value of PlatformId

-

string

Response

Content-Type: application/json

...

PUT /rest/testsuites/unlink/platforms

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

qmTsId

body

yes

Id of Test Suites

-

integer

platformID

body

yes

Comma-separated value of platformId of Platform

-

string

Response

Content-Type: application/json

...

PUT /rest/testsuites/assign/platform

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

platformowner

body

yes

OwnerId of selected User

-

integer

qmAllowBulkEmail

body

no

True for send email to selected user otherwise false

-

boolean

tsRunIds

body

yes

TestRunId of Test Suites

-

integer

Response

Content-Type: application/json

...

PUT /rest/testsuites/assign/tester

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

qmAllowBulkEmail

body

yes

Flag to decide whether an email to the watchers of the Testsuite is to be sent

-

boolean

qmTsRunId

body

yes

Unique identifier of the Testsuite Run

-

boolean

tcrIDs

body

yes

Id of Testcase Runs to whom a tester is to be assigned

-

string

userId

body

yes

Id of user which is to be assigned as tester for the specified Testcase Runs

-

integer

Response

Content-Type: application/json

...

PUT /rest/execution/updaterun

Description

API to update run comment

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

type

body

yes

Abbreviated entity type

-

string

fieldVal

body

yes

Value of field

-

string

isAutoExecuted

body

yes

True if it is to be automatically executed and false if otherwise

-

integer

entityId

body

yes

Unique identifier of Testcase Run

-

integer

field

body

yes

Field which is to be updated

-

string

Response

Content-Type: application/json

Status Code

Reason

Response Model

200

Run Status updated successfully

ResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

Get Execution List

POST /rest/execution/getExecutionsForIssue

Description

Fetch Execution list based on particular id of defect.

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

start

body

no

Start index of records

-

integrer

limit

body

no

Number of records per page

-

integrer

page

body

no

Page number to be displayed

-

Response

Content-Type: application/json

...

POST /rest/execution/list/platformHome

Description

Find the number of executions of a test suite.

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

tsFolderID

body

no

Testsuite FolderID

-

integer

tsID

body

no

ID of Testsuite

-

integer

entityIdsForBulk

body

no

Send true for getting TsRunID for Bulk Operation

-

boolean


Response

Content-Type: application/json

...

POST /rest/execution/list/tcr

Description

APIs for Test Executions

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

tsrID

body

yes

ID of Testsuite Run whose Testcase Runs are to be obtained

-

string

start

body

yes

Start index of records

-

integer

limit

body

yes

Number of records per page

-

integer

page

body

yes

Page number to be displayed

-

integer

filter

body

yes

Add filter to get filtered Testcase Runs

-

Array[Filter]

showTcWithDefects

body

no

True to get only those Testcase Runs which have Defects linked with them

-

boolean

Response

Content-Type: application/json

...

POST /rest/testcases/list/forTS

Description

Testcase list for testsuite.

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

start

body

no

Start index of records

-

integer

showAllStateEntities

body

no

True to get testcases of approved state only, false to get testcases of any state

-

boolean

getLinked

body

no

True to get only those testcases that are linked with this defect, false to get all testcases. While using True "tsID" is mandatory

-

boolean

tsID

body

no

Id of Test Suite

-

integer

showEntityWithReleaseCycle

body

no

List only those Testcases which have the same associated releases and cycles as the Testsuite

-

boolean

limit

body

no

Number of records per page

-

integer

page

body

no

Page number to be displayed

-

integer

getColumns

body

no

True to get list of all available filters(System + UDF) in 'filterTemplate' field

-

boolean

udfFilter

body

no

Apply filter on user defined fields' values

-

Array[UdfFilter]

filter

body

no

System filters to be applied

-

Array[Filter]

Response

Content-Type: application/json

...

POST /rest/execution/issue/list

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

entityId

body

yes

TestcaseRunId or TestcaseStepRunId

-

string

istcsrFlag

body

yes

True for Testcase Step

-

boolean

istcrFlag

body

yes

True for Testcase

-

boolean

start

body

yes

Start index of records

-

integer

limit

body

yes

Number of records per page

-

integer

page

body

yes

Page number to be displayed

-

integer

Response

Content-Type: application/json

...

POST /rest/execution/issue/list/forTCRun

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

entityId

body

yes

TestcaseRunId

-

string

getLinked

body

yes

True for get linked testcase otherwise false

-

boolean

getColumns

body

yes

True for get default filtered column list

-

boolean

start

body

no

Start index of records

-

integer

limit

body

no

Number of records per page

-

integer

page

body

no

Page number to be displayed

-

integer

Response

Content-Type: application/json

...

POST /rest/execution/issue/list/forTCStepRun

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

entityId

body

yes

TestcaseStepRunId

-

string

getLinked

body

yes

True for get linked testcase otherwise false

-

boolean

getColumns

body

yes

True for get default filtered column list

-

boolean

start

body

no

Start index of records

-

integer

limit

body

no

Number of records per page

-

integer

page

body

no

Page number to be displayed

-

integer

Response

Content-Type: application/json

...

POST /rest/execution/tcStepRun/list/viewColumns

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

tcrID

body

yes

Unique identifier of Testcase Run whose Testcase Step Runs are to be fetched

-

integer

viewId

body

yes

View ID of the user for that particular project and Testcase Step Run module

-

integer

start

body

no

Start index of records

-

integer

limit

body

no

Number of records per page

-

integer

page

body

no

Page number to be displayed

-

integer

Response

Content-Type: application/json

...

PUT /rest/execution/link/issue

Description

API to link issues to the testcase being executed

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

issueIds

body

yes

ID of issues to be linked to Testcase Run

-

Array[string]

tcrId

body

yes

ID of Testcase Run to link issues with

-

integer

Response

Content-Type: application/json

...

POST /rest/execution/unlink/issue

Description

API to unlink issues from the Testcase Run being executed

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

issueIds

body

yes

Ids of Issues to be unlinked

-

Array[string]

tcrId

body

yes

Id of Testcase Run to unlink issues from

-

integer

Response

Content-Type: application/json

...

PUT /rest/execution/link/issueWithTCStepRun

Description

API to link issues to the testcase step run being executed

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

issueIds

body

yes

Ids of issues to link

-

Array[string]

tcsrId

body

yes

Id of Testcase Step to link issues with

-

integer

Response

Content-Type: application/json

...

POST /rest/execution/unlink/issueWithTCStepRun

Description

API to un-link issues from the test case step during its execution

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

issueIds

body

yes

Ids of issues to unlink

-

string

tcsrId

body

yes

Id of Testcase Step to unlink issues from

-

integer

Response

Content-Type: application/json

...

POST /rest/issues/getIssuesForTestCase

Description

API to display issues linked to test cases during its execution.

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

start

body

no

Start index of records

-

integer

limit

body

no

Number of records per page

-

integer

page

body

no

Page number to be displayed

-

integer

linkedAsset

body

yes

LinkedAsset Type=DF, ID= {respective DefectId}

-

LinkedAsset

Response

Content-Type: application/json

Status Code

Reason

Response Model

200

List of issues shown successfully

ResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

...

PUT /rest/execution/runstatus/bulkupdate

Description

API to bulkupdate run status

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

runStatusID

body

yes

Id of the execution status to set(Id can be obtained from getInfo service response)

-

integer

dropID

body

no

Unique identifier of drop on which execution is to be performed

-

integer

qmTsRunId

body

yes

Id of Testsuite Run to execute

-

string

entityIDs

body

yes

Ids of Testcase Runs to execute

-

string

entityType

body

yes

Type of Entity('TCR'/'TCSR') to Execute

-

string

isAutoExecuted

body

no

0 Manual

1 Automated

0

boolean

username

body

no

Username of the user who is being authenticated

-

string

password

body

no

Password of the user who is being authenticated

-

string

Response

Content-Type: application/json

...

PUT /rest/execution/resetstatus

Description

API to reset execution status after changing build.

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

qmTsRunId

body

yes

Testsuite Run Id

-

string

dropID

body

yes

buildId on which testcases and testcase steps are to be executed

-

string

isBulkStausSetNotNotRun

body

yes

send true to reset status to 'Not Run'

-

boolean

username

body

no

Username of the user who is being authenticated

-

string

password

body

no

Passwird of the user who is being authenticated

-

string


Response

Content-Type: application/json

...

POST /rest/testsuites/linkplatform/assignagent/createSchedulerRun

Description

API to create scheduler run

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

agentParam

body

yes

provide agentParam

-

AgentParam

Response

Content-Type: application/json

...

POST /rest/testsuites/linkplatform/assignagent/createSchedulerRun

Description

API to create scheduler run

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

agentParam

body

yes

provide agentParam

-

AgentParam

Response

Content-Type: application/json

...

POST /rest/execution/list/viewColumns

Request

Content-Type: application/json

...

Name

Located in

Required

Description

Default

Schema

tsrunID

body

yes

Unique identifier of Test Execution Run

-

integer

viewId

body

yes

View ID of the user for that particular project and Test Execution Run module

-

integer

start

body

no

Start index of records

-

integer

limit

body

no

Number of records per page

-

integer

page

body

no

Page number to be displayed

-

integer

Response

Content-Type: application/json

...