Forum Discussion

sathyarajg's avatar
sathyarajg
Occasional Contributor
7 years ago

do we need same resource path for mock server and client?

Hi Team,

 

I have readyAPI version in my system.We have an third party system for accessing their API's.

 

We have our own format of resource (example : /Books/{language}) and Converting the URI format into third party API resource format (example : /subject/{lang})

 

Here in project level we have to create the resource like this endpoint/Books/{language} and in mockserver ndpoint/subject/{lang}

 

when we try this above combination its not working. but its working if the resource are same fot Project level and mock server like below.

 

endpoint/Books/{language}-if we give the same value in project level resource and mock sever resource then its fine.

 

My question is ,

 

1. When we are doing mocking resource name for the mocksever and project level resource (client) needs to be same ?

2. if the above question is wrong then please guide how to do this.

 

Thanks for your help in advance

No RepliesBe the first to reply