-
-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Transformer and Delay in Static Mappings? #149
Comments
By static mappings, I think you mean the mappings defined in the .json file which are loaded at startup? This is possible. Transformation can be done like: "UseTransformer": true,
"StatusCode": 205,
"BodyAsJson": { "result": "test - {{request.path}}" } And delay is like: "Response": {
"StatusCode": 200,
"Delay": 100
} See also this example https:/WireMock-Net/WireMock.Net/wiki/Admin-API-Reference#post-__adminmappings |
StefH
changed the title
Transformer and Delay in Static Mappings?
Question: Transformer and Delay in Static Mappings?
Jun 4, 2018
Thank you Stef. Aroon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi - Do you know if it is possible to add the WithTransformer and WithDelay to already recorded static mappings? Wanted to check if this was already known before running some tests. Thank you.
Aroon
The text was updated successfully, but these errors were encountered: