mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 14:20:29 +01:00
How can I compare two string value in ResponseBody? #552
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @comil4444 on GitHub (Nov 14, 2023).
Seeing this issue: https://github.com/WireMock-Net/WireMock.Net/issues/892#issuecomment-1437172804
Wanna know is there a way I can achieve this now?
{{#if request.Body=='A'}}company a{{else if request.Body=='B'}}company b{{else}}not found{{/if}}@comil4444 commented on GitHub (Nov 14, 2023):
Register a custom helper to do this.