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

how to get the testcase steps ?

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

and/or

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 ?

0 votes


Accepted answer

Permanent link
 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/com.ibm.rqm.integration.service.IIntegrationService/resources/LPA+project+1+%28Quality+Management%29/testscript/urn:com.ibm.rqm:testscript:34

Where....
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
Ara

george claud selected this answer as the correct answer

0 votes


One other answer

Permanent link
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): 
http://sleroyblog.wordpress.com/2013/04/09/querying-rqm-40-through-oslc-and-rest-api/
Regards,
Stéphane

0 votes

Comments

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

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: https://jazz.net/wiki/bin/view/Main/RqmOslcQmV2Api#RQM_Reportable_REST_API

Adding that, if you want more insight on OSLC, you could check:
http://open-services.net/
You could also check the OSLC workshop on Jazz.net:
https://jazz.net/library/article/635

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
× 10,938
× 7,497

Question asked: May 01 '14, 11:19 a.m.

Question was seen: 4,833 times

Last updated: May 06 '14, 9:52 a.m.

Confirmation Cancel Confirm