It's all about the answers!

Ask a question

Unable to retrieve all the sections of Test Plan using RQM URL utility (RQM v5.0.2)


Rajesh Avanthi (10814120171) | asked Sep 03 '15, 11:08 a.m.

We are using this URL to get the data
Ref url : 
https://jazz.net/wiki/bin/view/Main/RqmApi

Here is the command:

java.exe -jar C:\RQMAPIUtility.jar -c=readAlltestplanResources
-
qm= https://rtcclm2:9443/qm/ 
-pa=""VIL_Test+%28Quality+Management%29""
 -
u=username
-pw=password
-l=c:\apilog.txt
-rt=testcase
-r=C:\testplans.

xml -o

result is
<entry xmlns=" http://www.w3.org/2005/Atom">

    <id>
IIntegrationService/resources/VIL_Test+%28Quality+Management%
29/testplan/urn:com.ibm.rqm:testplan:33</id>
    <title type="text">DM9118</title>
    <summary type="text"></summary>
    <updated>2015-07-16T13:13:40.527Z</updated>
    <link href=" type="application/xml"></link>
    <content type="application/xml">
      <ns2:testplan xmlns:ns2="
xmlns:ns1="  xmlns:ns3="  xmlns:ns7="
 xmlns:ns8="
xmlns:ns15="  xmlns:
ns16="  xmlns:
ns17="  xmlns:ns19="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns20="         <ns2:projectArea alias="VIL_Test+%28Quality+Management%29"
href="
ProjectArea/_cHvwROmfEeSKdJI-AZhMGA"/>
        <ns3:identifier> 28Quality+Management%29/testplan/urn:com.ibm.rqm:testplan:33</ns3:
identifier>
        <ns2:stylesheet href=" 28Quality+Management%29/testplan/urn:com.ibm.rqm:testplan:33?stylesheet=true"/>
        <ns2:webId>33</ns2:webId>
        <ns3:title>DM9118</ns3:title>
        <ns3:description/>
        <ns2:creationDate>2015-07-16T10:52:03.898Z</ns2:creationDate>
        <ns5:updated>2015-07-16T13:13:40.527Z</ns5:updated>
        <ns5:state ns7:resource=" info/_cHvwROmfEeSKdJI-AZhMGA/workflowstate/com.ibm.rqm.process.testplan.
workflow/com.ibm.rqm.planning.common.new">com.ibm.rqm.planning.common.
new</ns5:state>
        <ns3:creator ns7:resource=" Contributor/ rajeku92@in.ibm.com"> rajeku92@in.ibm.com</ns3:creator>
        <ns5:owner ns7:resource="
https://rtcclm1:9443/jts/resource/itemName/com.ibm.team.repository.Contributor/swati.
mohapatra@in.ibm.com"> swati.mohapatra@in.ibm.com</ns5:owner>
        <ns2:priority ns7:resource="
https://rtcclm2:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/process-
info/_cHvwROmfEeSKdJI-AZhMGA/priority/literal.priority.101">literal.
priority.101</ns2:priority>
        <ns2:locked>false</ns2:locked>
        <ns3:alias>urn:com.ibm.rqm:testplan:33</ns3:alias>
        <ns2:category value="RA/CIR" term="Portfolio"/>
        <ns2:category value="Outbound SMS" term="Application"/>
        <ns2:category value="Circle Apps" term="App Group"/>
        <ns2:template href=" 28Quality+Management%29/template/testplan/com.ibm.rqm.planning.
templates.testplan.template_1430205789279"/>
        <ns2:relatedChangeRequest summary="2163: DM9118" rel="
trackedBy" href="         <ns2:customAttributes>
          <ns2:customAttribute required="true" type="SMALL_STRING">
            <ns2:identifier>DM_ID</ns2:identifier>
            <ns2:name>DM ID</ns2:name>
            <ns2:value>DM9118</ns2:value>
            <ns2:description/>
          </ns2:customAttribute>
          <ns2:customAttribute required="true" type="SMALL_STRING">
            <ns2:identifier>SR_Number</ns2:identifier>
            <ns2:name>SR Number</ns2:name>
            <ns2:value>DM-9118</ns2:value>
            <ns2:description/>
          </ns2:customAttribute>
        </ns2:customAttributes>
      </ns2:testplan>
    </content>
  </entry>

We are not getting below details which are required for reporting. We also need details on
  1. Test Plan In SCope
  2. Test Plan Out Of Scope
  3. Test Objectives
  4. Test Environment
  5. Assumptions
  6. Exclusion
  7. Dependencies
This sections are present in RQM UI in for Test Plan

One answer



permanent link
Paul Slauenwhite (8.3k12) | answered Sep 03 '15, 11:27 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Test plans have the following properties:

https://jazz.net/products/rational-quality-manager/api-doc-6.0/schemas/qm_xsd/elements/testplan.html

Note, test environments are called configurations.

The RQM API Utility builds on the RQM Reportable REST API.  Not all test resource properties are included using the default query parameters.  You can specify custom query parameters (see https://jazz.net/wiki/bin/view/Main/RqmApi#Optional_Parameters) using the -qs/-queryString argument.

Your answer


Register or to post your answer.