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

RQM Rest API to query test case when name contains ampersand (&)

I am trying to use Rest API to query a test case, and the test case name contains &. e.g

FPGC_65661_01_10:[Layout&Page Folder] delete a folder which has child items

I tried the following query, but it is not working, it is getting all test cases. I guess I need to escape the &,  but not sure how.

https://ecdclm.ottawa.ibm.com:9445/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/WebSphere+Commerce+%28Quality+Management%29/testcase?fields=feed/entry/content/testcase[title="FPGC_65661_01_10:[Layout&Page+Folder]+delete+a+folder+which+has+child+items"]/(*|testplan[@href="https://ecdclm.ottawa.ibm.com:9445/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/WebSphere+Commerce+%28Quality+Management%29/testplan/urn:com.ibm.rqm:testplan:420"])

0 votes


Accepted answer

Permanent link
Yes, you need to percent-encode the URL reserved characters (see http://en.wikipedia.org/wiki/Percent-encoding).
Bob Wang selected this answer as the correct answer

2 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: Jun 07 '13, 3:48 p.m.

Question was seen: 5,915 times

Last updated: Jun 10 '13, 7:31 a.m.

Confirmation Cancel Confirm