mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-05-04 14:14:17 +02:00
AtPriority
@@ -48,8 +48,8 @@ server
|
|||||||
.Given(
|
.Given(
|
||||||
Request.Create()
|
Request.Create()
|
||||||
.WithPath("/*")
|
.WithPath("/*")
|
||||||
.AtPriority(10)
|
|
||||||
)
|
)
|
||||||
|
.AtPriority(10)
|
||||||
.RespondWith(
|
.RespondWith(
|
||||||
Response.Create()
|
Response.Create()
|
||||||
.WithProxy("http://otherhost.com")
|
.WithProxy("http://otherhost.com")
|
||||||
@@ -60,8 +60,8 @@ server
|
|||||||
.Given(
|
.Given(
|
||||||
Request.Create()
|
Request.Create()
|
||||||
.WithPath("/api/override/123")
|
.WithPath("/api/override/123")
|
||||||
.AtPriority(1)
|
|
||||||
)
|
)
|
||||||
|
.AtPriority(1)
|
||||||
.RespondWith(
|
.RespondWith(
|
||||||
Response.Create()
|
Response.Create()
|
||||||
.WithStatusCode(503)
|
.WithStatusCode(503)
|
||||||
|
|||||||
Reference in New Issue
Block a user