Mockey is a tool for testing application interactions over http, with a focus on testing web services, specifically web or native applications that consume XML, JSON, and HTML. Mockey's purpose is to be a simple front end to writing mock-test-responses to the file system for persistence to git.
118
stars
39
forks
source link
Returns response of some other scenario if requested url matches part of some other scenario url #109
When we make request to Service#1, Scenario#1 the application returns response of Service#2, Scenario#1 or Service#3, Scenario#1. This happens either URL partially matches or RegExp for path variables matches any sub path
Assume the following scenario created in Mockey.
Service#1, Scenario#1 http://127.0.0.1:8090/Mockey/service/api/v1/cxtid/{contextId}/cid/{customerId}/feature/somefunctionality
Service#2, Scenario#1 http://127.0.0.1:8090/Mockey/service/api/v1/cxtid/{contextId}/cid/{customerId}/feature/{some-id}
Service#3, Scenario#1 http://127.0.0.1:8090/Mockey/service/api/v1/cxtid/{contextId}/cid/{customerId}/feature/somefunctionality/subfunctionality
When we make request to Service#1, Scenario#1 the application returns response of Service#2, Scenario#1 or Service#3, Scenario#1. This happens either URL partially matches or RegExp for path variables matches any sub path