Get test plan favourites/configs
GET
/saved_execution_configs
Base URL
https://app.testsigma.com/api/v1
Retrieve all the Test Plan Favourites/Saved Execution Configs that have been set, used for partial test plan runs.
Authenticate with your API key as a
Bearer token in the
Authorization header. Generate a key →RESPONSE ATTRIBUTES
id | Unique Execution Config identifier. |
name | Name of the saved Execution Config. |
query | JSON-encoded query defining which suites/cases the config includes or excludes. |
executionConfigType | Type of the config - e.g. SAVED_CONFIG. |
executionConfigCondition | Whether the matched items are INCLUDED or EXCLUDED. |
createdByUser | Object describing the creating user, or null. |
REQUEST
curl -X GET \
'https://app.testsigma.com/api/v1/saved_execution_configs' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json'const response = await fetch('https://app.testsigma.com/api/v1/saved_execution_configs', {
method: 'GET',
headers: {
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
});
const data = await response.json();import requests
response = requests.get(
'https://app.testsigma.com/api/v1/saved_execution_configs',
headers={
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
)
data = response.json()RESPONSE200OK
[
{
"id": 2,
"name": "rest conf inc 1",
"query": "[{\"key\": \"suiteId\", \"value\": [114], \"operation\": \"NOT_IN\"}]",
"executionConfigType": "SAVED_CONFIG",
"executionConfigCondition": "EXCLUDED",
"createdByUser": null
},
{
"id": 3,
"name": "plan o1 exclude 2",
"query": "[{\"key\": \"suiteId\", \"value\": [132, 130], \"operation\": \"NOT_IN\"}]",
"executionConfigType": "SAVED_CONFIG",
"executionConfigCondition": "EXCLUDED",
"createdByUser": {
"id": 9,
"email": "bhanu@qateamtestingsprint.com",
"firstName": "Bhanu",
"lastName": "prakash",
"userName": "bhanu",
"status": "Active",
"isDeleted": false,
"isAdmin": true,
"isSuperAdmin": true,
"userType": null,
"isAPIUser": false,
"isCrowdUser": false,
"isMasked": false,
"gdpr": false,
"createdDate": 1657951985000,
"updatedDate": 1657951992000,
"createdById": null,
"updatedById": 9,
"privileges": [],
"authType": null,
"identityServiceId": "7308"
}
},
{
"id": 4,
"name": "update inc to exc 2 suites to 3 suites",
"query": "[{\"key\": \"suiteId\", \"value\": [132, 131, 130], \"operation\": \"NOT_IN\"}, {\"key\": \"reviewedBy\", \"value\": [9], \"operation\": \"NOT_IN\"}, {\"key\": \"assignee\", \"value\": [9], \"operation\": \"NOT_IN\"}]",
"executionConfigType": "SAVED_CONFIG",
"executionConfigCondition": "EXCLUDED",
"createdByUser": null
}
]