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

Test case REST API has identifier filed as test case title instead of urn:com.ibm.rqm:testcase:32

i'm accessing testcases via Rest API . i see few of the testcases Identifer are in format show below. https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:32

but few of them have title as there ID as show below.

https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testcase/TEST_CASE _TITLE

this is causing problems for accessing testcases which have special characters in there title.

Is there a solution for this? is there any workaround?

 

0 votes

Comments

Do you mean that if you access to test case by id(corresponding to TEST_CASE _TITLE) with:

https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:xx
it does not work for you and you have to use TEST_CASE _TITLE instead?

Hi Don Yang,

i use the below url to get all the test cases :

https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testcase/

Inside response xml i have the ID tag which hold links for the testcase : test case 1 (hello + world)

https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testcase/test+case+1+(hello +++world)

when i try this link i get 404 error.



2 answers

Permanent link
Hi Anup,

The testcases which have been created from RQM UI will have ID as mentioned in 1st link. But if the testcase is imported using some importer for eg. RQMExcelImporter, the ID can be customized by user which results in ID mentioned by 2nd link.

There is no way to change or modify this ID

Thanks

0 votes

Comments

Thanks Reshma.

but is there a workaround to access these testcases without ID tag?

Reshma,

Also it will be great help if you can share any guidelinesĀ doc on how to create these testcases via importer so there is access issues.


Permanent link
I am curious how those IDs with space got into RQM. I tried with RQM 4.0.6 and some special characters such as space( ), plus(+) and slash(/) got converted to something else before being imported into RQM. In other words, I did not find a way to make the IDs have space in them. I used the keyword XLSArtifactID to specify the external ID and could see the ID changes even in the progress window.
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/topic/com.ibm.rational.test.qm.doc/topics/t_create_config_files_import_excel_artifacts.html
I think you are in an awkward position now with regard to handling such data. Try to contact Support and see if you can get some further assistance.

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: May 28 '14, 7:22 a.m.

Question was seen: 3,377 times

Last updated: May 29 '14, 4:43 a.m.

Confirmation Cancel Confirm