It's all about the answers!

Ask a question

Best way to automatically create TestSuites/TestCases/TestScripts in RQM


Eric Dolce (44519) | asked Dec 02 '16, 11:19 a.m.
 Hi All,

I am looking for the best way to automatically create TestSuites/TestCases/TestScripts in RQM, what is the best approach ? Is using the RQM Rest API the only way ?

https://jazz.net/forum/questions/105596/rqm-rest-api-for-creating-test-case

or there are other better approach ?

I see there is a RQM plugin in Jenkins, not sure if it can be used to push tests to RQM.

Thanks!
Eric

Accepted answer


permanent link
Paul Slauenwhite (8.4k12) | answered Dec 06 '16, 7:18 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
The RQM Reportable REST API or RQM OSLC API are you only two options.  I would suggest using the RQM Reportable REST API (see Common Usage Scenarios).  There is some sample Java code that you can use/extend (see RQM API Utility).

RQM plugin for Jenkins: https://wiki.jenkins-ci.org/display/JENKINS/RQM+Plugin

Eclipse Lyo project has implemented a Hudson OSLC Automation provider (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=421371), which could be adapted to work with Jenkins.  Note, this integration would require As a User, I want to Configure (setup) RQM as consumer of remote OSLC build provider (68549) since we only implemented OSLC Automation in RQM 4.0.1 for the deployment subdomain (required for GreenHat integration).
Eric Dolce selected this answer as the correct answer

Comments
Eric Dolce commented Dec 06 '16, 11:23 a.m.

Thanks Paul for the prompt response.

Looking at the Jenkins RQM plugin it looks like it is able to pull the info from RQM and not post the info, do you have experiences using it ?

I will take a look at the RQM Reportable REST API.


Paul Slauenwhite commented Dec 07 '16, 7:03 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Hi Eric,

No, I have never used the plug-in.

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.