have csv file mapping  columns: ALMFolder,JenkinsJobName ,TestInstanceName.

Example row in csv is

ALMFolder =PrdName/Automation_RegressionSuite/04 Regression Testing 
Auto/abc/Paytype/PayRelated/AdditionalPayments
JenkinsJobName = JobName in Jenkins
TestInstanceName= TestInstance name in TestLab w.rt.above ALMFolder

Jenkins job will provide output.xml(robot results) -> using python I 
prepared a dictionary {TestInstanceName:PASS/FAIL}

I need to update results in ALM using Rest API.

I'm not able to find a way to locate TestInstanceName in test Lab using 
given ALMFolder structure of TestLab.

Please help in this regards.

I tried to get using below statements:

 

response = requests.get(almURL + midPoint + 
"<ProjectName>/test-instances/?page-size=20000" , headers=headers, 
cookies=cookies)


response.status_code is 200
response.content is  huge  and where i dont find any test instance names

Where as

response = requests.get(almURL + midPoint + 
"<ProjectName>/Root/Automation_RegressionSuite/04 Regression Testing 
Auto/abc/Paytype/PayRelated/AdditionalPayments" , headers=headers, 
cookies=cookies


response.status_code is 404
response.content {"Id":"qccore.general-error","Title":"Not 
Found","ExceptionProperties":null,"StackTrace":null}

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to