API for Test Cases

Get List of Testcases in Folder

POST /rest/testcases/list

Description

Get test case list based on particular ID of test case or folder inside all data or particular version related data.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
idbodyyesId of Testcase-integer
versionbodyyesVersion number of Testcase-integer
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
tcFolderIDbodynoFolderId of Testcase-integer
scopebodyyesScope of Testcase, possible values project,release,cycle-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase list fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get Test Case List along with Custom Fields

POST /rest/testcases/list/viewColumns

Description

Fetch specific data of test cases with custom fields.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
viewIdbodyyesView ID of the user for that particular project and Testcase module. View ID can be fetched from latestViews section of Getinfo API.-integer
folderPathbodyyesPath of folder whose Testcases are to be fetched-string
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
havingSharedTestcasesbodynoTrue value will fetch test cases having shared testcases linked with it-boolean


Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase list fetched successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get Test case Details

POST /rest/testcases/list

Description

Get details of Testcase.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
idbodyYesId of Testcase. Get it from "Get Testcase in Folder" API parameter "tcID"-integer
versionbodyYesVersion number of Testcase. -integer
scopebodyYesScope of Testcase, possible values project,release,cycle-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase list fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


List of Test case(s) for Bulk Operations

POST /rest/testcases/listForBulkOperation

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
folderPathbodyyesFolderPath of Testcase Folder whose testcases are to be listed-string
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
filterbodyyes

Filter test cases for respective bulk operations. The following is explanation of filters:

  • ownerAlias: Owner
  • createdByAlias: Created By
  • releaseIDs: comma separated values in case of multiple releases
  • cycleIDs: comma separated values in case of multiple cycles
  • testingTypeAlias: Testing Type (Manual/Automated)
  • testCaseStateAlias: Status
  • componentAlias: Labels
  • priorityAlias: Priorities

