Questions tagged [threadgroup]
121 questions
2
votes
1 answer
JMeter thread groups not reaching specified transactions per second
I’m running into an issue in JMeter 5.4.1 where my thread groups aren’t reaching the specified transactions per second.
I have two thread groups in a single JMeter test that run in parallel. Each thread group is making a single API call. The first…

Nicholas
- 21
- 1
2
votes
2 answers
Add a delay time between thread group iterations
I have a script with one Thread Group, and I have a look count on so when I run the test it will do 4 iterations of that one thread group.
I am trying to add a delay between each iteration of the thread group NOT between each request in the thread…

Michelle.K
- 33
- 4
2
votes
3 answers
How to put Rendezvous function in jmeter thread or vuser for a paticular function
I am new in Jmeter , I am familiar with LR. But not able to get some functionalities in jmeter for "VUser/Thread Group ".
While I am running my script with 10 threads in jmeter , what does that mean () :-
all 10 users are performing same action…

Tarit Ray
- 944
- 12
- 24
2
votes
1 answer
How to start ThreadGroup in java?
I want to start a ThreadGroup which contains many threads, but the start() method is not present in the ThreadGroup class. It has a stop() method to stop the thread group though.
How can I start the thread group if the start() method is not…

Manish Kumar
- 227
- 4
- 9
2
votes
2 answers
Jmeter loop Count 'forever' does not run forever
I have created a jmeter scrip for 25 users to login to system and perform some functions. I wanted to run that run that test plan forever. So i have selected Loop count "forever" option in test plan.But thread group doesn't run forever and its…

Udani
- 41
- 1
- 5
2
votes
3 answers
JMeter. How to determine when thread group is finished
I need two separate thread groups to be run(Second group have infinite loop count). And when the first group is done stop the second one. How can I determine when the first group is done?

Alexandr
- 345
- 1
- 6
- 16
2
votes
1 answer
boost thread_group infinite loop
I am using boost and trying to create a basic thread_group that will perform their tasks and exit. Here's what my code looks like:
boost::thread_group threads;
void InputThread()
{
int counter = 0;
while(1)
{
cout << "iteration…

ND_27
- 764
- 3
- 8
- 26
2
votes
1 answer
Why is not safe to use java.lang.ThreadGroup?
I´m looking for best practices and I´m applying PMD to my Java EE Project, but one rule says that I have to avoid using java.lang.ThreadGroup, and I´m using it right now.
The rule says that is not safe, and I want to know: Why?
Thanks

Ocepeda
- 37
- 5
1
vote
2 answers
Can someone tell me how to create in java an array of n number of threads in a thread group?
I've been trying for some time to find some examples or explenations of java how to create an array of n threads that are part of some threadgroup, so if anyone knows something more please explain, thanks.

PKb
- 23
- 7
1
vote
1 answer
Running thread groups sequentially in Jmeter
I am trying to run a script with two thread groups each for multiple users. script looks like
Test Plan
Thread group 1 (10 users, ramp up period 5 sec and loop count 1)
Samplers
Thread group 2 (10 users, ramp up period 5 sec and loop count 1, thread…

Saisree
- 11
- 2
1
vote
2 answers
Jmeter How to use different user variables for each thread (each thread. not thread group)
I want to use 100 concurrent users in one thread group in Jmeter. but I want to each thread to use different user login password. how to achieve that?

developer monkeys
- 44
- 8
1
vote
2 answers
java.net.SocketException: Socket closed at the end of the script duration when using Jmeter Concurrency Thread Group
I am using Jmeter 5.2.1 along with Concurrency Thread Group with ${__tstFeedback(ThroughputShapingTimer,1,10,10)} in combination with the Throughput Shaping Timer to dynamically change the target throughput throughout the test duration.
The Test…

JustNatural
- 375
- 7
- 19
1
vote
0 answers
Metal: Sampling texture is faster than load threadgroup memory?
I wrote the following compute shader to blur images with some complex kernel:
// use Packhalf5 to align to 16 B
struct Packhalf5
{
half4 a;
half4 b;
};
kernel void cs_main(
texture2d_array t_f123 [[texture(0)]]
,…

wubugui
- 11
- 3
1
vote
1 answer
How to run the jmeter thread groups one after another
The situation is next: I need to run the performance tests using jmeter. I have setup several Graphql requests, tested them and they work perfectly. The idea of the flow is next:
The user login to the platform using graphql mutation, and in…

Anatolii Klykov
- 11
- 1
1
vote
1 answer
Restart Jmeter thread group with same user details
I'm using jmeter version 5.4.1. My load test script uses csv file which contains a lot of users. I want unique user on each thread but same user on each iteration of thread group as I want to restart thread group when some specific condition occurs…

User_0900
- 13
- 5