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

RQMURLUtility Help Please!

I have a test project on jazz.net/sandbox02-qm. I am trying to retrieve one simple test case using the RQMURLUtility:

java -jar RQMUrlUtility.jar -command GET -user sherrietang -password xxxx -filepath C:\RQMURLUtility\filename.xml -url https://jazz.net/sandbox02-qm/service/com.ibm.rqm.integration.service.IIntegrationService/resource
s/sherrietang%27s+Project+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:165

Here is the error I got:

RQMUrlUtility: Connected to https://jazz.net:-1 using project "sherrietang%27s+Project+%28Quality+Management%29"
java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available
Unable to create SSL_TLS context, trying SSLv3
Feb 6, 2012 4:39:17 PM org.apache.commons.httpclient.HttpMethodDirector executeW
ithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request:
Connection timed out: connect

Can someone please shed some light? Thanks a lot!

0 votes



5 answers

Permanent link
Hi

I think there is a reverse proxy which hides the real address of the Jazz sandbox server which might cause this.

Thanks

0 votes


Permanent link
Hi

I think there is a reverse proxy which hides the real address of the Jazz sandbox server which might cause this.

Thanks


But when I try to access that url: https://jazz.net/sandbox02-qm/service/com.ibm.rqm.integration.service.IIntegrationService/resource
s/sherrietang%27s+Project+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:165 directly, it works.

Thanks!

--Sherrie

0 votes


Permanent link
See https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/59816.

0 votes


Permanent link
See https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/59816.


Thanks Paul! Good to know that the utility does not work with URL without port number. For now I just give up testing on jazz.net/sandbox02 and switch to our production box, which does have port number 9443 setup.

I ran:

java -jar RQMUrlUtility.jar -command GET -user username -password mypassword -filepath "C:\Documents and Settings\test.xml" -url https://host:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/CADE2AD_CLM_Sandbox-QM/testcase/urn:com.ibm.rqm:testcase:13189

I got the following errors:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<<<<<RQMUrlUtility>>>>>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

RQMUrlUtility: Connected to https://host:9443 using project "CADE2AD_CLM_Sandbox-QM"
java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available
Unable to create SSL_TLS context, trying SSLv3
RQMUrlUtility: Login error (response code) - 404

I do see the test.xml file being created, but it does not have any info about the test case. As you can see, I did not specify -context. What should be the -context in my case? When I access the -url value from my browser, it did bring me to RQM test case 13189.

Thanks alot!

--Sherrie

0 votes


Permanent link
Sounds like an issue with your credentials.

Note, the -context is not required since you specify it in the URL.

I would suggest using Poster (https://jazz.net/wiki/bin/view/Main/RQMUsingPoster) to GET the resource with the following header:

Accept: application/xml

For more information, see https://jazz.net/wiki/bin/view/Main/RqmApi#Common_Usage_Scenarios.

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 06 '12, 5:02 p.m.

Question was seen: 10,267 times

Last updated: Feb 06 '12, 5:02 p.m.

Confirmation Cancel Confirm