1

I want to performance test a web application. My scenario is to take the metrics for multiple users (say 10) with cache. So i have added HTTP cache manager, but cache work per individual users. Is there any way to cache the files once and use it for 'n' number of users in jmeter. Even i tried to put cache manager outside thread group but it dint work.

It should work like cache the files once and use the cache for all the threads in jmeter. Is there any workaround for this ?

Jugi
  • 1,244
  • 3
  • 23
  • 51

2 Answers2

0

Cache is per user/thread, see HTTP Cache Manager doc:

Each Virtual User thread has its own Cache

So you can execute with multiple users/threads as 10, just define Number of Threads in Thread Group and each will save different cache

Ori Marko
  • 56,308
  • 23
  • 131
  • 233
0

Create 2 Thread Groups for your 2 groups of users:

Of course Http Cache Manager will only have effect in the second iteration of the Thread

Example:

Sample plan

UBIK LOAD PACK
  • 33,980
  • 5
  • 71
  • 116