jmeter.protocol.java.sampler.BSFSampler: BSF error org.apache.bsf.BSFException: JavaScript Error: Java class "com.googlecode.jmeter.plugins.webdriver.sampler.WebDriverScriptable" has no public instance field or method named "browser".

Stack Overflow | Tom Tran | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to use WDS variable in BSF or JSR233 (JMeter)

    Stack Overflow | 8 months ago | Tom Tran
    jmeter.protocol.java.sampler.BSFSampler: BSF error org.apache.bsf.BSFException: JavaScript Error: Java class "com.googlecode.jmeter.plugins.webdriver.sampler.WebDriverScriptable" has no public instance field or method named "browser".

    1 unregistered visitors

    Root Cause Analysis

    1. jmeter.protocol.java.sampler.BSFSampler

      BSF error org.apache.bsf.BSFException: JavaScript Error: Java class "com.googlecode.jmeter.plugins.webdriver.sampler.WebDriverScriptable" has no public instance field or method named "browser".

      at org.apache.jmeter.util.BSFJavaScriptEngine.handleError()
    2. Apache JMeter Core
      BSFJavaScriptEngine.eval
      1. org.apache.jmeter.util.BSFJavaScriptEngine.handleError(BSFJavaScriptEngine.java:202)
      2. org.apache.jmeter.util.BSFJavaScriptEngine.eval(BSFJavaScriptEngine.java:152)
      2 frames
    3. Apache JMeter Java
      BSFSampler.sample
      1. org.apache.jmeter.protocol.java.sampler.BSFSampler.sample(BSFSampler.java:98)
      1 frame
    4. Apache JMeter Core
      JMeterThread.run
      1. org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:465)
      2. org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:410)
      3. org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:241)
      3 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame