Package io.ktor.server.testing
Types
This HTTP generator produces huge amount of requests however it doesn't validate responses and doesn't measure any time characteristics.
Represents a test application call that is used in withTestApplication and handleRequest
ktor test engine that provides way to simulate application calls to existing application module(s) without actual HTTP connection
Represents a test application request
Represents test call response received from server
An ApplicationEngineFactory providing a CIO-based ApplicationEngine
Functions
Wait for websocket session completion
Return parsed content type from the test response
Keep cookies between requests inside the callback.
Creates test application engine environment
Make a test request
Set HTTP request body bytes
Set HTTP request body text content
Set multipart HTTP request body
Start test application engine, pass it to test function and stop it
Start test application engine, pass it to test function and stop it