XML representation of the tescase in REST RQM 301
Hello all,
I need to be able to see what REST is returning for a particular test case in RQM 301. I have a link to the test case feed:
https://<server>:<port>jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestArea/testcase
However when I try to use this link:
https://<server>:<port>/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestArea/testcase/urn:com.ibm.rqm:testcase:999
in the browser, I get my test case opened with RQM interface and I need to see the xml representation of it.
What is the correct link?
Thank you!
Nataliya
I need to be able to see what REST is returning for a particular test case in RQM 301. I have a link to the test case feed:
https://<server>:<port>jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestArea/testcase
However when I try to use this link:
https://<server>:<port>/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestArea/testcase/urn:com.ibm.rqm:testcase:999
in the browser, I get my test case opened with RQM interface and I need to see the xml representation of it.
What is the correct link?
Thank you!
Nataliya
3 answers
Hello all,
I need to be able to see what REST is returning for a particular test case in RQM 301. I have a link to the test case feed:
https://<server>:<port>jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestArea/testcase
However when I try to use this link:
https://<server>:<port>/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestArea/testcase/urn:com.ibm.rqm:testcase:999
in the browser, I get my test case opened with RQM interface and I need to see the xml representation of it.
What is the correct link?
Thank you!
Nataliya
To get the API to return the XML version of a resource you need to include and Accept=text/xml header with the request. Unfortunately you can't do that with a browser, but you can do it if you use separate tool like Poster.
Do you mean that when you run this link you see the feed of test cases
and when you click on any entry it brings your to the editor?
To see the xml of the feed just use the browser's Show Source function.
You need to add the fields parameter to specify what content of the test
cases should be included as well. If you have Insight you can use the
XDC editor and Data Manager to generate the right URLs for you and run
simple SQL queries in DM's SQL window.
Peter.
and when you click on any entry it brings your to the editor?
To see the xml of the feed just use the browser's Show Source function.
You need to add the fields parameter to specify what content of the test
cases should be included as well. If you have Insight you can use the
XDC editor and Data Manager to generate the right URLs for you and run
simple SQL queries in DM's SQL window.
Peter.