Is it possible to specify programmatically the number of threads from within the Thread Group?
My scenario: I need to run two Thread Groups. Each group will read files that specify the number of threads for that group to run. The groups should run concurrently.
Thanks
JMeter - Thread Group
126 Views Asked by Vladimir At
1
There are 1 best solutions below
Related Questions in JMETER
- i have extracted some values using regex in beanshell postprocessor now i have to pick a random value and store it into a varaible?
- Jmeter Java DSL - getting issues when using rpsThreadGroup
- How to configure api http request with load testing
- Jmeter resolution variable with remote
- Need to read different line from different files using CSV read function in JMeter
- How to enter user input in jmeter console (without doing parameterization)
- Optimal way to replace different parts of a structured string(XML) with random string values of different lengths in a JMeter JSR223 Samper (groovy)
- Jmeter query about script recording
- In Jmeter, for ISO8583 Sampler, how can I read the data from CSV file?
- Use JMeter to simulate receiving websocket broadcasts similar to okhttp3
- is their any industry standard for performing 300K load test (Thermostat->HVAC system)?
- How to perform multiple HTTP requests with unique IP addresses from my local
- Jmeter => How to add a jmx file in the transaction controller
- How to send huge JSON with PDF encoded over HTTPS in JMeter?
- How can I create a random(seed) function using a custom seed for Jmeter?
Related Questions in JMETER-PLUGINS
- Need to read different line from different files using CSV read function in JMeter
- How to filter backslash in Jmeter response body?
- Jmeter >> ChromeWebDriver >> Having issue while running in Bamboo, Maven it works
- Jmeter Web Driver - how to start WDS on an existing Chrome session
- Backend Listener in Distributed Mode in JMeter
- Hbase/HDFS Jmeter test performnace in hadoop 3.3.6
- How to stub/mock the downstream API's in Jmeter
- Jmeter is skipping if controller during script execution
- Correlation Recorder is not picking up all the traffic
- Best way to dynamically fire API queries using payloads from a JSON Array?
- JMeter Concurrent APIs Parallel Controller
- Failed to retrieve RMIServer stub Error while connecting to the Azure IOT hub from JMeter using JMXMon Sample Collector
- CPU utilization sometimes reaches 100% and sometimes gives different results when i perform execution same testes with JMeter
- Send 1000 requests per second to the azure event hub using azure event hub sampler in JMeter
- Jmeter or Gatling Kafka pluging that support google protobuf serdes
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use properties.
For ex:
In the number of threads field, you can set like this
$(__P(usercount)}When you run the test through command line, you can pass the value as shown here
jmeter -n -t test.jmx -Jusercount=10Now the test will run for 10 users.
You can also use
$(__P(usercount,5)}That is, if the property value is passed to the test, then it will use it, otherwise, it will take the default value which is 5.