what is the syntax in config file for importing test case summary attribute values like user 1, user 2
Accepted answer
May be the url is not okay.
Please try:
https://sdp.web.att.com/fa4qm1/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Order_Creation_QM_20.05.01/testcase/urn:com.ibm.rqm:testcase:498927
good luck, Jörg
PS: I do the tests also with poster. I did add a header (Headers Tab) with Name=accept and Value=application/xml
Comments
Both of the method is not working, I think this type of URL not supported in Poster or RQMURLutility. Can you suggest me a path forward. Or how can I get exact workable URL.
The URL should work in Poster. The question is whether you have test case 498927 existing or not. It seems that 498927 is a testscript not a test case. you need to find out an existing test case id and put it there or use the correct resource type for example
testcase/urn:com.ibm.rqm:testcase:498927 >>> testscript/urn:com.ibm.rqm:testscript:498927
Hi Jorga nd Don,
Config file :
Do you use RQM version <= 6.0.1?
According to documentation (see above) the order of the parameters are relevant.
I would try
testcase.customAttributes identifier="User_5".name="User 5".type="SMALL_STRING".value="Test5test"
Cheers, Jörg
Thanks Jorg, Issue resolve now :)
2 other answers
Hi Sanu,
category and attributes are different items and have different syntax to import.
Detail description is here https://jazz.net/wiki/bin/view/Main/RQMExcelWordImporter
Tricky part is to get the internal identifier name. Valid syntax is of course described there:
and in your installation directory you'll find also an example: TestCases 001 with custom attributes
Hope this helps, Jörg
Comments
Hello Jorg,
Hi Sanu, a liitle bit more info would be helpful. Which Query did you use, what was the result/error message?
Anyway. Maybe the cheat sheet can help you
Example query is: https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:33
for me this is working. May be one important hint: If you create a dummy test case you have also to enter data in the attribute field(s). Empty fields are not shown in the result.
Hope this helps, Jörg
My output:
<ns2:customAttributes> <ns2:customAttribute type="SMALL_STRING" required="false"> <ns2:identifier>UML_Element</ns2:identifier> <ns2:name>UML Element</ns2:name> <ns2:value>Dummy</ns2:value> <ns2:description/> </ns2:customAttribute></ns2:customAttributes>
Hi, please see below comment of mine
Hi,
<!--
Licensed Materials - Property of IBM
(c) Copyright IBM Corporation 2005, 2015. All Rights Reserved.
Note to U.S. Government Users Restricted Rights:
Use, duplication or disclosure restricted by GSA ADP Schedule
Contract with IBM Corp.
-->
<html >
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=10">
<title></title>
<link type="text/css" rel="stylesheet" href="/fa4qm1/web/_style/?include=A~&etag=DVIScD3UX7b_en_US&_proxyURL=%2Ffa4qm1&ss=KyDUK">
<link rel="shortcut icon" href="/fa4qm1/web/com.ibm.rqm.planning.web/RQM.ico">
<style type="text/css">
#net-jazz-ajax-NoScriptMessage {
width: 100%;
color: #D0D0D0;
font-size: 2em;
text-align: center;
position: absolute;
top: 1%;
z-index: 999;
}
</style>
</head>
<body class="claro">
<noscript><div id="net-jazz-ajax-NoScriptMessage">Javascript is either disabled or not available in your Browser</div></noscript>
<div id="net-jazz-ajax-InitialLoadMessage">Loading...</div>
<div id="net-jazz-ajax-WorkbenchRoot"></div>
<script type="text/javascript">
djConfig = {
isDebug: false,
usePlainJson: true,
baseUrl: "/fa4qm1/web/dojo/",
locale: "en-us",
localizationComplete: true
};
/null/
net = {jazz: {ajax: {}}};
net.jazz.ajax._contextRoot = "/fa4qm1";
net.jazz.ajax._appPath = "/fa4qm1/web/console/Order_Creation_QM_20.05.01";
net.jazz.ajax._webuiPrefix = "/web/";
</script>
<script type="text/javascript" src="/fa4qm1/web/_js/?include=A~&etag=DVIScD3UX7b_en_US&_proxyURL=%2Ffa4qm1&ss=KyDUK&locale=en-us"></script>
<script type="text/javascript">
require("dojo/main").getObject('jazz.core.loader', true)._serverStartup="KyDUK";
require("dojo/main").getObject('jazz.core.loader',true)._loaded=["A"];
</script>
<script type="text/javascript">
/ <![CDATA[ /
dojo.addOnLoad( function() {
net.jazz.ajax.ui.PlatformUI.createAndRunWorkbench("com.ibm.rqm.planning.web.qualityManager");
});
/ ]]> /
</script>
</body>
</html>
Comments
Donald Nong
May 28 '17, 11:58 p.m.