skip to Main Content

What I’m trying to do:

Send http requests to my web application from a dynamic workflow. I would like the load tester (Jmeter) to generate it’s own workflow and post/get content to/from my site.

What I have done:

I have a dummy WordPress site that I’m using to test the CPU and memory utilization on my host machines as well as the efficiency of my load balancing algorithm. Currently, I’m using Jmeter to design my workflow and test my system. However, I realized that Jmeter is only sending the same workflow to the load balancer. Due to this, the resource utilization on my backend servers are equal across the board. I would like to test and utilize the differences in CPU utilization. Therefore, I need a way to dynamically post/receive content from my dummy WordPress site.

2

Answers


  1. You can put all the requests under Random Order Controller

    Random Order Controller is much like a Simple Controller in that it will execute each child element at most once, but the order of execution of the nodes will be random

    Login or Signup to reply.
  2. As of now JMeter is not able to automatically generate end-to-end test plan simulating real users doing various stuff to your application, the options are in:

    1. Recording anticipated WordPress user activities using JMeter HTTP(S) Test Script Recorder and after correlation of dynamic parameters and parameterization of test data (i.e. usernames) you should be able to conduct a more or less realistic load test
    2. Using a ready scripts collection like WordPress JMeter Template
    3. Use a machine-learning AI-based test tool like up9
    4. If you’re testing a web site behind the load balancer make sure to add DNS Cache Manager to your test plan.
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search