Forum Discussion

Taz's avatar
Taz
Contributor
2 years ago

How to change Content-Length?

ReadyAPI seems to calculate the Content-Length but doesn´t account for special symbols like Umlaute (ä,ö,ü) which adds additional bytes to the content-length.  I added a "content-length" manually to ...
  • Taz's avatar
    2 years ago

    Contacting support we figured out how to resolve this problem.  It appears that UTF-8 doesn't seem to be the default and modifications need to be made in the configuration file. In our case we're using Windows and needed to edit the configuration file ReadyAPI.vmoptions.  In it it's necessary to add the following Entry:

     

    -Dfile.encoding=UTF8

     

    More information can be obtained by looking into this documentation:

     

    https://support.smartbear.com/readyapi/docs/testing/best-practices/unicode-support.html

     

    Personally I still think it's a bug because in my opinion UTF-8 should be the default.