It's all about the answers!

Ask a question

RQMUrlUtility: Server Response code: 500 When adding New Tes


John Bray (611) | asked Feb 22 '12, 10:21 a.m.
Hi
Using RQM-Extras-RQMUrlUtil-2.0.1.1-iFix4 I executed the following to GET a testcase
java -jar RQMUrlUtility.jar -command GET -user <user> -password <password> -filepath C:\\RQM\test_dl_case_44605.xml -url https://<server>:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ITNM/testcase/urn:com.ibm.rqm:testcase:44605

Made Title change to Test Case in xml file, minor change.
PUT testcase, hoping to create new test case under the same project using the following

>java -jar RQMUrlUtility.jar -command PUT -user <user> -password <password> -filepath C:\\RQM\test_dl_case_44605.xml -url https://<server>/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ITNM/testcase/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<<<<<RQMUrlUtility>>>>>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

RQMUrlUtility: Connected to https://<server>:9443 using project "ITNM"
java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available
Unable to create SSL_TLS context, trying SSLv3
22-Feb-2012 15:01:07 org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
RQMUrlUtility: Calling method to upload XML from a specified file to URL
RQMUrlUtility: Server Response code: 500
22-Feb-2012 15:01:08 org.apache.commons.httpclient.HttpMethodBase getResponseBody
WARNING: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

Rational Quality Manager 2.0.1.1 iFix 4 I20110930_1029

I successfully created new remotescripts using this method, what am I doing wrong here with testcases?

Thanks

4 answers



permanent link
Bing Dong Ma (1962) | answered Feb 23 '12, 2:18 a.m.
JAZZ DEVELOPER
This is fixed in 3.0.1, see https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/38106

But because the fixed RQMUrlUtility is on RQM 3.0.1 version, not sure if you could use it on 2.0.1.1 iFix4 compatibly.

permanent link
John Bray (611) | answered Feb 23 '12, 5:42 a.m.
This is fixed in 3.0.1, see https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/38106

But because the fixed RQMUrlUtility is on RQM 3.0.1 version, not sure if you could use it on 2.0.1.1 iFix4 compatibly.



Thanks you, RQM server is scheduled for upgrade next week

permanent link
Rod Stevens (6) | answered May 04 '12, 1:14 p.m.
trying to execute testcase in RQM ..seeing the following error :
Failed to create temporary file for the command: Shared resource download failed from URL https://qdc28.austin.ibm.com:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/test+project++%28Quality+Management%29/resource?resourceURN=/home/rod/QM_test/pass.sh - HTTP response set follows:rqm_responseCode: 500...any idea?

permanent link
Akhileshwar Prasad (111) | answered Aug 03 '18, 1:46 a.m.

Using RQMUrlUtility, its authenticating successfully but not able to fetch xml response.


Any example, preferably java code.

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.