Intercept
class Intercept(renderMode: RenderMode = OnFailure, redirectFilter: Filter = Filter.NoOp, clock: Clock = Clock.systemUTC(), random: Random = SecureRandom(byteArrayOf()), serverName: String = "http4k-server", baseUrl: Uri = Uri.of(""), traceStore: TraceStore = TraceStore.InMemory(), logStore: LogStore = LogStore.InMemory(), transactionStore: TransactionStore = TransactionStore.InMemory(), livingDocsSections: List<LivingDocSection> = defaultLivingDocSections, traceReportTabs: List<TabContentRenderer> = defaultTraceReportTabs, reportDir: File = outputDir, appFn: Context.() -> PolyHandler) : ParameterResolver, BeforeTestExecutionCallback, AfterTestExecutionCallback(source)
Wiretap Intercept is a JUnit Extension that records all traffic and telemetry inside an application in order that it can be visualised post-test.
Constructors
Link copied to clipboard
constructor(renderMode: RenderMode = OnFailure, redirectFilter: Filter = Filter.NoOp, clock: Clock = Clock.systemUTC(), random: Random = SecureRandom(byteArrayOf()), serverName: String = "http4k-server", baseUrl: Uri = Uri.of(""), traceStore: TraceStore = TraceStore.InMemory(), logStore: LogStore = LogStore.InMemory(), transactionStore: TransactionStore = TransactionStore.InMemory(), livingDocsSections: List<LivingDocSection> = defaultLivingDocSections, traceReportTabs: List<TabContentRenderer> = defaultTraceReportTabs, reportDir: File = outputDir, appFn: Context.() -> PolyHandler)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@API(status = API.Status.MAINTAINED, since = "5.13.3")
Link copied to clipboard
Link copied to clipboard