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

RQMUrlUtility: Server Response code: 500 When adding New Tes

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

0 votes



4 answers

Permanent link
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.

0 votes


Permanent link
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

0 votes


Permanent link
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?

0 votes


Permanent link

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


Any example, preferably java code.

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

Question asked: Feb 22 '12, 10:21 a.m.

Question was seen: 6,254 times

Last updated: Aug 03 '18, 1:46 a.m.

Confirmation Cancel Confirm