Link Test Suite to Test Cases

QMetry 7QMetry 8
  • URL: /rest/testsuites/link/testcases
  • Method: PUT
  • URL: /rest/testsuites/dolink/TCs
  • Method: PUT
Request Body
{
	"tcIDs":"<Provide testcase entity keys separated by commas i.e SD-TC-1,SD-TC-2>",
	"tsID":<Provide testsuite id i.e 786>
}
Request Body
{
	"tsID":<Provide testsuite id i.e 786>,
	"tcvdIDs":[<Provide testcase entity keys separated by commas i.e SD-TC-1,SD-TC-2>],
	"fromReqs":false
}
Response Body
{
	"success":true,
	"code":"TS.LINK_TC_SUCCESS_MULTI",
	"data":[
		{
			"COUNT":<No of Test Cases Linked>
		}
	]
}
Response Body
{
    "success": true,
    "code": "TS.LINK_TC_SCHEDULED",
    "message": "Link Testcase(s) has been scheduled to run in background. Go to \"Scheduled Task\" to track the progress.",
    "isBackgroundProcess": <true if product of ( testcase * platform *cycle ) exceeds 100>
}