mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-16 05:41:03 +01:00
WireMockList
This commit is contained in:
1 parent
32f9171d01
commit
b4d5eb18d4
7 files changed
+118
-71
No files matched your search
@@ -33,7 +33,8 @@ namespace WireMock.Net.ConsoleApplication
|
||||
.WithStatusCode(200)
|
||||
.WithHeader("Content-Type", "application/json")
|
||||
.WithHeader("Transformed-Postman-Token", "token is {{request.headers.Postman-Token}}")
|
||||
.WithBody(@"{""msg"": ""Hello world! : {{request.url}} : {{request.path}} : {{request.query.start}} : {{request.query.stop.[0]}}""")
|
||||
.WithBody(@"{""msg"": ""Hello world! : {{request.url}} : {{request.path}} :
|
||||
bykey={{request.query.start}} : bykey={{request.query.stop}} byidx0={{request.query.stop.[0]}} byidx1={{request.query.stop.[1]}}""")
|
||||
.WithTransformer()
|
||||
.WithDelay(TimeSpan.FromMilliseconds(100))
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user