jmeter: Error invoking bsh method: eval -


when try execute following code in jmeter:

import org.json.jsonarray;  import org.json.jsonobject; string jsonstring = prev . . . ''   

i following error:

error - jmeter.util.beanshellinterpreter: error invoking bsh method: eval   sourced file: inline evaluation of: import org.json.jsonarray; import org.json.jsonobject; string jsonstring = prev  : typed variable declaration : object constructor   script org.apache.jorphan.util.jmeterexception: error invoking bsh method: eval sourced file: inline evaluation of:     import org.json.jsonarray;     import org.json.jsonobject;       string jsonstring = prev . . . '' :     typed variable declaration :      object constructor   

i have no idea means.

your code wrong:

prev . . . ''

it should java code compatible jdk1.4

you have option use jsr223 + groovy anyway code wrong


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -