RQMUrlUtility: Server Response code: 403
I am trying to create a test plan using RQM URL Utility.
The GET method using RQMUrlUtil work successful.
But when i try to PUT some data (a test plan in my case) i am getting this error:
(server name and passwd is masked :-) )
# java -jar RQMUrlUtil.jar -command PUT -user manoj.bableshwar@in.ibm.com -password ****** -filepath ./t -url https://***:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/STG%20System%20P%20Hardware%20and%20Software%20System%20Test/testplan/ART_RQM_API_DEMO_TEST_PLAN
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<<<<<RQMUrlUtility>>>>>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RQMUrlUtility: Connected to ***:9443 using project "STG+System+P+Hardware+and+Software+System+Test"
24 Aug, 2010 11:24:48 PM 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: 403
the content of the input file:
# cat ./t
<?xml version="1.0" encoding="UTF-8"?><ns2:testplan xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns="http://purl.org/dc/elements/1.1/" xmlns:ns10="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns11="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1" xmlns:ns3="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns4="http://schema.ibm.com/vega/2008/" xmlns:ns5="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns6="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/" xmlns:ns7="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1"><title xmlns="http://purl.org/dc/elements/1.1/">ART_RQM_API_DEMO_TEST_PLAN</title><description xmlns="http://purl.org/dc/elements/1.1/">To test RQM CMD LINE</description></ns2:testplan>
When i looked up what does 403 mean, i saw this: Operation Forbidden (unauthorized)
But i am able to login using the RQM web UI and create a test plan.
Anyone has hit this error before or knows why am i seeing this problem?
Thanks in Advance,
Manoj
The GET method using RQMUrlUtil work successful.
But when i try to PUT some data (a test plan in my case) i am getting this error:
(server name and passwd is masked :-) )
# java -jar RQMUrlUtil.jar -command PUT -user manoj.bableshwar@in.ibm.com -password ****** -filepath ./t -url https://***:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/STG%20System%20P%20Hardware%20and%20Software%20System%20Test/testplan/ART_RQM_API_DEMO_TEST_PLAN
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<<<<<RQMUrlUtility>>>>>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RQMUrlUtility: Connected to ***:9443 using project "STG+System+P+Hardware+and+Software+System+Test"
24 Aug, 2010 11:24:48 PM 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: 403
the content of the input file:
# cat ./t
<?xml version="1.0" encoding="UTF-8"?><ns2:testplan xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns="http://purl.org/dc/elements/1.1/" xmlns:ns10="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns11="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1" xmlns:ns3="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns4="http://schema.ibm.com/vega/2008/" xmlns:ns5="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns6="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/" xmlns:ns7="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1"><title xmlns="http://purl.org/dc/elements/1.1/">ART_RQM_API_DEMO_TEST_PLAN</title><description xmlns="http://purl.org/dc/elements/1.1/">To test RQM CMD LINE</description></ns2:testplan>
When i looked up what does 403 mean, i saw this: Operation Forbidden (unauthorized)
But i am able to login using the RQM web UI and create a test plan.
Anyone has hit this error before or knows why am i seeing this problem?
Thanks in Advance,
Manoj