It's all about the answers!

Ask a question

How to create test plan and test suite in java code how can i do rest call extracting from RQM via Java code?


ravikiran guntupalli (1113) | asked May 05 '15, 9:45 a.m.

How to create test plan and test suite in java code how can i do rest call while extracting from RQM via Java code?

I have urlconstructutil.class is there here all the rest url I am mention

for example :-

RQM_BASE_URL = "/service/com.ibm.rqm.integration.service.IIntegrationService/resources/"

 public static String constructTestCaseRetreivalUrl( final String serverUrl, final String projectName )
   {if (projectName != null)
      { final String baseUrl = serverUrl + RQM_BASE_URL + projectName + "/testcase";
         final UrlGenerator urlGenerator = new UrlGenerator( baseUrl );
         final String params = "fields=feed/entry/content/testcase/(id|content|title|owner|webId|remotescript|identifier|creationDate|updated|priority|state)";
         urlGenerator.setParameter( FIELDS, params );
         return urlGenerator.getUrl();
      }
      return null;
   }


In the same way  how can I create rest call for Testplan and TestSuite need a help

I am new for this jazz.net

One answer



permanent link
Donald Nong (14.5k614) | answered May 05 '15, 8:17 p.m.
Simply replace "/testcase" with "/testplan" or "/testsuite" for the variable "baseUrl". Of course the field selection "params" needs to be changed accordingly. For more details, check the RQM reportable REST API.
https://jazz.net/wiki/bin/view/Main/RqmApi

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.