It's all about the answers!

Ask a question

Test suite using the API


charles Greene (1144) | asked Feb 20 '12, 6:48 a.m.
Hi Everyone,

I am very new to RQM, adn I am trying to create a test suite using the API -

I have scanned through a few docs here searching on how to use the API (RQMURLutil / RQMCopyUtil ) but I stii haven't found :

- How to use the API to create a Test suite
- A best guideline on how to use the API.

Can anyone help me or provide a sample code, please?

4 answers



permanent link
Hao Wan (1.5k35) | answered Feb 20 '12, 8:44 p.m.
JAZZ DEVELOPER
hi charegre,

this following 2 links is for your reference.
Rational Quality Manager Reportable REST API
https://jazz.net/wiki/bin/view/Main/RqmApi#HTTP_GET_Requests

XML Schema Documentation
https://jazz.net/projects/rational-quality-manager/api-doc-3.0/

one way to see how the artifact xml looks like, you can create a testcase in RQM UI, and commit GET request to the testcase service url.

the testcases service url you can usually find in the link like below
https://qmserver:port/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/your qm project area/testcase

and the RQMURLutil has a read me file is also a good reference.

Hope this will help you.

permanent link
charles Greene (1144) | answered Feb 21 '12, 4:26 a.m.
Hi Wanhobj

Thank you for replying,

I tried the link you have written

https://qmserver:port/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/your qm project area/testcase

But I get a 404 error, my RQM server is 2.0.1.1 Fix 4. Could it be a version issue or something else?

permanent link
charles Greene (1144) | answered Feb 21 '12, 6:41 a.m.
Hi Wanhobj,

I solved the issue, instead of /qm/secure is /jazz/secure -
I have a question, has anyone tried to retrieve the testscripts from api? It seems only to fetch the manual script and not the command line one

permanent link
Paul Slauenwhite (8.4k12) | answered Feb 23 '12, 6:05 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Two additional references:

https://jazz.net/wiki/bin/view/Main/RqmApi#contextRoot
https://jazz.net/wiki/bin/view/Main/RqmApi#ScenarioCreateTip

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.