UPC_Broadband_L
13 years agoOccasional Contributor
Rest Request sends only endpoint, not resource path
Hi,
I am currently trying to use the Fisheye REST API from Atlassian to fetch some information. I've set up the soapUI Pro project successfully using their wadl (at https://docs.atlassian.com/fisheye-cruc ... sheye.wadl) and setting the endpoints manually.
Our endpoint would be, for sample purposes, "http://this.is.fisheye.com/fisheye/"
One of the GET calls, for example, would be "http://this.is.fisheye.com/fisheye/rest-service-fe/repositories-v1"
Using the browser, this returns results as expected.
---------------------------------------------------------------------------------
After setting up the project on SoapUI, setting endpoint to "http://this.is.fisheye.com/fisheye/" and creating the REST request for repositories-v1 (getAllRepositories), the FullPath (below the Endpoint field) shows "http://host:port/context//rest-service-fe/repositories-v1", which is the correct format. However, sending the request opens the endpoint alone, without appending the Resource Path to the URL.
Ergo, since the endpoint "http://this.is.fisheye.com/fisheye/" is the HTML homepage, we get the home page HTML back instead of ".../rest-service-fe/repositories-v1" result.
Why is soapUI not appending the Resource Path to the endpoint in order to create a valid request?
----------------------------------------------------------
See screenshot below for further details:

I am currently trying to use the Fisheye REST API from Atlassian to fetch some information. I've set up the soapUI Pro project successfully using their wadl (at https://docs.atlassian.com/fisheye-cruc ... sheye.wadl) and setting the endpoints manually.
Our endpoint would be, for sample purposes, "http://this.is.fisheye.com/fisheye/"
One of the GET calls, for example, would be "http://this.is.fisheye.com/fisheye/rest-service-fe/repositories-v1"
Using the browser, this returns results as expected.
---------------------------------------------------------------------------------
After setting up the project on SoapUI, setting endpoint to "http://this.is.fisheye.com/fisheye/" and creating the REST request for repositories-v1 (getAllRepositories), the FullPath (below the Endpoint field) shows "http://host:port/context//rest-service-fe/repositories-v1", which is the correct format. However, sending the request opens the endpoint alone, without appending the Resource Path to the URL.
Ergo, since the endpoint "http://this.is.fisheye.com/fisheye/" is the HTML homepage, we get the home page HTML back instead of ".../rest-service-fe/repositories-v1" result.
Why is soapUI not appending the Resource Path to the endpoint in order to create a valid request?
----------------------------------------------------------
See screenshot below for further details:
