Before you start using our API, your first step is to obtain an api-token
from your QA Touch site. Once you obtain the token, then you are ready to go.
To Obtain api-token follow the steps below Go to User->Edit profile Under General settings, Click 'Generate API Key' to generate the API key.
(Note: QA Touch API is a Professional and Enterprise Plan feature)
All the API endpoints require a couple of headers so that we can authenticate you before processing the request.
Required Headers
By default, all the endpoints which return more than 50 rows are paginated. You can move to another page by adding parameters to the request.
For example : https://api.qatouch.com/api/v1/getAllProjects?page=2
The above example will return the data which are available in the second page of the request.
git clone git@github.com:gitdckap/QATouchAPIDemo.git
Provides the list of projects created for your domain.
API code support PHP CURL function.
Github -
https://github.com/gitdckap/QATouchAPIDemo
https://github.com/gitdckap/QATouchAPIDemo/blob/master/allprojects.php
Javascript Github
https://github.com/gitdckap/QATouchAPIDemo/tree/master/JavascriptAPI
GET https://api.qatouch.com/api/v1/getAllProjects
<?php
include('config.php');
function getAllProjects($apiToken,$domain,$url) {
$curl = curl_init();
// Set some options - we are passing url and necessary headers
curl_setopt_array($curl, array(
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_URL => $url,
CURLOPT_HTTPHEADER => array(
'api-token:'.$apiToken,
'domain:'.$domain
)
));
// Send the request & save response to $resp
$resp = curl_exec($curl);
// Close request to clear up some resources
curl_close($curl);
// return the response
return $resp;
}
/* Provides the list of projects created for your domain */
$allprojecturl = $url.'getAllProjects';
$allproject = getAllProjects($apiToken,$domain,$allprojecturl);
echo $allproject;
?>
curl --location --request GET "api.qatouch.com/api/v1/getAllProjects" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
var myHeaders = new Headers({
'Access-Control-Allow-Origin':'*',
'Content-Type': 'multipart/form-data'
});
myHeaders.append("domain", "apidemo");
myHeaders.append("api-token", "***********************API TOKEN***********************");
var requestOptions = {
method: 'GET',
mode: 'cors',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://api.qatouch.com/api/v1/getAllProjects", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Provides the particular project detail with Test Case / Milestone / Defect Counts
GET https://api.qatouch.com/api/v1/getAllProjects/{projectKey}
Note: Replace Curly braces with your ID / Value
{projectKey} => your ID / Value
Example : https://api.qatouch.com/api/v1/getAllProjects/ProjectKeyvalue
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Return - Test Case / Milestone / Defect Counts
{ "message": "Project Detail", "project_name": "****", "project_key": "****", "testcase_count": xx, "testrun_count": xx, "defect_count": xx, "milestone_count": x }
curl --location --request GET "api.qatouch.com/api/v1/getAllProjects/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Count of the total projects available.
GET https://api.qatouch.com/api/v1/count/allProjects
https://github.com/gitdckap/QATouchAPIDemo/blob/master/allprojects.php
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/count/allProjects" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Create a new project in your domain.
<?php
include('config.php');
function getAllProjects($apiToken,$domain,$url) {
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => array(
'api-token:'.$apiToken,
'domain:'.$domain
)
));
$response = curl_exec($curl);
return $response;
}
$projectname = "XXXXX"; /*Project Name*/
/* Provides the list of projects created for your domain */
$projecturl = $url.'project?name='.$projectname;
$allproject = getAllProjects($apiToken,$domain,$projecturl);
echo $allproject;
?>
POST https://api.qatouch.com/api/v1/project
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
name | Name of the new Project to be created |
curl --location --request POST "api.qatouch.com/api/v1/project?name=Automation" \
--header "api-token: " \
--header "domain: " \
--data ""
Provides the list of test cases available for the project.
GET https://api.qatouch.com/api/v1/getAllTestCases/{projectKey}
Note: Replace Curly braces with your ID / Value
{projectKey} => your ID / Value
Example : https://api.qatouch.com/api/v1/getAllTestCases/ProjectKeyvalue
curl --location --request GET "api.qatouch.com/api/v1/getAllTestCases/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
curl --location --request GET "api.qatouch.com/api/v1/getAllTestCases/{projectKey}?mode={Automation|Manual}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Provides the list of test cases available for the project.
GET https://api.qatouch.com/api/v1/getAllTestCases/{projectKey}?page=1
Note: Replace Curly braces with your ID / Value
{projectKey} => your ID / Project Key / Value
Example : https://api.qatouch.com/api/v1/getAllTestCases/ProjectKeyvalue?page=1
Return sample result
"link": {
"first": "https://api.qatouch.com/api/v1/getAllTestCases/X1Gz?page=-1",
"last": "https://api.qatouch.com/api/v1/getAllTestCases/X1Gz?page=123",
"prev": null,
"next": "https://api.qatouch.com/api/v1/getAllTestCases/X1Gz?page=2"
},
"meta": {
"current_page": 1,
"from": 0,
"last_page": 1,
"per_page": 50,
"total": 6140
},
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
moduleKey | To list all test cases for a particular module |
mode | To list all test cases based on the provided mode which is automation or manual |
view | To display the count/list of test cases based on the value which can either be count (will give the count of test cases) or list (will give the list of test cases) |
requirementKey | To list all test cases which is present under the provided requirements |
Note: The above parameters can be used only one at a time and can't be requested with multiple parameters.
The view
parameter can only be used with mode parameter.
curl --location --request GET "api.qatouch.com/api/v1/getAllTestCases/{projectKey}?page=1" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
curl --location --request GET "api.qatouch.com/api/v1/getAllTestCases/{projectKey}?page=1&mode={Automation|Manual}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
curl --location --request GET \ "api.qatouch.com/api/v1/getAllTestCases/{projectKey}?mode={Automation|Manual}&view={list|count}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Count of the total test cases available for the project.
GET https://api.qatouch.com/api/v1/count/allTestCases/{projectKey}
Note: Replace Curly braces with your ID / Value
{projectKey} => your ID / Project Key / Value
Example : https://api.qatouch.com/api/v1/count/allTestCases/ProjectKeyvalue
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/count/allTestCases/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Test Cases detail with mapped custom fields information
GET https://api.qatouch.com/api/v1/getTestCasesDetail/{projectKey}/{caseID}
Note: Replace Curly braces with your ID / Value
{projectKey}/{caseID} => your ID / Project Key / Value
Example : https://api.qatouch.com/api/v1/getTestCasesDetail/ProjectKeyvalue/CaseID
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
projectKey | Project Key under which the Module to be created |
caseID | Test Cases ID |
curl --location --request GET "api.qatouch.com/api/v1/getTestCasesDetail/{projectKey}/{caseID}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Test Cases detail with Steps detail
GET https://api.qatouch.com/api/v1/getTestCasesSteps/{caseID}
Note: Replace Curly braces with your ID / Value
{caseID} => your ID / Project Key / Value
Example : https://api.qatouch.com/api/v1/getTestCasesSteps/CaseID
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
caseID | Test Cases ID |
curl --location --request GET "api.qatouch.com/api/v1/getTestCasesSteps/{caseID}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Provides the list of Modules available for the project.
GET https://api.qatouch.com/api/v1/getAllModules/{projectKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request POST "api.qatouch.com/api/v1/getAllModules/{projectKey}" \
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""
Create a new module in your project for Test Case.
POST https://api.qatouch.com/api/v1/module?projectKey={projectKey}&moduleName={moduleName}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
projectKey | Project Key under which the Module to be created |
moduleName | Name of the module to be created |
parentKey | (Optional) To create child module, provide this parameter with existing Module's Key |
<?php
include('config.php');
function getAllProjects($apiToken,$domain,$url) {
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => array(
'api-token:'.$apiToken,
'domain:'.$domain
)
));
$response = curl_exec($curl);
return $response;
}
/*"project_name":"API Application","project_key":"BJaX" */
$projectkey = "BJaX";
$modulename = "New Module name33"; /*Module Name*/
/* Provides the list of projects created for your domain */
$projecturl = $url.'module?projectKey='.$projectkey.'&moduleName='.$modulename;
$allproject = getAllProjects($apiToken,$domain,$projecturl);
echo $allproject;
?>
curl --location --request POST "api.qatouch.com/api/v1/module?projectKey={projectKey}&moduleName={moduleName}" \
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""
Create a new Test Cases in your project.
POST https://api.qatouch.com/api/v1/testCase?projectKey={projectKey}§ionKey={sectionKey}&caseTitle={caseTitle}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
projectKey | Project Key under which the Module to be created |
sectionKey | Provide the section key for under which the test case should be created |
caseTitle | Title of the test case |
curl --location --request POST "api.qatouch.com/api/v1/testCase?projectKey={projectKey}§ionKey={sectionKey}&caseTitle={caseTitle}" \
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""
Provides the list of Releases available for the project.
GET https://api.qatouch.com/api/v1/getAllMilestones/{projectKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/getAllMilestones/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Count of the total Releases available for the project.
GET https://api.qatouch.com/api/v1/count/allMilestones/{projectKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/count/allMilestones/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Create a new Release in your project.
POST https://api.qatouch.com/api/v1/milestone
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
projectKey | Project Key under which the Release to be created |
milestone | Name of the release to be created |
curl --location --request POST "api.qatouch.com/api/v1/milestone?projectKey={projectKey}&milestone={milestone} \
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""
List of Test plans available for the project.
GET https://api.qatouch.com/api/v1/getAllTestPlan/{projectKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
name | To get test plan based on the name provided |
curl --location --request GET "api.qatouch.com/api/v1/getAllTestPlan/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Count of the total Test Plans available for the project.
GET https://api.qatouch.com/api/v1/countTestPlan/{projectKey}
Provides the list of Test Runs available for the project.
GET https://api.qatouch.com/api/v1/getAllTestRuns/{projectKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/getAllTestRuns/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Provides the list of Test Runs the project by filtering the name of Test Runs.
GET https://api.qatouch.com/api/v1/getAllTestRuns/{projectKey}?name={name of testrun}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
name | To get test run based on the name provided |
curl --location --request GET "api.qatouch.com/api/v1/getAllTestRuns/{projectKey}?name={name of testrun}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Test Run detail
GET https://api.qatouch.com/api/v1/getTestRundetails/{projectKey}/{testrunkey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
projectKey | Project Key |
testrunkey | TestRun Key |
curl --location --request GET "https://api.qatouch.com/api/v1/getTestRundetails/{projectKey}/{testrunkey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Count of the total Test Runs available for the project.
GET https://api.qatouch.com/api/v1/count/allTestRuns/{projectKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/count/allTestRuns/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Provides the list of Test Runs Results available for a Test Run.
GET https://api.qatouch.com/api/v1/testRunResults/{projectKey}/{testRunKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/testRunResults/{projectKey}/{testRunKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Return sample result
"link": {
"first": "https://api.qatouch.com/api/v1/testRunResults/WjPV/K5BJ?page=-1",
"last": "https://api.qatouch.com/api/v1/testRunResults/WjPV/K5BJ?page=125",
"prev": null,
"next": "https://api.qatouch.com/api/v1/testRunResults/WjPV/K5BJ?page=2"
},
"meta": {
"current_page": 1,
"from": 0,
"last_page": 1,
"per_page": 100,
"total": 12440
},
{
"run_key": "p9PpL",
"case_id": "v6bMp",
"title": "Verify the Dckap link text in copy right",
"status": "Passed",
"assigned_user": "William Sue"
}
Provides the list of Test Runs Results mapped with test cases.
GET https://api.qatouch.com/api/v1/getTestRunlist/{caseID}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
caseID | Case Id |
curl --location --request GET "https://api.qatouch.com/api/v1/getTestRunlist/{caseID}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
{
"testrunkey": "z5Le",
"resultKey": "NErBy",
"name": "Test Run Sprint 1.0",
"status": "Passed",
"Assigned_To": "William Sue"
}
Provides the list of Test Run Results available for a particular release.
GET https://api.qatouch.com/api/v1/testRunResults/{projectKey}/{releaseKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
status | To get test run results based on the status provided, you can get the available status using List Statuses for Test Run api |
curl --location --request GET "api.qatouch.com/api/v1/testRunResults/{projectKey}/{releaseKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Provides the list of History(s) available of Test Runs Results.
GET https://api.qatouch.com/api/v1/testRunResults/history/{projectKey}/{testRunKey}/{resultKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/testRunResults/history/{projectKey}/{testRunKey}/{resultKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Provides the list of available statuses for Test Runs.
GET https://api.qatouch.com/api/v1/testRuns/getAvailableStatuses
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/testRuns/getAvailableStatuses" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Update the status for the test run.
PATCH https://api.qatouch.com/api/v1/testRunResults/status?status={status}&project={projectKey}&test_run={testRunKey}&run_result={resultKey}&comments={comments}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
status | Status to be updated. |
project | Project Key. |
test_run | Test Run Key. |
run_result | Test Run Result Key. |
comments | Comments for the result update (Optional). |
Available Status | Value |
---|---|
status | passed, untested , blocked , retest , failed , not-applicable , in-progress |
curl --location --request PATCH "api.qatouch.com/api/v1/testRunResults/status?status={status}&project={projectKey}&test_run={testRunKey}&run_result={runResultKey}&comments={comments}" \
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""
The test run's all test cases status will be updated at once.
PATCH https://api.qatouch.com/api/v1/bulkupdate?status={status}&project={projectKey}&test_run={testRunKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
status | Status to be updated. |
project | Project Key. |
test_run | Test Run Key. |
Available Status | Value |
---|---|
status | passed, untested , blocked , retest , failed , not-applicable , in-progress |
curl --location --request PATCH "https://api.qatouch.com/api/v1/bulkupdate?status={status}&project={projectKey}&test_run={testRunKey}" \
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""
curl --location --request PATCH "https://api.qatouch.com/api/v1/bulkupdate?status=blocked&project={projectKey}&test_run={testRunKey}" \
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""
Provides the list of Users in the project available for Testing.
GET https://api.qatouch.com/api/v1/testRun/availableUsers/{projectKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/testRun/availableUsers/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Create a new Test Run in your project.
POST https://api.qatouch.com/api/v1/testRun
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
projectKey | Project Key under which the Test Run to be created |
assignTo | User key to which the Test Run to be assigned |
milestoneKey | Provide the Release key to be assigned to Test Run |
testRun | Title of the Test Run |
curl --location --request POST "api.qatouch.com/api/v1/testRun?projectKey={projectKey}&assignTo={assignTo}&milestoneKey={milestoneKey}&testRun={testRun} \
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""
Add the result to a specific test run result with comments, time spent and attachments
POST https://api.qatouch.com/api/v1/testRunResults/add/
results?status={status}&project={projectKey}
&test_run={testRunKey}
&run_result[]={resultKey}
&run_result[]={resultKey}
&comments={comments}
&time_spent={timeSpent}
Headers
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Form-Data
Key | Value |
---|---|
file[] | Uploaded Image |
Parameters
Parameters | Description |
---|---|
projectKey | Project Key under which the Test Run to be created |
status | Status to be updated |
test_run | Test Run Key |
run_result[] | Test Run Result Key |
comments (Optional) | Comment for the result |
time_spent (Optional) | Total time spent |
curl --location --request POST 'https://api.qatouch.com/api/v1/testRunResults/add/results?status={status}&project={projectKey}&test_run={testRunKey}&run_result[]={resultKey}&run_result[]={resultKey}&comments={comments}&time_spent={timeSpent}' \
--header 'domain: {your-domain}' \
--header 'api-token: {your-api-token}' \
--form 'file[]=@/path/to/folder/image.png' \
--form 'file[]=@/path/to/folder/image2.png'
--data ""
Create a new Test Run in your project by selecting specific test cases.
POST https://api.qatouch.com/api/v1/testRun/specific?projectKey={projectKey}&assignTo={assignTo}&milestoneKey={milestoneKey}&testRun={testRun}&caseId[]={caseId} &caseId[]={caseId}&caseId[]={caseId}&tags={tagsName}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
projectKey | Project Key under which the Test Run to be created |
assignTo | User key to which the Test Run to be assigned |
milestoneKey | Provide the Release key to be assigned to Test Run |
testRun | Title of the Test Run |
caseId | Array of case ids in which test run needs to be created |
tags (Optional) | Tag name which is grouped for the test cases |
curl --location --request POST "https://api.qatouch.com/api/v1/testRun/specific?projectKey={projectKey}&assignTo={assignTo}&milestoneKey={milestoneKey}&testRun={testRun}&caseId[]={caseId} &caseId[]={caseId}&caseId[]={caseId}&tags={tagsName}\
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""
GET https://api.qatouch.com/api/v1/getTestCasesSteps/{caseID}
Parameters | Description |
---|---|
caseID | Case key for the step listing |
GET https://api.qatouch.com/api/v1/getTestCasesSteps/{caseID}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
caseID | Case key for the step listing |
curl --location --request GET "https://api.qatouch.com/api/v1/getTestCasesSteps/{caseID}\
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""
PATCH https://api.qatouch.com/api/v1/testRunResults/steps/status?project={projectKey}
&test_run={testRunKey}&status={status}&result_step[]={stepResultKey}
&result_step[]={stepResultKey}&comments={comments}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
project | Project Key |
test_run | Test Run Key |
status | Status key to be updated |
result_step | Steps Result Key (Array). |
comments | Comments for the result update (Optional) |
curl --location --request PATCH "https://api.qatouch.com/api/v1/testRunResults/steps/status?project={projectKey}
&test_run={testRunKey}&status={status}&result_step[]={stepResultKey}
&result_step[]={stepResultKey}&comments={comments}\
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""
Provides the list of Defects available for the project.
GET https://api.qatouch.com/api/v1/getAllDefects/{projectKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/getAllDefects/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Provides the list of available defect statuses.
GET https://api.qatouch.com/api/v1/defects/status
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/defects/status" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Provides the list of available defect severity.
GET https://api.qatouch.com/api/v1/defects/severity
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/defects/severity" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Provides the list of available defect Issue Type.
GET https://api.qatouch.com/api/v1/defects/issueType
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/defects/issueType" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Provides the list of available defect environments.
GET https://api.qatouch.com/api/v1/defects/environment
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/defects/environment" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Provides the list of available defect priority.
GET https://api.qatouch.com/api/v1/defects/priority
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/defects/priority" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Count of the total Defects available for the project.
GET https://api.qatouch.com/api/v1/count/allDefects/{projectKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/count/allDefects/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Create a new Defect in your project.
POST https://api.qatouch.com/api/v1/defects?projectKey={projectKey}&priority={priority}&issueSummary={issueSummary}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
projectKey | Project Key under which the Defect to be created |
priority | Priority to be given to the Defect |
issueSummary | Title of the Defect |
curl --location --request POST "https://api.qatouch.com/api/v1/defects?projectKey={projectKey}&priority={priority}&issueSummary={issueSummary} \
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""
Create a new Defect in your project.
POST https://api.qatouch.com/api/v1/defects?projectKey={projectKey}&priority={priority}&issueSummary={issueSummary}
Headers
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Form-Data
Key | Value |
---|---|
file[] | Uploaded Image |
Parameters
Parameters | Description |
---|---|
projectKey | Project Key under which the Defect to be created |
priority | Priority to be given to the Defect |
issueSummary | Title of the Defect |
curl --location --request POST "https://api.qatouch.com/api/v1/defects?projectKey={projectKey}&priority={priority}&issueSummary={issueSummary} \
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--form 'file[]=@/path/to/file/image.png' \
--form 'file[]=@/path/to/file/image2.png' \
--data ""
Provides the list of Requirements available for the project.
GET https://api.qatouch.com/api/v1/getAllRequirements/{projectKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/getAllRequirements/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Count of the total Requirements available for the project.
GET https://api.qatouch.com/api/v1/count/allRequirements/{projectKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/count/allRequirements/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Provides the list of Requirement Documents created for your domain.
POST https://api.qatouch.com/api/v1/getAllRequirementDocuments/{projectKey}
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
curl --location --request GET "api.qatouch.com/api/v1/getAllRequirementDocuments/{projectKey}" \
--header "domain: {your-domain}" \
--header "api-token: {your-api-token}" \
--data ""
Create a new Requirement Document in your project.
POST https://api.qatouch.com/api/v1/requirement/document
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
projectKey | Project Key under which the Requirement Document has to be created |
releaseKey | Provide the release key under which Requirement Document has to be created |
title | Title of the Requirement Document |
curl --location --request POST "api.qatouch.com/api/v1/requirement/document?projectKey={projectKey}&releaseKey={releaseKey}&title={title} \
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""
Create a new Requirement Document in your project.
POST https://api.qatouch.com/api/v1/requirement
Headers | Description |
---|---|
domain | Your QA Touch domain. |
api-token | Your secret api-token. |
Parameters | Description |
---|---|
projectKey | Project Key under which the Requirement has to be created |
documentKey | Provide the document key under which Requirement has to be created |
title | Title of the Requirement |
desc | Description of the Requirement |
curl --location --request POST "api.qatouch.com/api/v1/requirement?projectKey={projectKey}&documentKey={documentKey}&title={title}&desc={desc} \
--header "api-token: {your-api-token}" \
--header "domain: {your-domain}" \
--data ""