It's all about the answers!

Ask a question

RQMURLUtility with custom suiteelement fields

David G (11213) | asked Mar 04 '20, 10:12 a.m.
edited Mar 04 '20, 10:15 a.m.
Running the RQMURLUtility.jar I am sending it the following:
That above gives me this output inside the GET.txt file:
<?xml version="1.0" encoding="UTF-8"?>
     <ns2:testsuite xmlns:ns2=""
    <ns4:title>Full Phase 1</ns4:title>
    <ns4:description>Web UI Automated Smoke Testing</ns4:description>
Which is correct since i had fields title and description. However, when i change those to something different it does not seem to work for some reason?
<?xml version="1.0" encoding="UTF-8"?>
     <ns2:testsuite xmlns:ns2=""....xmlns:ns21=""/>
And that is all i receive when it should have ID and Owner like it did for title and description.

This is the full XML it gives me (shortened for space sake):
java -jar RQMUrlUtility.jar -command GET -user myUSERNAME -password "myPASSWORD" -filepath _GET.txt -url "https://myAddress:9443/qm/service/"
And its output:
<?xml version="1.0" encoding="UTF-8"?>
<ns2:testsuite xmlns:ns2="".... xmlns:ns20="" xmlns:ns21="">
    <ns2:projectArea href="https://myAddress.cjis:9443/qm/resource/itemOid/" alias="myAlias"/>
    <ns2:stylesheet href="https://myAddress:9443/qm/service/"/>
    <ns4:title>Full Phase 1</ns4:title>
    <ns4:description>Web UI Automated Smoke Testing</ns4:description>
             <ns2:suiteelement elementindex="1">
             <ns2:suiteelement elementindex="2">
The suiteelement area is the area where i want to gather my needed fields (id, owner, created by, etc....).

Help would be great! Thanks.

One answer

permanent link
Mehul Patel (9695) | answered Mar 06 '20, 6:53 a.m.


Try with 'fields=feed/entry/content/testsuite/(webId|owner)' it should get you the Id you are looking for.
 Please refer supported resources and properties at RQM API wiki.


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.