I've successfully connected to HP ALM, but do not know how to get the test-instance data. This is what the url looks like:
https://hpalm.hostname.ca/qcbin/rest/domains/domain_name/projects/project_name/test-instances
Is there a way to append a query to the URL and get all the test-instances under this project?
Thanks
Use 'http' instead of 'https'
http://hpalm.hostname.ca/qcbin/rest/domains/ {domain_name}/projects/{project_name}/test-instances
If you know the test set folder name these are sequence to testset get details
To get the Parent folder id
http://{url}:{port}/qcbin/rest/domains/{domain_name}/projects/{project_name}/test-set-folders?query={name[nameOfParentFolder];parent-id[0]}&fields=id,name
To get a test set folder id
http://{url}:{port}/qcbin/rest/domains/{domain_name}/projects/{project_name}/test-set-folders?query={name[nameOfTestSetFolder];parent-id[parentFolderId]}&fields=id,name
To get the test set id
http://{url}:{port}/qcbin/rest/domains/{domain_name}/projects/{project_name}/test-sets?query={name[nameOfTestSet];test-set-folder.id[testSetFolderId]}&fields=id,name
To get the testInstanceId/testcycle-id :
http://{url}:{port}/qcbin/rest/domains/{domain_name}/projects/{project_name}/test-instances?query={cycle-id[testSetId];test-id[testId]}&fields=id,name,test-config-id
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.