fixture

fun fixture(fixture: Fixture, delay: Duration = Duration.ZERO): Step(source)

Responds with fixture (Fixture.toResponse) from the request's own URL.

Return

the step.

Parameters

fixture

the recorded or hand-written response.

delay

the delay before the answer; zero by default.

Throws