How can I create the test artifacts using OSLC API?
One answer
Hi,
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?