cancel
Showing results for 
Search instead for 
Did you mean: 

Breaking end point which has both domain and resources

SOLVED
Highlighted
Frequent Visitor

Breaking end point which has both domain and resources

hi there,

 

I need a help on Breaking end point which has both domain and resources

 

I have created test case using http://raji.test.com and /test/{Name} as my endpoint.
I coundn't use environment variables due to this practice.
is there a way to resolve this?

URI - http://raji.test.com/test/{Name}
into endpoint as http://raji.test.com and /test/{Name} in resource path?

 

I have created a resource with multiple requests in it. I did a logical grouping of the API calls and put the complete URI
in the end point. now updating the path at the resouce level is updting all the the request path
so i can't individually update each request. How can i solve this issue?

thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Breaking end point which has both domain and resources

4 REPLIES 4
Highlighted
Community Hero

Re: Breaking end point which has both domain and resources

Hi @RK1,

I'm struggling to understand what you mean. Can you clarify the following questions?

You state you want to help "Breaking end point which has both domain and resources"
What do you mean by "breaking an endpoint"?

What do you mean when you say your endpoint has both "domain and resources"? Surely every endpoint has a domain and resources?

Where you state you "have created test case using http://raji.test.com and /test/{Name} as my endpoint.
I coundn't use environment variables due to this practice." What do you mean, you couldnt use environment variables due to this practice? What practice?

Where you state "http://raji.test.com/test/{Name}
into endpoint as http://raji.test.com and /test/{Name} in resource path?" I dont understand what you mean by this? You have a server/host/domain value of 'http://raji.test.com' and your endpoints URI is '/test/{Name}'

Where you say " I did a logical grouping of the API calls and put the complete URI in the end point"
What do you mean when you say you "put the complete URI in the endpoint"?
A URL is a full address, so think protocol, server and path to the resource. URI vs URN vs URL can be a bir confusing depending on wjat webpage youre reading but the way a technical architect explained it to me was that the URI is not the full address, so think the path to the resource, so in your example the URI is '/test/{Name}'. So! What do you mean by putting the "complete URI into the endpoint"? How are you differentiating a URI to the endpoint?

If you provide the answers clarifying the points and if you can provide some screenshots of what youre talking about this will no doubt help explain your issues.

Cheers,

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
Highlighted
Community Hero

Re: Breaking end point which has both domain and resources

Highlighted
Community Leader

Re: Breaking end point which has both domain and resources

@RK1 :

 

I think you want to parameterize your endpoint/URL which you are using for sending your Request

if that is the case then please let me know if you need more further details.

 


Click "Accept as Solution" if my answer has helped, and remember to give "kudos" Smiley Happy

Thanks and Regards,
Himanshu Tayal
Highlighted
Community Manager

Re: Breaking end point which has both domain and resources

Thank you everyone.

 

@RK1 were you able to solve the issue using the suggestions? Please mark the right answer as a solution.


Sonya Mihaljova
Community and Education Specialist

 Join the virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!