search cancel

JMeter unexpectedly skips some samplers

book

Article ID: 213352

calendar_today

Updated On:

Products

BlazeMeter

Issue/Introduction

It may happen that on certain workstations, JMeter may skip certain samplers without apparent reason.

Cause

It may happen on certain workstations while others do not suffer the problem even though the JMeter installations are exactly the same. There is no clear reason of why this happens but it seems to be related to the HTTP Cache Manager.

Environment

JMeter 5.x

Resolution

There are 2 solutions that are known to deal with the problem:

1. disable/remove the HTTP Cache Manager

2. Set cache_manager.cached_resource_mode to RETURN_200_CACHE (it defaults to RETURN_NO_SAMPLE, see https://jmeter.apache.org/usermanual/properties_reference.html#cache_manager ). This needs to be done in jmeter.properties or user.properties located in the JMeter/BIN directory.