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

How can I create the test artifacts using OSLC API?

 


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.

0 votes



One answer

Permanent link

 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

0 votes

Comments

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

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.

 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?

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).

 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 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,941
× 7,499

Question asked: Oct 10 '17, 7:16 a.m.

Question was seen: 2,778 times

Last updated: Oct 27 '17, 6:05 a.m.

Confirmation Cancel Confirm