Example: {\"type\":\"list\",\"value\":[\"Critical\"],\"field\":\"priorityAlias\"}

  • entityKeyId: ID

Example: {\"type\":\"string\",\"comparison\":\"eq\",\"value\":\"JQ-TC-11\",\"field\":\"entityKeyId\"}

  • name: Summary

Example: {\"type\":\"string\",\"value\":\"Verify Login\",\"field\":\"name\"}

  • IsShared: Represents that displayed testcases should be sharable testcases or not. Default value is“0”

0 Does not display sharable testcases

1 Displays sharable testcases

  • approvalStatus: Represents Approval workflow settings.

1 Displays test cases with “In Review” status

2 Displays test cases with “Approved” status

*Notestring


*Note:

  • IsShared: Default value is "0"
  • approvalStatus:

→ If approval workflow is enabled, the default value is "1"

→ If approval workflow is disabled, the default values is "2"


Response

Content-Type: application/json


Status CodeReasonResponse Model
200TestCase list fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Get Test case linked to a Requirement

POST /rest/testcases/list/forRQ

Description

Get test case list based on particular id of requirement.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
rqIDbodynoId of Requirement-integer
startbodynoStart index of records-integer
getLinkedbodyno

'True' to get only those testcases that are linked with this Requirement, 'false' to get those testcases which are not linked with this Requirement

-boolean
showEntityWithReleaseCyclebodynoList only Testcase which have given rqID's release and cycle-boolean
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
getColumnsbodynoTrue to get list of all available filters(System + UDF) in 'filterTemplate' field-boolean
udfFilterbodynoApply filter on user defined fields' values-Array[UdfFilter]
filterbodynoSystem filters to be applied-Array[Filter]

Response

Content-Type: application/json


Status CodeReasonResponse Model
200Testcase list fetch successfully

ResponseEntity

400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get List of Test suites for a Testcase

POST /rest/testsuites/list/forTC

Description

Get list of test suites for a test case.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcIDbodynoId of Testcase-integer
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
getColumnsbodynoTrue to get list of all available filters(System + UDF) in 'filterTemplate' field-boolean
udfFilterbodynoApply filter on user defined fields' values-Array[UdfFilter]
filterbodynoSystem filters to be applied-Array[Filter]

Response

Content-Type: application/json


Status CodeReasonResponse Model
200Testsuite list fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Get Test case linked to a TestSuite

POST /rest/testcases/list/forTS

Description

Test Case list for Test Suite.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
startbodynoStart index of records-integer
showAllStateEntitiesbodyno

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

-boolean
getLinkedbodyno

'true' to get testcases linked with this requirement, 'false' to get all testcases

-boolean
tsIDbodyno

Id of testSuite

"tsID" parameter is mandatory when "getLinked" is True.

-integer
showEntityWithReleaseCyclebodynoList only those Testcases which have the same associated releases and cycles as the Testsuite-boolean
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
getColumnsbodynoTrue to get list of all available filters(System + UDF) in 'filterTemplate' field-boolean
udfFilterbodynoApply filter on user defined fields' values-Array[UdfFilter]
filterbodynoSystem filters to be applied-Array[Filter]
showUnlinkedbodynoTrue to get testcases which are not linked with currently selected testsuite(which means it will Hide already linked test cases)-boolean
showUnlinkedForReleaseCyclebodynoTrue to get testcases linked with selected release and cycle but not linked with testsuites present in selected release and cycle-boolean


Response

Content-Type: application/json


Status CodeReasonResponse Model
200Testcase list fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Get information of parameters associated with the Testcase linked to a Testsuite

POST /rest/testcases/getParamDetails

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tctsIDbodyyestctsID for fetching linked paramIDs-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Param Details List fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

List Version details of Test case

POST /rest/testcases/getVersionDetail

Request

Content-Type: application/json

Parameters


NameLocated inRequiredDescriptionDefaultSchema
tcIDbodyyesId of Testcase-integer
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer

Response

Content-Type: application/json


Status CodeReasonResponse Model
200TestCase Version detail listed successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


View Test Case Details

POST /rest/testcases/versions/{id}

Request

Parameters

NameLocated inRequiredDescriptionDefaultSchema
idpathyesId of Testcase-integer
entityIdbodyyesId of Testcase-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase detail fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

List Test Case Steps

POST /rest/testcases/steps/list

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
idbodyyesId of Testcase-integer
limitbodyyesNumber of record per page-integer
pagebodyyesPage number to be displayed-integer
startbodyyesStart index of records-integer
versionbodyyesVersion number of Testcase-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Test case steps shown successfullyResponseEntity
500Returned when server connection times out-

Get All Versions of Testcase

POST /rest/testcases/listmanageversions

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
entityIdbodyyesId of Testcase-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Successfully get all versions of a TestcaseResponseEntity
400Entity not found-
401Unauthorised or session expired-
500Returned when server connection times out-

Create Testcase

POST /rest/testcases

Request

Content-Type: application/json

Parameters

Name

Located inRequiredDescriptionDefaultSchema
tcFolderIDbodyyesFolderId of Testcase-string
stepsbodynoAn array of Steps-Array[Steps]
namebodyyesSummary of Testcase-string
prioritybodynoPriorityID of Testcase-integer
componentbodynoComponent(Label) Id of Testcase-integer
ownerbodynoOwnerId of Testcase-integer
testCaseStatebodynoStatusId of Testcase-integer
testCaseTypebodynoId of Test Category-integer
executionMinutesbodynoEstimated Time (In Minute/s) for Execution-integer
testingTypebodynoId of TestingType-integer
descriptionbodynoDescription of Testcase-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase added successfullyResponseEntity
400Invalid json object-
401Unauthorised or session expired-
500Returned when server connection times out-

Update Test case(s)

PUT /rest/testcases

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcIDbodyyesID of Testcase-string
tcFolderIDbodyyesFolderId of Testcase-integer
tcVersionIDbodyyesVersionID of Testcase-integer
tcVersionbodyyesVersion number of Testcase-integer
namebodyyesSummary of Testcase-string
descriptionbodynoValue of Description-string
testCaseTypebodynoId of TestingType-integer
executionMinutesbodynoEstimated Time (In Minute/s) for Execution-integer
prioritybodynoPriorityID of Testcase-integer
ownerbodynoOwnerId of Testcase-integer
testCaseStatebodynoStatusId of Testcase-integer
componentbodynoComponent(Label) Id of Testcase-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Test case(s) updated successfullyResponseEntity
400Invalid json object-
401Unauthorised or session expired-
500Returned when server connection times out-

Archive Testcase

POST /rest/testcases/archiveEntity

Description

API to archive test case based on a specific version or all versions.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
entityIdsbodyyesAn array of testcaseId or testcaseVersionId-Array[integer]
isArchivedbodyyesTrue for archive, false for unarchive-boolean
isEntityVersionbodynoTrue for archive specific version of Testcase otherwise false-boolean

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase archive successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Delete Testcase

POST /rest/testcases/deleteEntity

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
entityIdsbodyyesAn array of TestcaseId-Array[integer]

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase deleted successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Delete a Testcase Version

POST /rest/testcases/deleteEntityVersion

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
entityIdbodyyesId of Testcase-integer
entityVersionsbodyyesAn array of version number of the Testcase-Array[integer]

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase version deleted successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Get List of Testcase Folder/Sub Folders (Deprecated)

GET /rest/testcases/tree

Description

Get folder/subfolder information based using folder id with or without test cases listed in those folders.

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcActiveScopequerynoScope of Testcase, possible values are btnTcScopeToolCycle,btnTcScopeToolRelease,btnTcScopeToolProject-string
tcSortTreeColumnquerynoSort criteria based on which Testcase folders list will be obtained-string
tcSortTreeDirquerynoDirection of sorting, possible values ASC or DESC-string
nodequeryyesId of parent folder whose sub folders are to be fetched-integer
hideFoldersquerynoSend to true to hide empty folders-boolean
showEntityquerynoTrue for fetch folder data with list of testcase inside folder, false for only folder data-boolean
scopequeryyesScope of Testcase, possible value likes project,cycle,release-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Successfully get testcase listResponseEntity
400Mandatory field(s) is missing.-
401Unauthorised or session expired-
500Returned if there is an error in server-


Get sub folder information of a particular folder

POST /rest/testcases/tree

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcFolderIDbodyyesFolderID for selected folder-integer
hideFoldersbodynoFlag for hide empty folders-boolean
sortbodynoSort Folders by date or name-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200TestCase Folder Tree listed successfully.ResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get Details of Test Case Folder

POST /rest/testcases/tree/data

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcFolderIdbodyyesFolderId of Testcase-integer
isInheritFromParentbodyyesPossible value is true or false-boolean

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase folder detail fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Create Test Case Folder

POST /rest/testcases/folders

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
parentIdbodyyesId of parent folder-integer
namebodyyesFolder Name-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase folder created successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Archive Testcase Folder

POST /rest/testcases/folder/archive

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
Archive Folder RequestbodyyesArchive Folder Inputs-TcFolderArchiveRequestDetail

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Folder archived successfullyResponseEntity
400Following fields are missing:tcFolderIDs-
401Unauthorised or session expired-
500Returned when server connection times out-

Unarchive Testcase Folder

POST /rest/testcases/folder/unarchive

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
Unarchive Folder RequestbodyyesUnarchive Folder Inputs-TcFolderUnarchiveRequestDetail

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Folder unarchived successfullyResponseEntity
400Following fields are missing:tcFolderIDs-
401Unauthorised or session expired-
500Returned when server connection times out-

Update Test Case Folder

PUT /rest/testcases/folders

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
namebodyyesUpdated Folder name-string
tcFolderIDbodyyesUnique Identifier of Testcase Folder to update-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase Folder updated successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Delete Test Case folder

POST /rest/testcases/folders/delete

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcFolderIdbodyyesFolderId of Testcase-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase folder deleted successfully.ResponseEntity
400Invalid json object-
401Unauthorised or session expired-
500Returned when server connection times out-

Get Release & Cycle of Test Case

PUT /rest/testcases/scope/list

Description

To view list of scope (Release/Cycle) of testcase

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
entityIDbodyyesId of Testcase-integer
limitbodyyesNumber of record per page-integer
pagebodyyesPage number to be displayed-integer
startbodyyesStart index of records-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Scope(Release/Cycle) fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Add Release & Cycle to Test Case

POST /rest/testcases/scope/add

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
entityIdbodyyesId of Testcase-integer
sourceBuildIdbodyyesBuildId of the Cycle associated with Release-integer
sourceProjectIdbodyyesProjectId of the Testcase-integer
sourceReleaseIdbodyyesReleaseId of the Project-integer
releaseCycleMappingbodyyesAn array of release, cycle & version mapping-Array[ReleaseCycleMapping]
opTypebodyyesOperation types possible value likes otherScope or current-string
withVersionbodynoScope added with the version or not-boolean
updateFlagbodynoThis flag for the scope update or not-boolean
destinationProjectIdbodyyesProjectId based on operation type, possible value likes current project or another project of the id-integer
entityDatabodyyesAn array of entityId & version for the Testcase-Array[EntityData]
entityTypebodyyesAbbreviated entityType of Testcase - 'TC'-string
sourceScopebodyyesscope('project'/'release'/'cycle')-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Scope added to testcase successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Remove Release & Cycle from Test Case

POST /rest/testcases/scope/remove

Description

API to remove scope(release/cycle) from testcase

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
entityIdbodyyesId of Testcase-integer
sourceBuildIdbodyyesBuildId of the Cycle associated with Release-integer
sourceProjectIdbodyyesProjectId of Testcase-integer
sourceReleaseIdbodyyesReleaseId of the Project-integer
entityTypebodyyesEntity type for the testcase, the default value is TC-string
opTypebodyyesOperation types possible value likes currentBuild,allBuildsInRelease,allReleases-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Remove scope successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Add Testcase Comments

POST /rest/testcases/comments

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
commentsbodyyesComments of Testcase-string
entityIdbodyyesId of Testcase-integer
entityTypebodyyesEntity Type of Testcase, default value is TC-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Comments added successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Update Testcase Comments

POST /rest/testcases/comments/update

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
commentsbodyyesComments of Testcase-string
entityIdbodyyesId of Testcase-integer
entityTypebodyyesEntity Type of Testcase, default value is TC-string
commentIdbodyyesCommentId of Testcase-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Comments updated successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get Testcase Comments

POST /rest/testcases/getCommentsData

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
entityIdbodyyesId of Testcase-integer
entityTypebodyyesEntity Type of Testcase, default value is TC-string
limitbodyyesNumber of record per page-integer
pagebodyyesPage number to be displayed-integer
startbodyyesStart index of records-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Comments get successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Delete Testcase Comments

POST /rest/testcases/comments/delete

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
entityIdbodyyesId of Testcase-integer
entityTypebodyyesEntity Type of Testcase, default value is TC-string
commentIdbodyyesCommentId of Testcase-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Comments deleted successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get List of Requirements in Test Case

POST /rest/testcases/requirements/list

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcIDbodyyesId of Testcase-integer
limitbodyyesNumber of record per page-integer
pagebodyyesPage number to be displayed-integer
startbodyyesStart index of records-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Requirement list fetch successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Link Requirement(s) to Testcase

PUT /rest/testcases/link/requirements

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcIDbodyyesEntityKey of Testcase-string
tcVersionIdbodyyesVersionId of Testcase-integer
rqVersionIdsbodyyesComma-separated list of versionId to the Requirement-string
rqEntitykeysbodynoComma-separated list of EntityKey to the Requirement-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Requirements successfully linked to testcaseResponseEntity
400Invalid json object or entityKey-
401Unauthorised or session expired-
500Returned when server connection times out-

Unlink Requirement(s) fromTestcase

PUT /rest/testcases/unlink/requirements

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcIDbodyyesEntityKey of Testcase-string
tcVersionIdbodyyesVersionId of Testcase-integer
rqVersionIdsbodyyesComma-separated list of versionId of the Requirement-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Requirements successfully unlinked to testcaseResponseEntity
400Invalid json object or entityKey-
401Unauthorised or session expired-
500Returned when server connection times out-

Link TestSuites to Testcase

PUT /rest/testcases/link/testsuites

Request

Content-Type: application/json

Parameters


NameLocated inRequiredDescriptionDefaultSchema
tcIDbodyyesEntityKey of Testcase-string
tsIDsbodyyesComma-separated value of Testsuite's EntityKey-string
tcVersionbodyyesVersion number of Testcase-integer
testSuiteIdsbodynoIds of TestSuites-integer
isTsSkipbodynoIf you want to skip already linked Testsuites than pass true else false-boolean

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testsuites successfully linked to testcasesResponseEntity
400Invalid json object-
401Unauthorised or session expired-
500Returned when server connection times out-

List Test Case Executions

POST /rest/testcases/execution

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcidbodyyesId of Testcase-integer
limitbodyyesNumber of record per page-integer
pagebodyyesPage number to be displayed-integer
startbodyyesStart index of records-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Successfully fetch Executions of particular testcaseResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


List Test Cases Linked with Shared Test Case

POST /rest/testcases/list/forSharedTestcase

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
tcVersionIDbodyyesVersionID of Testcase-integer
startbodynoStart index of records-integer
limitbodynoNumber of records per page-integer
pagebodynoPage number to be displayed-integer
getColumnsbodynoTrue to get list of all available filters(System + UDF) in 'filterTemplate' field-boolean
filterbodynoSystem filters to be applied-Array[Filter]


Response

Content-Type: application/json

Status CodeReasonResponse Model
200Testcase list fetched successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Definition

ResponseEntity
nametyperequireddescriptionexample
headersobjectoptional-
bodyobjectoptional-
statusCodestringoptional-
Steps
nametyperequireddescriptionexample
orderIdintegerrequiredNumber of Order
descriptionstringrequiredValue of Description
inputDatastringrequiredValue of InputData
expectedOutcomestringrequiredValue of ExpectedOutcome
tcRunIDstringoptionalId of Test Run
RequirementRepository
nametyperequireddescriptionexample
managerEntityManageroptional-
ReleaseCycleMapping
nametyperequireddescriptionexample
releaseintegerrequiredId of Release
cyclearray[integer]requiredAn array of cycle's Id
versionintegerrequiredNumber of the version
EntityData
nametyperequireddescriptionexample
entityIdintegerrequiredId of Entity
versionintegerrequiredVersionId of Entity
EntityManager
nametyperequireddescriptionexample
propertiesobjectoptional-
openbooleanoptional-
delegateobjectoptional-
entityManagerFactoryEntityManagerFactoryoptional-
joinedToTransactionbooleanoptional-
criteriaBuilderCriteriaBuilderoptional-
transactionEntityTransactionoptional-
flushModestringoptional-
metamodelMetamodeloptional-
EntityManagerFactory
nametyperequireddescriptionexample
propertiesobjectoptional-
cacheCacheoptional-
openbooleanoptional-
criteriaBuilderCriteriaBuilderoptional-
persistenceUnitUtilPersistenceUnitUtiloptional-
metamodelMetamodeloptional-
CriteriaBuilder
nametyperequireddescriptionexample
EntityTransaction
nametyperequireddescriptionexample
activebooleanoptional-
rollbackOnlybooleanoptional-
Metamodel
nametyperequireddescriptionexample
entitiesarray[EntityTypeObject]optional-
managedTypesarray[ManagedTypeObject]optional-
embeddablesarray[EmbeddableTypeObject]optional-
Cache
nametyperequireddescriptionexample
PersistenceUnitUtil
nametyperequireddescriptionexample
EntityTypeObject
nametyperequireddescriptionexample
namestringoptional-
supertypeIdentifiableTypeObjectoptional-
idClassAttributesarray[SingularAttributeObjectObject]optional-
idTypeTypeObjectoptional-
attributesarray[AttributeObjectObject]optional-
declaredAttributesarray[AttributeObjectObject]optional-
pluralAttributesarray[PluralAttributeObjectObjectObject]optional-
singularAttributesarray[SingularAttributeObjectObject]optional-
declaredPluralAttributesarray[PluralAttributeObjectObjectObject]optional-
declaredSingularAttributesarray[SingularAttributeObjectObject]optional-
persistenceTypestringoptional-
bindableTypestringoptional-
EmbeddableTypeObject
nametyperequireddescriptionexample
attributesarray[AttributeObjectObject]optional-
declaredAttributesarray[AttributeObjectObject]optional-
pluralAttributesarray[PluralAttributeObjectObjectObject]optional-
singularAttributesarray[SingularAttributeObjectObject]optional-
declaredPluralAttributesarray[PluralAttributeObjectObjectObject]optional-
declaredSingularAttributesarray[SingularAttributeObjectObject]optional-
persistenceTypestringoptional-
ManagedTypeObject
nametyperequireddescriptionexample
attributesarray[AttributeObjectObject]optional-
declaredAttributesarray[AttributeObjectObject]optional-
pluralAttributesarray[PluralAttributeObjectObjectObject]optional-
singularAttributesarray[SingularAttributeObjectObject]optional-
declaredPluralAttributesarray[PluralAttributeObjectObjectObject]optional-
declaredSingularAttributesarray[SingularAttributeObjectObject]optional-
persistenceTypestringoptional-
IdentifiableTypeObject
nametyperequireddescriptionexample
supertypeIdentifiableTypeObjectoptional-
idClassAttributesarray[SingularAttributeObjectObject]optional-
idTypeTypeObjectoptional-
attributesarray[AttributeObjectObject]optional-
declaredAttributesarray[AttributeObjectObject]optional-
pluralAttributesarray[PluralAttributeObjectObjectObject]optional-
singularAttributesarray[SingularAttributeObjectObject]optional-
declaredPluralAttributesarray[PluralAttributeObjectObjectObject]optional-
declaredSingularAttributesarray[SingularAttributeObjectObject]optional-
persistenceTypestring
AttributeObjectObject
nametyperequireddescriptionexample
namestringoptional-
declaringTypeManagedTypeObjectoptional-
collectionbooleanoptional-
persistentAttributeTypestringoptional-
javaMemberMemberoptional-
associationbooleanoptional-
SingularAttributeObjectObject
nametyperequireddescriptionexample
typeTypeObjectoptional-
versionbooleanoptional-
optionalbooleanoptional-
idbooleanoptional-
namestringoptional-
declaringTypeManagedTypeObjectoptional-
collectionbooleanoptional-
persistentAttributeTypestringoptional-
javaMemberMemberoptional-
associationbooleanoptional-
bindableTypestringoptional-
PluralAttributeObjectObjectObject
nametyperequireddescriptionexample
elementTypeTypeObjectoptional-
collectionTypestringoptional-
namestringoptional-
declaringTypeManagedTypeObjectoptional-
collectionbooleanoptional-
persistentAttributeTypestringoptional-
javaMemberMemberoptional-
associationbooleanoptional-
bindableTypestringoptional-
Member
nametyperequireddescriptionexample
modifiersintegeroptional-
namestringoptional-
syntheticbooleanoptional-
TypeObject
nametyperequireddescriptionexample
persistenceTypestringoptional-
TcFolderArchiveRequestDetail
nametyperequireddescriptionexample
tcFolderIDsarray[integer]requiredArray of Test Case Folder Ids
isBulkOperationbooleanoptionalIs from BulkOperation flag
includeRootFolderEntitiesbooleanoptionalRequired to include Root Folder Entities
TcFolderUnarchiveRequestDetail
nametyperequireddescriptionexample
tcFolderIDsarray[integer]requiredArray of Test Case Folder Ids
isBulkOperationbooleanoptionalIs from BulkOperation flag
includeRootFolderEntitiesbooleanoptionalRequired to include Root Folder Entities
Filter
nametyperequireddescriptionexample
valueobjectrequiredValue to search based on type of filter
comparisonstringrequiredThe comparision operator 'lt' or 'gt' for Date type filter
typestringrequiredType of Filter
fieldstringrequiredField name on which filter is to be applied
UdfFilter
nametyperequireddescriptionexample
typestringrequiredType of Filter
valuestringrequiredValue to search based on type of UDF
udfmIDintegerrequiredUnique Identifier based on project-module-udf-user
fieldstringrequiredName of User Defined Field