testWithEngine

fun testWithEngine(engine: HttpClientEngine, timeoutMillis: Long = 60 * 1000L, retries: Int = 1, block: suspend TestClientBuilder<*>.() -> Unit): TestResult

Perform test with selected client engine.


fun <T : HttpClientEngineConfig> testWithEngine(factory: HttpClientEngineFactory<T>, loader: ClientLoader? = null, timeoutMillis: Long = 60L * 1000L, retries: Int = 1, block: suspend TestClientBuilder<T>.() -> Unit): TestResult

Perform test with selected client engine factory.