Forum Discussion
- ajay19029 years agoOccasional Contributor
Hi,
I have a composite project with multiple API's each with different end points. On importing the schema(Swagger)File the end points are added under ENDPOINT tab but don't reflect in the request. This works for some API's and for some it doesn't.
On importing the Swagger into another Local project the endpoints are available in Request.
On cloning the entire API to outside the composite project, the end points are accessible in request for the new local project.
Screenshot 1 : shows the Endpoints configured for the API under Endpoints Tab. i have also tried assigning one of the endpoints as the default for all Requests. Tried using all the options available on clicking the Assign button.
Endpoints configured for API
Screenshot 2 : Shows the request does not have any endpoints assigned. Checked the end point list from properties tab. All the endpoints are available but on selecting also the endpoints are not assigned.
The end point drop down is displayed as grayed out and doesn't allow to select any of the Endpoints.
Request for one of the methods does not show the endpoint.
Screenshot 3(Below) : Shows that the endpoint selected from Properties view was not selected and the end point is not configured.
Error on sending request
The behavior is same when the request is added to a Test Case under Test Suite in SOAPUI NG Tab. The end points are not getting selected.
I have checked the associated XML files for the settings.xml and the Resource.xml file for the services and the endpoints are available in the XML files.
Please let me know if any more information is required.
Thanks in advance.
- Sriraj9 years agoContributor
Right above the endpoint column you have the button to assign. Can you once try to click on the endpoint you want to execute and click on assign? and then try to invoke the service ?
Note : I faced a similar issue and not exactly the same
- ajay19029 years agoOccasional Contributor
Hi Siraj,
I already tried using the assign button with the various options available in the drop down like assign to test requests with no end point, all test requests etc. But the issue was not resolved.
Since my project is a composite project stored in git. I checked the related settings.xml file for the api and the end point /list of endpoint is available.
Looks more like a cache issue to me in the ready api tool.