mdasberg / ng-apimock

Node plugin that provides the ability to use scenario based api mocking: for local development for protractor testing
MIT License
99 stars 26 forks source link

Overlay requests #77

Closed Zima04 closed 4 years ago

Zima04 commented 4 years ago

Hello. I have problem. For example, two requests with params : first - "expression": "/api/projects/1/documents/1/rename", "method": "POST" second - "expression": "/api/projects/1/documents", "method": "POST" Waiting behavior that is each of them should get their response.But i have result, that each of them have response from second request.Can you tell me how to resolve this? Best regards.

Zima04 commented 4 years ago

I found decision : "^\/Reporting\/api\/projects\/1\/documents$". That was my sick knowledge of regular expressions and patterns :)

anandkhatri commented 1 month ago

Hi @Zima04 I'm facing similar issue, could you please share the solution that you have applied? It would be greatly appreciated.