ktor-server-test-suites / io.ktor.server.testing.suites / EngineStressSuite

EngineStressSuite

abstract class EngineStressSuite<TEngine : ApplicationEngine, TConfiguration : Configuration> : EngineTestBase<TEngine, TConfiguration>

Constructors

<init>

EngineStressSuite(hostFactory: ApplicationEngineFactory<TEngine, TConfiguration>)

Properties

timeout

open val timeout: Long

timout1

val timout1: CoroutinesTimeout

Functions

highLoadStressTest

fun highLoadStressTest(): Unit

multipleConnectionsHighPressure

fun multipleConnectionsHighPressure(): Unit

singleConnectionHighPressure

fun singleConnectionHighPressure(): Unit

singleConnectionSingleThreadNoPipelining

fun singleConnectionSingleThreadNoPipelining(): Unit

singleConnectionSingleThreadWithPipelining

fun singleConnectionSingleThreadWithPipelining(): Unit

test404

fun test404(): Unit

testHttpUpgrade

fun testHttpUpgrade(): Unit

testLongResponse

fun testLongResponse(): Unit

testRespondWrite

fun testRespondWrite(): Unit