cancel
Showing results for 
Search instead for 
Did you mean: 

How to Handle different resources for the same point

SOLVED
Highlighted
Contributor

How to Handle different resources for the same point

Hi 

 

Is there a way how to parameterize the resource in the endpoint url

 

I have Two versions of the endpoints for one version already automation is done, Now we are getting one more version of the endpoints with the resource different for the endpoint

 

like for ex: Before the endpoint url is like  abcd.com/users

where as now the endpoint is changed to abcdef.com/new/users

 

the resource differs from endpoint to endpoint

 

So is there a way where both the endpoints should work with the existing automation already done?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: How to Handle different resources for the same point

Use custom properties and replace with property expansion.
Here is the documentation
https://www.soapui.org/docs/scripting-and-properties/property-expansion/


Regards,
Rao.

View solution in original post

4 REPLIES 4
Highlighted
Community Hero

Re: How to Handle different resources for the same point

Use custom properties and replace with property expansion.
Here is the documentation
https://www.soapui.org/docs/scripting-and-properties/property-expansion/


Regards,
Rao.

View solution in original post

Highlighted
Community Manager

Re: How to Handle different resources for the same point

Thank you Rao!!

 

@doubtsreadyapi Please mark the answer as a Solution if it helped🙂


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Contributor

Re: How to Handle different resources for the same point

@nmrao 

 

This wont help. My suite has to work  with the both the versions of endpoints  in the same environment, As i told earlier,

 

for ex: Before the endpoint url is like  abcd.com/users

where as now the endpoint is changed to abcdef.com/new/users

 

but if i use property expansion, and parameterize the endpoints it will take only one version of endpoints.

 

 

Highlighted
Community Hero

Re: How to Handle different resources for the same point

that's not correct. Use multiple properties to form total url.


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors