Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RQM 6.0.2: What is the maximum number of custom categories and what is the maximum number of custom attributes that can be added to test artifacts?

RQM 6.0.2/3: What is the maximum number of custom categories and what is the maximum number of custom attributes that can be added to test artifacts?
Thanks

0 votes


Accepted answer

Permanent link
Ive tested it in my 502 env. using RESTAPI:

The maximum number of custom categories for Test Case in 502 is: 45
I was able to add more than 2000 custom attributes to test case.

You can try the same in your 602 env.:

eg:
https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:35

<ns2:category value="Release 1" term="1"/>
<ns2:category value="Release 1" term="2"/>
<ns2:category value="Release 1" term="3"/>
.
.
.
<ns2:category value="Release 1" term="2000"/>

<ns2:customAttribute required="false" type="MEDIUM_STRING"><ns2:identifier>aaa1</ns2:identifier><ns2:name>aaa1</ns2:name><ns2:value>NEW VALUE</ns2:value><ns2:description/></ns2:customAttribute>
<ns2:customAttribute required="false" type="MEDIUM_STRING"><ns2:identifier>aaa2</ns2:identifier><ns2:name>aaa2</ns2:name><ns2:value>NEW VALUE</ns2:value><ns2:description/></ns2:customAttribute>
<ns2:customAttribute required="false" type="MEDIUM_STRING"><ns2:identifier>aaa3</ns2:identifier><ns2:name>aaa3</ns2:name><ns2:value>NEW VALUE</ns2:value><ns2:description/></ns2:customAttribute>
.
..
<ns2:customAttribute required="false" type="MEDIUM_STRING"><ns2:identifier>aaa2000</ns2:identifier><ns2:name>aaa2000</ns2:name><ns2:value>NEW VALUE</ns2:value><ns2:description/></ns2:customAttribute>

</ns2:customAttributes>
</ns2:testcase>

Neeta Valera selected this answer as the correct answer

0 votes

Comments

Thank you. I will try it in 602.


2 other answers

Permanent link
Hi Neeta,

I just tested it in my 602 env.

It seems that the maximum number of custom categories for Test Case is 46.

I get the following error when I try more than that:

 <ns2:trace>com.ibm.team.repository.common.TeamRepositoryException: CategoryType limit exceeded for TestCase
    at com.ibm.rqm.planning.service.internal.rest.CategoryTypeRestService.assertMaxLimitNotExceeded(CategoryTypeRestService.java:546)
    at com.ibm.rqm.planning.service.internal.rest.CategoryTypeRestService.access$1(CategoryTypeRestService.java:541)

Here is what I did:

Using HttpRequest

URL:
https://linuxclm602:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:31
Header: Accept    = true

First you use GET to copy the xml content:
then you past it in " Content to Send"
Content Type     = application/xml
eg:

<?xml version="1.0" encoding="UTF-8"?>
<ns2:testcase xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:ns1="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns3="http://schema.ibm.com/vega/2008/" xmlns:ns4="http://purl.org/dc/elements/1.1/" xmlns:ns5="http://jazz.net/xmlns/prod/jazz/process/0.6/" xmlns:ns6="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns7="http://purl.org/dc/terms/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns10="http://open-services.net/ns/core#" xmlns:ns11="http://open-services.net/ns/qm#" xmlns:ns12="http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/" xmlns:ns13="http://www.w3.org/2002/07/owl#" xmlns:ns14="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns15="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1" xmlns:ns16="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns17="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1" xmlns:ns18="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/" xmlns:ns20="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns21="http://www.w3.org/1999/XSL/Transform">
    <ns2:projectArea href="https://linuxclm602:9443/qm/resource/itemOid/com.ibm.team.process.ProjectArea/_esGN4DVbEeagPKafSkMgFA" alias="JKE+Banking+%28Quality+Management%29"/>
    <ns4:identifier>https://linuxclm602:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:31</ns4:identifier>
    <ns2:stylesheet href="https://linuxclm602:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:31?stylesheet=true"/>
    <ns2:webId>31</ns2:webId>
    <ns4:title>Jp test</ns4:title>
    <ns4:description/>
    <ns2:creationDate>2016-06-20T13:40:12.023Z</ns2:creationDate>
    <ns6:updated>2016-06-20T13:47:07.370Z</ns6:updated>
    <ns6:state ns1:resource="https://linuxclm602:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/process-info/_esGN4DVbEeagPKafSkMgFA/workflowstate/com.ibm.rqm.process.testcase.workflow/com.ibm.rqm.planning.common.new">com.ibm.rqm.planning.common.new</ns6:state>
    <ns4:creator ns1:resource="https://linuxclm602:9443/jts/resource/itemName/com.ibm.team.repository.Contributor/CLM">CLM</ns4:creator>
    <ns6:owner>unassigned</ns6:owner>
    <ns2:locked>false</ns2:locked>
    <ns2:weight>100</ns2:weight>
    <ns2:priority ns1:resource="https://linuxclm602:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/process-info/_esGN4DVbEeagPKafSkMgFA/priority/literal.priority.101">literal.priority.101</ns2:priority>
    <ns2:suspect>false</ns2:suspect>
    <ns2:category term="Type" value="Core Functionality"/>
    <ns2:category term="Test Phase" value="User Acceptance Test"/>
    <ns2:variables/>
    <ns2:template href="https://linuxclm602:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/template/testcase/com.ibm.rqm.planning.templates.testcase.default"/>

<ns2:category value="Release 1" term="1"/>
.
.
.
<ns2:category value="Release 1" term="47"/>



    <ns2:customAttributes>
        <ns2:customAttribute type="MEDIUM_STRING" required="false">
            <ns2:identifier>teste</ns2:identifier>
            <ns2:name>teste</ns2:name>
            <ns2:value>teset</ns2:value>
            <ns2:description/>
        </ns2:customAttribute>
        <ns2:customAttribute required="false" type="MEDIUM_STRING"><ns2:identifier>aaa1</ns2:identifier><ns2:name>aaa1</ns2:name><ns2:value>NEW VALUE</ns2:value><ns2:description/></ns2:customAttribute>
        .
        .
        .
        <ns2:customAttribute required="false" type="MEDIUM_STRING"><ns2:identifier>aaa200</ns2:identifier><ns2:name>aaa200</ns2:name><ns2:value>NEW VALUE</ns2:value><ns2:description/></ns2:customAttribute>
    </ns2:customAttributes>

</ns2:testcase>

0 votes


Permanent link
Hi Neeta,

Just as a FYI:
in 6.0.3 they are trying to increase that to 100
https://jazz.net/jazz02/web/projects/Rational Quality Manager#action=com.ibm.team.workitem.viewWorkItem&id=151956


0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,023

Question asked: Jun 16 '16, 10:16 a.m.

Question was seen: 2,363 times

Last updated: Jun 20 '16, 10:26 a.m.

Confirmation Cancel Confirm