Loop Controller not working with HTTP Cache Manager Enabled
@qainsights (Bug 66250): Hi Team,
In Fedora 36 and Windows 11, adding a Loop Controller and a HTTP Cache Manager to the test plan is looping just once.
Steps to Reproduce:
- Install OpenJDK11
- Install JMeter 5.5
- Open the attached JMeter Test Plan
- Enable HTTP Cache Manager and execute
- Loop Count is only one in View Results Tree
- Disable HTTP Cache Manager and execute again
- Loop Count is 10 in View Results Tree
Actual Result
- Loop Count is always one with HTTP Cache Manager enabled
Expected Result
- Loop Count must be 'n' times with HTTP Cache Manager enabled.
Please find the attached log info and the test plan.
Thank you NaveenKumar Namachivayam
Created attachment JMeter-Loop-Count_CacheManager.zip: Test Plan and Logs
Severity: major OS: Linux
Jerome (migrated from Bugzilla): If you're making the same Get requests in a loop then the cache manager will not send several identical requests. Instead you'll see "No Request Sent (Queried From Cache)" in the response message. Try disabling cache control headers if you want to avoid this.
That said, this behavior is consistent with previous versions, have you tried the same in earlier builds ?