Summary: | java.nio.charset.MalformedInputException: Input length = 1 by import groovy script | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | DanP <dan.paesler> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | NEEDINFO --- | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 5.4 | ||
Target Milestone: | JMETER 5.4.1 | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: | a little test |
Description
DanP
2020-12-29 10:51:53 UTC
Regression caused by 80c39149ef977f87ee03cddb0b99a21629126ce5 Can you tell us, what encoding your files are in and what language setting your setup has? (On linux this would be the values of LANG, LC_ALL and co.) Hi there, the encoding of the scripts is UTF-8 and the language setting of the PC is German. Which OS? Can you attach a minimal test-plan with a minimal groovy script, that triggers the issue? I tried a small script with Linux (utf-8 encoded) running with LANG=de_DE.utf-8 and had no problems. Created attachment 37666 [details]
a little test
a small test as an attachment
Are you sure, that your groovy script is utf-8? When I unzipped it, I got the following encodings: $ file * TestGroovyFailed.groovy: ISO-8859 text, with CRLF line terminators TestGroovy.jmx: XML 1.0 document, ASCII text Yes it is right. "it is right" means a) the script is in iso-8859 and therefore has the wrong encoding b) the script is in utf-8 and the attached zip is wrong Please choose one and report back. If no feedback is given, we will close this bug, as it is most likely explained by a wrong encoding of the script. This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5477 |