Problem in xml request. Two environments return different types of ids.
Hi. I am having a problem with my code in an environment obtaining an xml with StringRQMUrlGET. I have two environments. Both have clm 4.0.2. Their difference is:
1-Tomcat 7 and db2 express c 9.7.
2- Websphere and oracle.
I wrote some code that involve a get of a test suite xml. The thing is, when i try to get a test suite with its id, i have different results. I get the test suite like this:
https://<public uri>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectname>/testsuite/urn:com.ibm.rqm:testsuite:3361
Then i have different results on the environments:
- In number 1, i have the tests cases from the 3361 test suite, they are with internal id:
https://<public uri>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectname>/testcase/urn:com.ibm.rqm:testcase:391
- In number 2, the xml has test cases with UUID with this:
https://<public uri>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectname>/testcase/391
Why should this be? i need to return the internal id, but i don't know why the second environment is returning the other one.
2 answers
Comments
Hi Ara. The different environments are complete different (work items, artifacts, etc.) They are not related.
Ignacio,
1 vote
Aaaah. Now i understand what you people where saying to me haha. All-right, the problem now is that the test cases where created in rqm web. How can i know if my rqm creates them with post or put? can i configure that somewhere?
The ID gives the only indication how the test artifact was created.