📓
Loadium Wiki
  • Welcome to Loadium
  • Getting Started with Loadium
  • Quick Guides
    • Quick Start
    • JMeter Test
    • Locust Test
    • Script Builder
      • Simple HTTP Builder
      • Record&Play
    • Gatling Test
    • WebDriver Test
    • HLS Test
    • Understanding Test Reports
    • Test Execution Fail Reasons
    • File Output
  • ABOUT LOADIUM
    • Features
    • Pricing
    • VUH - Virtual User Hour
  • ACCOUNT
    • Profile & Account
    • Subscription
  • Features
    • Test Report
    • Compare Test
    • Private Location
    • Report PDF Export
  • Test Settings
    • Split CSV
    • Sandbox
    • Multi-Step
    • Geolocation
    • Customize Setup
    • Dedicated IP
    • Send Email
    • DNS Override
    • TPS
    • Network Type
    • Test Scheduling
    • Test Failure Settings
    • JMeter Settings
    • Failure Criteria
    • Flexible Thread Scheduling
  • CONTINUOUS INTEGRATION SUPPORT
    • Azure DevOps Pipeline
    • Jenkins Load Testing with Loadium
  • Integrations
    • Microsoft Teams Integration
    • New Relic Integration
    • AppDynamics Integration
    • TeamCity Integration
  • Jmeter Corner
    • Built-in JMeter Functions
    • How to Install JMeter Plugins
    • Record and Play Load Testing With Jmeter in 5 Steps
    • Websocket with Apache JMeter
    • JMeter Timers
    • Handling Error Messages of JMeter Tests in Loadium
    • Details of Throughput Controller in JMeter (Splitting Threads to Different Requests)
    • How to Add a Varying Number of Parameters in Apache JMeter
    • Local Network Simulation On JMeter
    • Running Load Test with FTP Server
  • Gatling Corner
    • Introduction to Gatling
    • Gatling Recorder
    • Gatling Pros&Cons
  • PUBLIC APIs
    • Get Test Status Service
    • Authentication Service
    • Get Performance Test List Service
    • Start Performance Test Service
Powered by GitBook
On this page
  • Step 1: Add Thread Group
  • Step 2: Basic Settings

Was this helpful?

  1. Test Settings

Flexible Thread Scheduling

A guide for Flexible Thread in JMeter

PreviousFailure CriteriaNextAzure DevOps Pipeline

Last updated 7 months ago

Was this helpful?

There is a plug-in for JMeter that we can use to increase or decrease the number of threads at a scheduled time in JMeter tests.

The Ultimate Thread Group provides flexible thread scheduling to your test scenario. It allows you to create a scheduled thread with advanced configuration.

Available scenarios with the Ultimate Thread Group are as following:

  • Multiple scheduled records can be defined

  • Start Threads Count, Initial Delay, Startup Time and Hold Load Time can be defined separately for each record

  • Scheduled load preview can be displayed on the chart

Step 1: Add Thread Group

Test plan -> Add -> Threads (Users) -> jp@gc – Ultimate Thread Group

🙌🏻 Example:

  • The test will start with 70 threads

  • At the 20th second of the test, 200 threads will be reached by adding 130 threads with a 4 second ramp up.

  • After working with 200 threads for 25 seconds, 130 threads will be closed.

  • In the 60th second of the test, 150 threads will be reached by adding 80 threads with a 4 second ramp up.

  • After working with 150 threads for 25 seconds, 80 threads will be closed.

  • Continue with 70 threads until 2 minutes are completed.

To make it more understandable, we have marked the area that each record covers on the chart.

Note: Threads are automatically closed when the given hold load time is complete. If there are threads that are not closed, there are thread blocking operations.

Step 2: Basic Settings

Required configurations on the “New Tests” screen for the JMeter test scenario using ultimate thread group:

  • Thread Count value should be calculated and entered at the maximum thread number that will run simultaneously. For example: In the example above, max 200 threads will work in one engine at the same time.

  • Duration value should be set according to the timeline in the ultimate thread group preview graphic. It’s not a problem that the time determined is more than the ultimate thread running time. Testing will end automatically when threads are finished.

  • Iteration and Ramp up Time values are managed by the Ultimate thread group plug-in.

  • The Engine Count value should be set accordingly as many as the number of engines requested.

Thread group values in the Ultimate thread group are not updated with the interface. You must do the necessary thread group config in jmx. You can save and run the test.

Report resulting from the above test:

Enjoy load testing!

If you don't see the answer to your question here, please to let us know! We're always improving our documentation.

JMeter Test
Sandbox
Dedicated IP
reach out to us