It's all about the answers!

Ask a question

RQM URL Utility always returns error saying "Javascript not enabled on your browser"


0
1
shweta ranaware (3711053) | asked Oct 11 '17, 7:02 a.m.

 Hi all,

  Hi all I am new to OSLC and RQM. As per standard documents I used RQMUrlUtility for create test artifact in RQM. I just running jar in command prompt passing following parameters:

-command GET -user XXXXX -password XXXXX  -filepath D:\GET_0709_1.txt -url   https://d-9392:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/RQM%20Exploration%20(Quality%20Management)/testcase/testcase:628

What is mistake? Please analyze url. <o:p> </o:p>

Accepted answer


permanent link
Don Yang (7.7k21114139) | answered Oct 11 '17, 8:54 p.m.

According to readme, it says:

These examples use URL encoded project aliases in resource URL references (-url).  When invoking the RQM URL Utility from a batch file, enclose resource URL references (-url) in double quotes

So in your url, project area should be alias name which may not be correct in your case.
Please run
https://d-9392:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/projects
on a browser and check with the alias of the target project area and copy it to

ProjectAlias in

 https://d-9392:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectAlias/testcase/urn:com.ibm.rqm:testcase:628

(note:

urn:com.ibm.rqm:testcase:628 instead of  testcase:628 ) in your case.

Thanks

shweta ranaware selected this answer as the correct answer

Comments
shweta ranaware commented Oct 12 '17, 1:52 a.m.

  Hi Don,

<o:p> </o:p>

Thanks for your reply. I change my url as following but still I am getting 400 Bad request error. Can you help me for same. Following is my modified url:

-command GET -user xxxx -password yyyy  -filepath D:\GET_0709_1.txt -url "https://d-9392:9443/qm/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality%20Management/testcase/urn:com.ibm.rqm:testcase:628" <o:p> </o:p>


Don Yang commented Oct 12 '17, 2:20 a.m.

I see two /qm in your url which should be one only.


Donald Nong commented Oct 12 '17, 3:53 a.m.

Shweta, I suggest you verify the URL in a browser first, and it will save you a lot of trouble. If the URL is correct, it will bring you to the specified test case. If you know how to use another REST client (with GUI, such as the RESTClient plugin for Firefox), use it before jumping on RQM URL Utility.


shweta ranaware commented Oct 12 '17, 3:55 a.m.

 Hi Don,


I am successfully done GET and DELETE but with POST and PUT I am getting 501 server error showing 501. Following post shows my command and xml to create testcaseexecutionrecord


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.