[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jmeter-user
Subject:    Re: Use CLI mode CANNOT continue after a sampler error
From:       Dmitri T <glinius () live ! com>
Date:       2023-02-28 14:20:36
Message-ID: PH7PR12MB71399433BDC5BC906B7379F1C0AC9 () PH7PR12MB7139 ! namprd12 ! prod ! outlook ! com
[Download RAW message or body]

un xeer wrote:
> Hi,
> 
> She is JMeter 5.5 Binaries. when use GUI mode, She can continue after a sampler \
> error, and I can get error logs  in View Results Tree. But using CLI mode, I can't \
> get error logs. Looks like her action is Stop Test after a sampler error. 
> Thanks
> unXeer
> 
The behaviour should be exactly the same, it doesn't matter whether you 
run your test in GUI or in non-GUI mode. The fact that you don't see 
"error logs" might be connected with the fact that by default JMeter's 
.jtl results file 
<https://cwiki.apache.org/confluence/display/jmeter/JtlFiles> is 
configured to not to store response data.

If you want to see the response data in the .jtl results file - you can 
either switch JMeter to save results in XML format and choose what do 
you want to store using JMeter Properties responsible for Results File 
Configuration 
<https://jmeter.apache.org/usermanual/properties_reference.html#results_file_config> 
or add a listener like Simple Data Writer 
<https://jmeter.apache.org/usermanual/component_reference.html#Simple_Data_Writer> 
and configure what and where to store there.

More information: How to Save Response Data in JMeter 
<https://www.blazemeter.com/blog/response-data-in-jmeter>

You can also check jmeter.log file 
<https://jmeter.apache.org/usermanual/get-started.html#logging> for any 
suspicious entries.



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic