Hi,
I have a problem with encoding.
My web app is all in UTF-8 as a result I run my tests with encoding set to UTF-8 in gatling.conf.
During my test, however, i need to get information from response from some external web page that is encoded only in ISO-8859-2.
When I try to do so I get following error: [ERROR] i.g.h.r.InputStreamResponseBody - Response body is not valid UTF-8 bytes.
When I change encoding to ISO-8859-2 in gatling.conf i get correct response in this step but I do not want do so as my whole app is in UTF-8.
Is there any way to change dynamically the response encoding? I tried 'transformResponse' but this will not work as reading response fails and there is nothing to transform.
regards,
Konrad