Getting Context Root Not Found when using REST API
![]() Hello,
I am trying to import test result information into RQM via the Excel REST tool and here is a sample from the config file that fails because it cannot find the Custom_attribute_0
executionresult.customAttributes identifier="Custom_attribute_0".name=" TestDuration".type="SMALL_STRING".value=I
So I tried to get the XML file using the RESTClient add-on for Mozilla however this is failing with Context Root Not Found
I am logged into RQM in Mozilla and have the cookie in the X-Jazz-CSRF-Prevent request header (see below)
Sending a GET request
This is the response
curl -X GET -H 'OSLC-Core-version: 2.0' -H 'Accept: application/xml' -H 'Content-Type: application/rdf+xml' -H 'X-Jazz-CSRF-Prevent: 0000SRnORr_COaeIq84nglhHpY2:6885b8fc-7638-468e-9419-17b50be054fa' -H 'Authorization: Basic cmNvb25zOklhbUF1dDB0cjBu' -i 'http://jazz.sonosite.com:9080/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/SandboxTheresa2M2/testcase/urn:com.ibm.rqm:testcase:152'
Failure line from response
<meta name="DC.Title" content="WebSphere Application Server Version V8.5 Liberty Profile - Context Root Not Found" />
The URL to the test case within RQM is
Can I please get some insight as to what is wrong?
|
One answer
![]() The obvious thing I see is that your latter URL contains no port# implying the default port of 80, while the 2nd contains port 9080. That indicates that there may be an HTTP server routing requests to a J2EE ( e.g. tomcat/liberty )
|
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.