Test step details are not populated for some test scripts while trying to fetch from CLM Using Rest API
This is the url used to fetch
https://<dns>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<pojectname>/testscript?fields=feed/entry/content/testscript/(*|testcase[@href=%27https://<dns>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectname>/testcase/urn:com.ibm.rqm:testcase:202081%27%5D)%26abbreviate=false%26
This url doesnt return the test step details for some test scripts for which we can see the steps in CLM. This mostly happens in copied scripts or cases.
Can any one please help.
Cheers
One answer
Try:
GET https://<dns>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectname>/testscript?fields=feed%2Fentry%2Fcontent%2Ftestscript%2F%28%2A%7Ctestcase%5B%40href%3D%27https%3A%2F%2F%3Cdns%3E%2Fqm%2Fservice%2Fcom.ibm.rqm.integration.service.IIntegrationService%2Fresources%2F%3Cprojectname%3E%2Ftestcase%2Furn%3Acom.ibm.rqm%3Atestcase%3A202081%27%5D%29&strictFields=true
Comments
Donald Nong
Mar 29 '18, 5:16 a.m.The URL looks quite strange because some of the special characters are escaped, but some not. Also, if the same type of URL works for some script but not others, no one can answer your question because no one else can see your data except yourself.