I have maven project, with the help of which I am trying to execute a jmx file, running JMeter with (jmeter-maven-plugin). I have the following console output
P E R F O R M A N C E T E S T S
[INFO] -------------------------------------------------------
[INFO] Invalid value detected for <postTestPauseInSeconds>. Setting pause to 0...
[INFO]
[INFO]
[INFO] Executing test: ZawyaJmeterTest.jmx
[INFO] Writing log file to: D:\tools\jmeter_examples\Example\jmeter-maven-example\target\jmeter\logs\ZawyaJmeterTest.jmx.log
[INFO] Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'D:\tools\jmeter_examples\Example\jmeter-maven-example\target\jmeter\testFiles\ZawyaJmeterTest.jmx', missing class com.thoughtworks.xstream.converters.ConversionException: No field 'sentBytes' found in class 'org.apache.jmeter.samplers.SampleSaveConfiguration' : No field 'sentBytes' found in class 'org.apache.jmeter.samplers.SampleSaveConfiguration'
I thought in order to fix the issue org.apache.jmeter.samplers.SampleSaveConfiguration
I tried to add SampleSaveConfiguration class in dependency
<dependency>
<groupId>org.apache.jmeter</groupId>
<artifactId>ApacheJMeter_core</artifactId>
<version>3.1</version>
</dependency>
But It did not helped in fact. Than I looked for problem No field 'sentBytes' found in class 'org.apache.jmeter.samplers.SampleSaveConfiguration'
, but in class SampleSaveConfiguration
I found field private boolean sentBytes;
I do not know in what way search such issue.
When running JMeter test locally it is fine -
d:\tools\jmeter_examples\Example\jmeter-maven-example>jmeter -n -t D:\tools\jmeter_examples\Example\jmeter-maven-example\src\test\jmeter\ZawyaJmeterTest.jmx -l D:\tools\jmeter_examples\Example\jmeter-maven-example\target\jmeter\results\ZawyaJmeterTest.jtl
Writing log file to: d:\tools\jmeter_examples\Example\jmeter-maven-example\jmeter.log
Created the tree successfully using D:\tools\jmeter_examples\Example\jmeter-maven-example\src\test\jmeter\ZawyaJmeterTest.jmx
Starting the test @ Wed Nov 30 17:26:53 EET 2016 (1480519613563)
Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445
Tidying up ... @ Wed Nov 30 17:27:07 EET 2016 (1480519627819)
... end of run
Does anybody faced such issue? Or recommend some ways of the decision, please!!!