Andrew Reed
03/11/2022, 11:42 AMbut was io.ktor.client.call.NoTransformationFoundException: No transformation found: class io.ktor.utils.io.ByteBufferChannel -> class com.a.mp.networking.TestData
So sending a request asking for a json object response but then i tell my test engine client to respond with a 404 error, but instead it seems to be trying to serialise the 404 error.Sam
03/11/2022, 11:43 AMWith v2.0.0, theproperty used for response validation is set toexpectSuccess
by default. This requires the following changes in your code:false
• To enable default validation and throw exceptions for non-2xx responses, set theproperty toexpectSuccess
.true
Andrew Reed
03/11/2022, 11:44 AMSam
03/11/2022, 1:41 PMAndrew Reed
03/11/2022, 1:43 PMhandleResponseException