It's all about the answers!

Ask a question

XML representation of the tescase in REST RQM 301


Nataliya Kisina (862115) | asked Nov 08 '11, 4:12 p.m.
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

3 answers



permanent link
Robert Rassmann (9923) | answered Nov 08 '11, 5:21 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
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.

permanent link
Nataliya Kisina (862115) | answered Nov 09 '11, 9:00 a.m.
Robert, thank you for reply.
Since I am at client site, I am not allowed to use Firefox. We have IE8 only. Is there a tool like Poster but for Internet Explorer?

Thanks!

permanent link
Peter Haumer (2.2k12019) | answered Nov 09 '11, 6:08 p.m.
JAZZ DEVELOPER
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.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.