What should happen (OK Case)
In order to save properties generated during executing JMeter steps, I have added one JsonExtractor and Beanshell post process to parse attributes and save it to one csv file like below:
And I can get the generated CSV file when I invoking the JMeter testing from JMeter UI.
What happens (KO Case)
If I added the JMeter in java project with jmeter-maven-plugin and invoke it from command like like "mvn verify -Pperformance". I couldn't find the generated CSV file.
Could you please help me check what's the root cause? Thanks a lot.
The text was updated successfully, but these errors were encountered:
Support for JMeter 5.2.1 was not added until version 3.0.0 of the plugin.
Could you try with the latest version of the plugin and see how that affects this issue.
I also have the same problem.BeanShell PostProcessor not work with jmeter-maven-plugin 3.1.0.
BeanShell PostProcessor like below:
String response_data = prev.getResponseDataAsString();
JSONObject JsonData = new JSONObject(response_data);
String NewData = JsonData.toString();
In the local jmeter it be ok.But not work with jmeter-maven-plugin 3.1.0.