AnsweredAssumed Answered

RESTFUl API virtualization using RR Pair

Question asked by girijak on Sep 8, 2017
Latest reply on Sep 19, 2017 by girijak

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

Sample URL: http://pgeshe-ee.dtveng.com/pgws/content?etoken=37nB85IzmCjNsJH%2BuWWTr8CofonIkKwN9eEHkyMgbKzotE%2F9SvAhE%2FCfx8Bqc9HV4M9yWOQVHQBKQkVTn02acjlDDrD4mtEkNQinGd7utlmfXjbXOe03pXbdAaaSvvCwfQSI79gayA56N0SzhOnzqm2rHbAwMhrJ9qj5XOXAhCUkibmbvwHlC25kkNhg1e3gThduJ%2B3S6Uu1sfBVdZpqoS%2B4wjQLOMTUZjqRwzXha4fCtPgIVZyw7ogddZLlTgRzmWbYF50A3bwBSydvYQHJzRW2dXV4nbbPgwCjBYYW8BiYWi4%2BlEJg4zn3miB7CArl3syIjzRyzAAOqPmKGhKDJSvLouKdas22qNmUdsIY1MlKgylA7ZH7Wg%2FZhtGtjEFZjQaRdpv1jIVVyVM8aZlEiddUUszjWbgaxvbZiV97fBc%3D%0D%0A&includepurchaseoffer=EST&siteid=DTVIT_C01&siteuserid=qay.71903466%40directv.com&signature=xNSEYJxIPNqHU%2FLBfv2rkYjX0K6vSihi&materialid=B200029163M3

 

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.

Outcomes