Hi All,
Greetings for the day.
Am new to RESTFUl API. I have a requirement where i need to virtualize Restful API.
I have request URL and response Json file.
My Request URL is as follows
In the URL the materialid is a value which will change in the calls.
Even after simulation also the URL must be the same by changing the hostname and port number.
When i virtualize , the URI coming something like this.
http://hostname:port/pgws/content/
I dont want like this, i want which is similar to actual URL.
when i hit with query parameters, its not hitting the service.
Please suggest me what changes i have to do.
Thanks,
Girija K.
Hello,
If you are referring to the operation name as URI, the url parameters get set as arguments in the image file as enclosed. The base path is set in the listen step of model file as enclosed, which contains the entire url basepath (if this is the only operation you are virtualizing). If there are other operations with different url parameters in the uri, then the base path will not have the entire url, but only what is common between operations.
Thanks,