{"header":{"type":"auto_translation","ret_code":"error","time_cost":2623.0,"request_id":"b3625eea599c11ed9ba95b34174e380d"},"message":"Translation error (20001), please retry later. Detail: RuntimeException - The length of source sentence is too long!!! - {\n "header": {\n "time_cost": 0.000356,\n "type": "auto_translation",\n "ret_code": "The length of source sentence is too long!!!"\n }\n}"}
1条答案
按热度按时间zujrkrfu1#
1.我无法重现您的问题,可能是环境问题,这取决于您的Java版本和JMeter类路径中的库。
1.查看变量值,删除
{
和}
字符没有意义,因为它们不存在。1.您可以尝试使用
import
语句,而不是指定完全限定的类名,例如,将“your”代码更改为如下形式:演示:
更多信息:Scripting JMeter Assertions in Groovy - A Tutorial