Multiple dispatching rules #1258
-
Hello, does someone know if it's possible to configure multiple dispatching rules for one mocked endpoint? I am using JSON_BODY rule to infer which response (out of 2 options) to return. The implementation would be as follows (this is working fine):
But when trying to add the PROXY_FALLBACK configuration via UI and saving it, in the details page, the JSON_BODY rule is gone and replaced by the latter. The configured proxy rules is this one (not working):
And when hitting the endpoint I get this error from the server: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Have you tried converting the |
Beta Was this translation helpful? Give feedback.
Hey @lbroudoux, this version worked half-way through:
I am gonna keep working on this and keep you posted :)
Thanks