沃梦达 / 编程技术 / 服务器 / 正文

Response code: 500 Response message: org.apache.jorphan.util.JMeterException: Error invoking bsh method: eval Sourced file: inline evaluation of: ``public static void test(){ string input; input

jmeter beanshell 报错:Response code: 500Response message: org.apache.jorphan.util.JMeterException: Error invoking bsh method: eval Sourced file: inline evaluation of: ``public static void test(){...

jmeter  beanshell 报错:

Response code: 500
Response message: org.apache.jorphan.util.JMeterException: Error invoking bsh method: eval    Sourced file: inline evaluation of: ``public static void test(){     string input;      input=vars.get("aa");     string out . . . ‘‘ : Typed variable declaration : Class: string not found in namespace

解决:

找了半天,原来是string的s是小写,那个S应该应该是大写

原文:https://www.cnblogs.com/yqcf/p/8419341.html

本文标题为:Response code: 500 Response message: org.apache.jorphan.util.JMeterException: Error invoking bsh method: eval Sourced file: inline evaluation of: ``public static void test(){ string input; input

基础教程推荐