API for Test Suites

API for Test Suites

Get List of Test Suites

POST /rest/testsuites/list

Request

Content-Type: application/json

Parameters

Name

Located in

Required

Description

Default

Schema

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

tsFolderID

body

yes

FolderId of Test Suites

-

integer

scope

body

yes

Scope of Testsuite, possible values project,release,cycle

-

string

Response

Content-Type: application/json

Status Code

Reason

Response Model

Status Code

Reason

Response Model

200

Testsuite list fetch successfully

ResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

Get Test Suite List along with Fields

POST /rest/testsuites/list/viewColumns

Description

Fetch specific data of test suites with custom fields.

Request

Content-Type: application/json

Parameters

Name

Located in

Required

Description

Default

Schema

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

Response

Content-Type: application/json

Status Code

Reason

Response Model

Status Code

Reason

Response Model

200

Testsuite list fetched successfully

ResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

View Test Suite Details

POST /rest/testsuites/detail/data

Request

Content-Type: application/json

Parameters

Name

Located in

Required

Description

Default

Schema

Name

Located in

Required

Description

Default

Schema

id

body

yes

Id of Testsuite

-

integer

Response

Content-Type: application/json

Status Code

Reason

Response Model

Status Code

Reason

Response Model

200

Test Suites detail fetch successfully

ResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

Create Test Suite

POST /rest/testsuites

Description

API to create testsuite

Request

Content-Type: application/json

Parameters

Name

Located in

Required

Description

Default

Schema

Name

Located in

Required

Description

Default

Schema

parentFolderId

body

yes

Parent folderId of Test Suites

-

string

isAutomatedFlag

body

no

Default value false

-

boolean

name

body

yes

Summary of Test Suites

-

string

description

body

no

Description of Test Suites

-

string

testsuiteOwner

body

no

Owner of Test Suites

-

integer

testSuiteState

body

no

Status of Test Suites

-

integer

associateRelCyc

body

no

Pass true only when releaseCycleMapping is passed

-

boolean

releaseCycleMapping

body

no

An array of releaseId, buildID(Do not pass tsId)

-

Array[Data]

requirementId

body

no

Id of the requirement from which user wants to create testsuite

-

string

Response

Content-Type: application/json

Status Code

Reason

Response Model

Status Code

Reason

Response Model

200

TestSuite created successfully

ResponseEntity

400

Invalid json object or mandatory fields missing

-

401

Unauthorised or session expired

-

500

Returned when server connection times out

-

Update Test Suite

PUT /rest/testsuites

Request

Content-Type: application/json

Parameters

Name

Located in

Required

Description

Default

Schema

Name

Located in

Required

Description

Default

Schema

parentFolderId

body

no

Parent folderId of Test Suites

-

string

isAutomatedFlag

body

no

Default value false

-

boolean

name

body

no

Summary of Test Suites

-

string

description

body

no

Description of Test Suites

-

string

owner

body

no

OwnerId of Test Suites

-

integer

ownUser

body

no

An array of ownerId of Test Suites

-

Array[integer]

owneralias

body

no

Owner name of Test Suites

-

string

testSuiteState

body

no

StatusId of Test Suites

-

integer

testSuiteStateAlias

body

no

Status name of Test Suites

-

string

tsState

body

no

An array of statusId of Test Suites

-

Array[integer]

entityKey

body

yes

EntityKey of Test Suites

-

string

folderPath

body

no

Folder path of Test Suites

-

string

TsFolderID

body

yes