I created a basic HttpRequest call in Jmeter (GET https:www.google.com) with a JSR223 PostProcessor with the following code(this is just an example):
log.info("log");
System.out.println("Sysout");
println("println");
When I run the performance test via command line with the following command:
jmeter -n -t example.jmx -l ./example.log -e -o ./html_report -Lorg=FATAL
I can make log.info("log")
to not be printed to the console (thanks to the param -Lorg=FATAL
), but the other two entries (Sysout
and println
) keep being printed.
My goal is to just print the summary data in the console without any entry (log, print, system.out) to be printed (so I can monitor the progress), my expected output would be:
Starting standalone test @ Wed Mar 09 11:03:34 EST 2022 (1646841814615)
Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445
summary = 10 in 00:00:12 = 0.8/s Avg: 1224 Min: 979 Max: 3247 Err: 0 (0.00%)
Tidying up ... @ Wed Mar 09 11:03:47 EST 2022 (1646841827566)
... end of run
How can I disable the other outputs?
Note: Disabling/commenting the code lines is not allowed of course