It's all about the answers!

Ask a question

How can I create the test artifacts using OSLC API?


shweta ranaware (371952) | asked Oct 10 '17, 7:16 a.m.
edited Oct 10 '17, 7:17 a.m.

 


Hi,
   
   I am currently using the RQM 6.0.2 and want to Create/fetch the test artifacts pro grammatically. so Is there any approach to do this.
if yes, then how i can do that.

One answer



permanent link
Antonio Napoles (2861) | answered Oct 20 '17, 11:10 a.m.
JAZZ DEVELOPER

 Hi,


You can use the RQM Rest API (https://jazz.net/wiki/bin/view/Main/RqmApi) to make CRUD operations via http requests. You may also find the RQM Url Utility source code (which uses our REST API) useful to start your development. Source for Url Utility is included with the tool (https://jazz.net/wiki/bin/view/Main/RQMURLUtility).

regards,
    napoles


Comments
shweta ranaware commented Oct 27 '17, 3:01 a.m.

 Can anyone share REST API code snippet which creates artifacts in RQM


Donald Nong commented Oct 27 '17, 3:18 a.m.

What "code" do you need? It's simply a POST request to the resource URL. You can find Java source code in the RQM URL Utility if that's what you are after.


shweta ranaware commented Oct 27 '17, 5:35 a.m.

 So I already successfully done testing of RQMUrl utility but by i am not aware about REST API so is both are same or has any difference? I tested RQMUrlUtility with post, get, put command but it is standalone application and need to pass xml file. My requirement is I need to send object of POJO class. Is this possible to integrate this standalone RQMUrlUtility in java based dynamic web application?


Donald Nong commented Oct 27 '17, 5:54 a.m.

RQM does not provide Java API, so there is no simple way to translate a test artifact to POJO class. You can have a look at the Lyo project, but then you need to get familiar with the OSLC API (similar but different to the REST API).


shweta ranaware commented Oct 27 '17, 6:05 a.m.

 Ya thats right I want to create test artifacts using OSLC API. Can you guide me about how to create or modify test artifacts using OSLC API?

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.