Creating new stubs by recording traffic to another API
http://ip-api.com
as the target URL and hit Start.
my-mock-api
for your own sub domain name):
GET
request will be made to http://ip-api.com/json
and the result captured.
Now hit Stop, and you should see that an extra stub has been added to the list.
equalToJson
operator will be used. If XML, the equalToXml
operator will be used. Otherwise the operator will be equalTo
i.e. simple string equality.