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!
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!
5 answers
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
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
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.
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.