Home > database >  jmeter cache doesn't clear in the next iteration
jmeter cache doesn't clear in the next iteration

Time:11-23

I've faced the problem that JMeter doesn't clear the cache and extract variables in the next loop iteration, ruining the following request in the next loop.
enter image description here

As you can see

  • when the box is ticket both requests download embedded resources
  • when the box is not ticked 2nd request only fetches HTML DOM, no requests to embedded resources are made

So most probably your expectations regarding how HTTP caching should work are a little bit wrong.

Also JMeter doesn't "clear" any defined variables so you might see "old" values during the next iteration, if you have Logic Controllers which rely on certain variables presence - you need to reset the values manually somehow.

CodePudding user response:

Have spoken with my colleague about it and he said that it's well-known bug in JMeter. More details are described here: https://groups.google.com/g/jmeter-plugins/c/3RU_O9JXiYw/m/aovwl1SuAQAJ?utm_medium=email&utm_source=footer&pli=1

  • Related