I am executing the Jmeter test plan on Ubuntu Server but at the end left with an error saying:
Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/opt/testScripts/LcLoadTesting/agentsAccessTheCustomerInfo.jmx'.
Cause:
CannotResolveClassException: com.googlecode.jmeter.plugins.webdriver.sampler.WebDriverSampler
The whole error is:
Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/opt/testScripts/LcLoadTesting/agentsAccessTheCustomerInfo.jmx'.
Cause:
CannotResolveClassException: com.googlecode.jmeter.plugins.webdriver.sampler.WebDriverSampler
Detail:com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.converters.ConversionException
cause-message :
first-jmeter-class : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jmeter.save.ScriptWrapper
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/com.googlecode.jmeter.plugins.webdriver.sampler.WebDriverSampler
line number : 29
version : 5.2.1
-------------------------------
An error occurred: Error in NonGUIDriver Problem loading XML from:'/opt/testScripts/LcLoadTesting/agentsAccessTheCustomerInfo.jmx'.
Cause:
CannotResolveClassException: com.googlecode.jmeter.plugins.webdriver.sampler.WebDriverSampler
Detail:com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.converters.ConversionException
cause-message :
first-jmeter-class : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jmeter.save.ScriptWrapper
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/com.googlecode.jmeter.plugins.webdriver.sampler.WebDriverSampler
line number : 29
version : 5.2.1
-------------------------------
Can anyone please help me in this how can I resolve it so that I could successfully run the test plan on Ubuntu Server.