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.
|
One answer
![]() 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 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
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.