outofcoffee/imposter

when processing a request with charset=UTF-8, a groovy script gets special Unicode characters as question marks out of context.request.body

rcoulonv opened this issue · 1 comments

I am using imposter-4.0.2.jar and a groovy script to process UTF-8 requests containing special characters.

When extracting partial content of context.request.body , those special characters are returned as question mark "?" characters.

=>how is it possible to extract special (Unicode) characters out of request body ?

thanks

solution found :
execute imposter with the -Dfile.encoding=UTF-8 :
java -Dfile.encoding=UTF-8 -jar imposter-4.0.2.jar