1

So using Jmeter today and whilst I know i can load test a website with concurrent users using threads, loops etc I was wondering if it is possible to setup a test where say 50 users access the website and then each of them browse the site in a different way?

Has anyone done this before or would jmeter not be the tool to use?
Looking for some suggestions or an idea how to do it in Jmeter.

Aliaksandr Belik
  • 12,725
  • 6
  • 64
  • 90
Richlewis
  • 15,070
  • 37
  • 122
  • 283

1 Answers1

1

Suppose you have at least the following simple possibility:Random Order Controller.

Implement set of navigation/browsing steps via separate samplers or group of samplers (grouped via e.g. Simple Controller or Transaction Controller - if some steps should be always executed in defined sequence).
This will be "pool" of navigation steps.
Adding all these steps as child samplers to the Random Order Controller let you have different, per user, randomly generated sequence of navigation steps. In this case you possible have to put your login/logout samplers (if any) out from Random Order Controller. As well you can e.g. use both scenarios with and without login/logout, etc.

Thread Group
    ...
    Login Sampler
    Random Order Controller
        Sampler A
        Sampler B
        ...
        Sampler X
    Logout Sampler
    ...

As well you can also additionally look onto

Aliaksandr Belik
  • 12,725
  • 6
  • 64
  • 90