Pim
03/29/2024, 3:17 PMtestApplication
does not perform real HTTP(S) requests. Does this mean I should use end-to-end tests; such as: https://ktor.io/docs/testing.html#end-to-end
What I try to achieve is make sure that my HTTPS request handling works, and that my sslConnector
is setup correctly.
Thanks in advance!Aleksei Tirman [JB]
03/29/2024, 3:47 PMIs this performing an actual HTTPS request, including the whole TLS handshake?No. The
testApplication
doesn't use the real network. So yes, you can verify the secure connection by writing the end-to-end tests.Pim
03/29/2024, 4:23 PM