jmeter icon indicating copy to clipboard operation
jmeter copied to clipboard

Token Parsing Error:Lexcial error at line....Encountered:"\u202a"(8234)

Open asfimport opened this issue 3 years ago • 1 comments

liuchen (Bug 66264): jmeter用beanshell保存结果文件到本地,报错Token Parsing Error:Lexcial error at line....Encountered:"\u202a"(8234) 显示的是创建文件写对象时报错,但是找不到原因

Created attachment %E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20220915091932.jpg: 代码如图

代码如图

Severity: normal OS: All

asfimport avatar Sep 15 '22 01:09 asfimport

@FSchumacher (migrated from Bugzilla): The char \u202a is a special character indicating left-to-right text. It seems, that beanshell is not happy about it. Have you copy and pasted the code into JMeter? How did you enter the code.

Have you tried using Groovy instead of Beanshell? (Apart from getting rid of the control character of course)

asfimport avatar Sep 15 '22 13:09 asfimport