Avo Assure - Master User Guide v23.2.0
Search
K
Comment on page

Execution API

URI scheme Host: avoassure.com:8443
BasePath Schemes: HTTPS
Consumes application/json
Produces application/json
Paths POST/ExecuteTestSuite_ICE_SVN Description: Execute Avo Assure Test Suite.
post
https://avoassure.com:8443
/ExecutionTestSuite_ICE_SVN
ExecuteTestSuite_ICE_SVN
The object executionData contains the following:
Name
Data Type
Description
source
string
exectionMode
string
executionEnv
string
browserType
array
integration
object
batchInfo
array
The object integration contains the following:
Name
Data Type
Description
alm
array
qtest
array
zephyr
array
The array alm contains the following:
Name
Data Type
Description
url
string
username
string
password
string
The array qtest contains the following:
Name
Data Type
Description
url
string
username
string
password
string
qteststeps
string
The array zephyr contains the following:
Name
Data Type
Description
authtype
string
url
string
username
string
password
string
apitoken
string
The array batchInfo contains the following:
Name
Data Type
Description
testsuiteName
string
testsuiteId
string
appType
string
domainName
string
projectName
string
projectId
string
releaseId
string
cycleName
string
cycleId
string
suiteDetails
array
The array suiteDetails contains the following:
Name
Data Type
Description
condition
boolean (0 or 1)
dataparam
array
scenarioId
string
scenarioName
string
Schema- Single Module Execution
Example
Schema- Batch Execution
Example
{
"executionData": [{
"source": " ",
"executionMode": " ",
"executionEnv": " ",
"browserType": [" "],
"integration": {
"alm": {
"url": " ",
"username": " ",
"password": " "
}
"qtest": {
"url": " ",
"username": " ",
"password": " ",
"qteststeps": " "
}
"zephyr": {
"url": " ",
"username": " ",
"password": " "
}
},
"batchInfo": [{
"testsuiteName": " ",
"testsuiteId": " ",
"appType": " ",
"domainName": " ",
"projectName": " ",
"projectId": " ",
"releaseId": " ",
"cycleName": " ",
"cycleId": " ",
"suiteDetails": [{
"condition": <integer>,
"dataparam": [" "],
"scenarioId": " ",
"scenarioName": " "
}]
}]
}]
}
{
"executionData": [{
"source": "api",
"executionMode": "serial",
"executionEnv": "default",
"browserType": ["1"],
"integration": {
"alm": {
"url": " ",
"username": " ",
"password": " "
}
"qtest": {
"url": " ",
"username": " ",
"password": " ",
"qteststeps": " "
}
"zephyr": {
"url": " ",
"username": " ",
"password": " "
}
},
"batchInfo": [{
"testsuiteName": "Module_Web_Excel",
"testsuiteId": "5df71837d9be728cf8e7fed7",
"appType": "Web",
"domainName": "Manufacturing",
"projectName": "Web",
"projectId": "5de4e4aed9cdd57f4061bca5",
"releaseId": "R1",
"cycleName": "C1",
"cycleId": "5de4e4aed9cdd57f4061c354",
"suiteDetails": [{
"condition": 0,
"dataparam": [" "],
"scenarioId": "5de4e572d9cdd57f40624d85",
"scenarioName": "Scenario_Web_ExcelKeywords"
}]
}]
}]
}
{
"executionData": [{
"source": " ",
"executionMode": " ",
"executionEnv": " ",
"browserType": [" "],
"integration": {
"alm": {
"url": " ",
"username": " ",
"password": " "
}
"qtest": {
"url": " ",
"username": " ",
"password": " ",
"qteststeps": " "
}
"zephyr": {
"url": " ",
"username": " ",
"password": " "
}
},
"batchInfo": [{
"testsuiteName": " ",
"testsuiteId": " ",
"appType": " ",
"domainName": " ",
"projectName": " ",
"projectId": " ",
"releaseId": " ",
"cycleName": " ",
"cycleId": " ",
"suiteDetails": [{
"condition": <integer>,
"dataparam": [" "],
"scenarioId": " ",
"scenarioName": " "
}]
},{
"testsuiteName": " ",
"testsuiteId": " ",
"appType": " ",
"domainName": " ",
"projectName": " ",
"projectId": " ",
"releaseId": " ",
"cycleName": " ",
"cycleId": " ",
"suiteDetails": [{
"condition": <integer>,
"dataparam": [" "],
"scenarioId": " ",
"scenarioName": " "
}]
},{
"testsuiteName": " ",
"testsuiteId": " ",
"appType": " ",
"domainName": " ",
"projectName": " ",
"projectId": " ",
"releaseId": " ",
"cycleName": " ",
"cycleId": " ",
"suiteDetails": [{
"condition": <integer>,
"dataparam": [" "],
"scenarioId": " ",
"scenarioName": " "
}]
}]
}]
}
{
"executionData": [{
"source": "api",
"executionMode": "serial",
"executionEnv": "default",
"browserType": ["1"],
"integration": {
"alm": {
"url": " ",
"username": " ",
"password": " "
}
"qtest": {
"url": " ",
"username": " ",
"password": " ",
"qteststeps": " "
}
"zephyr": {
"url": " ",
"username": " ",
"password": " "
}
},
"batchInfo": [{
"testsuiteName": "Module_Excel",
"testsuiteId": "5df71837d9be728cf8e7febb",
"appType": "Web",
"domainName": "Manufacturing",
"projectName": "Web",
"projectId": "5de4e4aed9cdd57f4061bca5",
"releaseId": "R1",
"cycleName": "C1",
"cycleId": "5de4e4aed9cdd57f4061c354",
"suiteDetails": [{
"condition": 0,
"dataparam": [" "],
"scenarioId": "5de4e572d9cdd57f40624cc7",
"scenarioName": "Scenario_Excel"
}]
},{
"testsuiteName": "Module_Demo_Test",
"testsuiteId": "5df71837d9be728cf8e7feb6",
"appType": "Web",
"domainName": "Manufacturing",
"projectName": "Web",
"projectId": "5de4e4aed9cdd57f4061bca5",
"releaseId": "R1",
"cycleName": "C1",
"cycleId": "5de4e4aed9cdd57f4061c354",
"suiteDetails": [{
"condition": 0,
"dataparam": [" "],
"scenarioId": "5de4e572d9cdd57f40624cba",
"scenarioName": "Scenario_Demo_Test"
}]
},{
"testsuiteName": "M_10209",
"testsuiteId": "60a73d63ad4928bfb4c8f9fc",
"appType": "Web",
"domainName": "Manufacturing",
"projectName": "Web",
"projectId": "5de4e4aed9cdd57f4061bca5",
"releaseId": "R1",
"cycleName": "C1",
"cycleId": "5de4e4aed9cdd57f4061c354",
"suiteDetails": [{
"condition": 0,
"dataparam": [" "],
"scenarioId": "5ff8320a0a21341204babbc1",
"scenarioName": "M_10209"
}]
}]
}]
}
The response RespData has the following parameters:
Name
Data Type
Description
executionStatus
array
The array executionStatus contains the following:
Name
Data Type
Description
icename
string
tokenname
string
tokenValidation
string
status
string
batchInfo
array
The array batchInfo contains the following:
Name
Data Type
Description
testsuiteName
string
testsuiteId
string
executionId
string
suiteDetails
array
The array suiteDetails contains the following:
Name
Data Type
Description
scenarioname
string
scenarioid
string
overallstatus
string
EllapsedTime
string
EndTime
string
browserVersion
string
StartTime
string
browserType
string
date
string
time
string
terminatedBy
string
Note:
  • For executing and updating the status of the execution in the third party tools via the execution API, the following values must be specified (with respect to the intended integration tool):
    • URL
    • Username
    • Password
  • For Zephyr, the authorization can be performed in two ways: one as mentioned above (Basic Authorization) and the other method is by SSO Login, in which the user has to provide the URL and token (API key generated from Zephyr). To differentiate the method of login, the following formats can be followed while updating the integration section of Zephyr during execution API.
Basic Authorization
Token Authorization
{
"authtype": "basic",
"url": “https://demoserver.com",
"username": "demo.user",
"password": "demo@123"
}
{
"authtype": "token",
"url": "https://demoserver.com",
"apitoken": “17816ebb597f9bab1fdc456b42ca63f9488f07be"
}
  • For qTest integration via API, ‘qteststeps’ value can also be passed. This value can accept Boolean values or integer forms of Boolean values.
  • For Git Integration, the Git details must be specified. For more information on Git Integration – Execution via API, refer here.