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

SustainabilityTestSuite

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

Constructors

<init>

SustainabilityTestSuite(hostFactory: ApplicationEngineFactory<TEngine, TConfiguration>)

Functions

testApplicationScopeCancellation

fun testApplicationScopeCancellation(): Unit

testBigFile

fun testBigFile(): Unit

testBigFileHttpUrlConnection

fun testBigFileHttpUrlConnection(): Unit

testBlockingConcurrency

open fun testBlockingConcurrency(): Unit

testBlockingDeadlock

open fun testBlockingDeadlock(): Unit

testChunkedIsNotFinal

fun testChunkedIsNotFinal(): Unit

testChunkedWithVSpace

open fun testChunkedWithVSpace(): Unit

testChunkedWrongLength

open fun testChunkedWrongLength(): Unit

testEmbeddedServerCancellation

fun testEmbeddedServerCancellation(): Unit

testErrorInApplicationCallPipelineInterceptor

fun testErrorInApplicationCallPipelineInterceptor(): Unit

testErrorInApplicationReceivePipelineInterceptor

fun testErrorInApplicationReceivePipelineInterceptor(): Unit

testErrorInApplicationSendPipelineInterceptor

fun testErrorInApplicationSendPipelineInterceptor(): Unit

testErrorInEnginePipelineInterceptor

open fun testErrorInEnginePipelineInterceptor(): Unit

testGetWithBody

fun testGetWithBody(): Unit

testHeaderIsTooLong

fun testHeaderIsTooLong(): Unit

testIgnorePostContent

fun testIgnorePostContent(): Unit

testLoggerOnError

fun testLoggerOnError(): Unit

testRepeatRequest

fun testRepeatRequest(): Unit

testRespondBlockingLarge

fun testRespondBlockingLarge(): Unit