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

RQMUrlUtility - Using GET command to export a test case to a xml file


Started on Jazz 2 days ago.

I am using RQM 4.0 and an RQMUrlUtility to export a test case as a xml out put. I am using the following URL

java -jar RQMUrlUtility.jar -command GET -user <user> -password <pwd> -filepath C:\\DownLoad_XML.txt -url https:<server>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality%20Manager/testcase/urn:com.ibm.rqm:testcase:1065

where 1065 is the test case id in the QM.

It repeatedly failes with a 400 - Bad Request. Do any of you see a problem with the syntax. 

My Primary goal is to find a way to link a test case to a business requirement in RM. Manually it is achieved by using the 'Requirement Links' fields for the test case. 

Or the reverse is also fine, a way to populate the link fields 'Validated By' in the Requirements in RM while uploading requirements via a csv file. 

Please advise. 

0 votes



3 answers

Permanent link
 Thanks a lot for the replies. I was able to fix the issue as below.

The URL I tried using the project alias was as below

<server>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/CP_LifeCycle_Project _QM/testcase/urn:com.ibm.rqm:testcase:1065

The point i missed was there was a space between _Project and _QM. Once I took care of it by renaming the alias as below (using a '+' ), the URL utlity worked and I could pull down a test case as xml.

CP_LifeCycle_Project+_QM

0 votes


Permanent link
 A couple of comments:

-I agree the problem is likely with the project area alias.  If not, please use Poster and/or HttpRequester and post the HTTP response content.
-See the Notes at the top of https://jazz.net/wiki/bin/view/Main/RQMURLUtility#Sample_command_line_arguments.
-Consider using Poster and/or HttpRequester instead of the RQM URL Utility.
-Consider using the RQM OSLC API.

0 votes


Permanent link
The "Quality%20Manager" portion of the -url argument is supposed to be the project area alias.  Its likely test case 1065 is not in a project area named "Quality Manager".  The alias is generally the same as the name of the project area, unless the project area has been renamed.  This URL provides a feed which includes the aliases:
https://server:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/projects

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,014

Question asked: Dec 04 '12, 11:47 a.m.

Question was seen: 5,872 times

Last updated: Dec 06 '12, 3:05 p.m.

Confirmation Cancel Confirm