It's all about the answers!

Ask a question

how to get the testcase steps ?

george claud (12811) | asked May 01 '14, 11:19 a.m.

I need help in getting a testcase steps using(someone told me this is the only way to comunicate from c# with IBM CLM QM) :

Rational Quality Manager Reportable REST API


Rational Quality Manager (RQM) Open Services for Lifecycle Collaboration (OSLC) Quality Management (QM) Version 2 (V2) API

From my research a possible way to add test steps to a testcase is to add a manual script and in the manual script add the test steps. Then the manual scritp needs to be associated with a testcases.

By reading :

Rational Quality Manager Reportable REST API

Rational Quality Manager (RQM) Open Services for Lifecycle Collaboration (OSLC) Quality Management (QM) Version 2 (V2) API

I couldnt find how to retreive the test steps...

Please can you help me ?

Accepted answer

permanent link
Ara Masrof (3.2k15) | answered May 01 '14, 12:03 p.m.
edited May 01 '14, 12:05 p.m.
 A 'step' is a part of the XML of Test Script; so you would need to return the XML of a specific Test Script and parse through it looking for the step information 

You can using the REST API to return the Test Script data in XML
For example:
GET https://clm:9443/qm/service/

Public URI is "clm:9443"
My QM Project is : LPA+project+1+%28Quality+Management%29
My Script ID is 34

Also be sure to use the Request header 'accept' with a value of  text/xml or application/xml  in your request
This will return the xml of the test script; you then would need to then parse out the data you are interested in 

For more information about the QM REST API see the WIKI linked below

george claud selected this answer as the correct answer

One other answer

permanent link
Stephane Leroy (1.4k149) | answered May 06 '14, 8:54 a.m.
Hi George,
in addition to Ara's answer, making you aware of a list of samples on how to access/create resources in RQM (through both REST API & OSLC):

george claud commented May 06 '14, 8:58 a.m.

From you blog is not clear what is the difference between OSCL and REST APIS.
Boths seems to be HTTP adresses....

Stephane Leroy commented May 06 '14, 9:50 a.m. | edited May 06 '14, 9:52 a.m.

Yes. Both are HTTP based.

For you to better differentiate between OSLC and REST API (esp. from an RQM perspective), you could check comparison table appearing here:

Adding that, if you want more insight on OSLC, you could check:
You could also check the OSLC workshop on

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.