Problems with API text response in console mode

Hi everyone,

I have a problem comparing the api responses with my asserts when i run my test in console mode in jenkins, because the miss of utf -8 in console is breaking the text accents.

Running in Katalon IDE, is ok.
When i run in console mode i got the following error:

06-11-2018 06:45 FAILED because (of) Expected element property value 'Teste autom�tico qualidade' is not equal with actual property value 'Teste automático qualidade'

My question is: Is there any way or any parameter to configure so that there is no such difference in results between console and IDE?

None ? =(

See

Perhaps you have to add this JVM setting to your Jenkins starting script (JAVA_TOOLS_OPTIONS):

-Dfile.encoding=UTF-8
2 Likes

kazurayam said:

See
java - How set encodings in Jenkins to UTF-8 - Stack Overflow

Perhaps you have to add this JVM setting to your Jenkins starting script (JAVA_TOOLS_OPTIONS):

-Dfile.encoding=UTF-8
Correct, I did this and restart Jenkins and solved it. Thank you very much!!