Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



3 answers

Permanent link
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.

0 votes


Permanent link
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!

0 votes


Permanent link
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 08 '11, 4:12 p.m.

Question was seen: 5,153 times

Last updated: Nov 08 '11, 4:12 p.m.

Confirmation Cancel Confirm