Questions tagged [threadgroup]

121 questions
1
vote
3 answers

JMeter Thread group Ramp up time plus duration question

Running JMeter version 5.4.1 I have the following setup for a JMeter thread group: Number of Threads: 300 Ramp-up Period: 300 seconds Loop count: infinite Specify Thread Life time: Duration 600 seconds, startup delay: 0 Thread group is set to…
JaySym
  • 63
  • 1
  • 8
1
vote
0 answers

boost thread_group with callback

i would like to write a boost::thread_group. Assuming i understood correctly what callback in thread is i would like to apply it as well in my program. I found the following example: (thread_group with out callback) boost::thread_group group; for…
Eagle
  • 3,362
  • 5
  • 34
  • 46
1
vote
2 answers

duration in jmeter thread group

what is the meaning of the duration in jmeter thread group. I found this is official document saying that is end time while the startup delay is the start time. But is it the end time since we start executing the test? or since the thread is…
YeKc1M
  • 65
  • 2
  • 2
  • 9
1
vote
1 answer

Issue with catching RuntimeExceptions as NullPointerExceptions by an uncaught exception handler in Java FX applications

I read this post JavaFx 8 global exception handling and tried to handle uncaught exceptions in my application. It works fine as described in the post. But when I added a statement which caused a NullPointerException the UncaughtExceptionHandler did…
1
vote
1 answer
1
vote
1 answer

Stepping Thread Group vs Number of Samples JMeter

I want to understand the relation between Stepping up Thread Groups and Number of Samples. Stepping Thread Group My Test Plan looks like this: Test Plan But in the Summary report I am getting #Samples more than 10 for certain Requests. Not able to…
Pratik Kumar
  • 13
  • 1
  • 1
  • 5
1
vote
1 answer

"threadgroup_barrier" makes no difference

Currently I'm working with Metal compute shaders and trying to understand how GPU threads synchronization works there. I wrote a simple code but it doesn't work the way I expect it: Consider I have threadgroup variable, which is array where all…
Eugene Alexeev
  • 1,152
  • 12
  • 32
1
vote
1 answer

Restart JMeter thread after stopped by error

I set JMeter Thread Group Action to be taken after a Sampler error to Stop thread to prevent forwarding of error rate to further steps. When error occurred in an iteration, thread is stopped, but not restarted in new iteration. So rest of test is…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
1
vote
2 answers

How I can replace deprecated method this.stop() in ThreadGroup

I am working on java version upgrade project and I am on the work where I need to replace deprecated methods. this.stop(); Code USed this method are in :: ThreadedTestGroup.java:: package utmj.threaded; import junit.framework.*; public…
James Bond
  • 51
  • 1
  • 8
1
vote
1 answer

JMeter threads run once while loop counter set to 'forever' with constant throughput timer

I have a test plan in JMeter that tests a memSQL db, which seems to be running each thread only once, instead of running forever. It has 3 thread groups. Each has its own JDBC request element (1 for a delete, 1 for an insert, 1 for a select). I…
Nexaspx
  • 371
  • 4
  • 20
1
vote
4 answers

Jmeter - Execute sampler once per test

I have below test plan in my jmeter |Test Plan |-Thread Group |--HTTP Request 1 |--HTTP Request 2 |--HTTP Request 3 In Thread Group I have setted: Number of Threads - 5 Ramp-Up Period (in seconds) - 0 Loop Count -1 When I run my test Jmeter…
Kamil W
  • 2,230
  • 2
  • 21
  • 43
1
vote
1 answer

how to run mutliple thread groups with different database users in JMeter

I've set of sql-files they need to execute in parallel and I've achieved it by ThreadGroups. I've created 2 thread groups. Each TG will start each sql-file, But, they are running with same database-user. I need to run the TG1 with user1 and TG2…
user3655447
  • 157
  • 1
  • 2
  • 11
1
vote
2 answers

JMeter - In Test Plan that executes consequtive Thread Groups - How to execute particular Thread Group only once

I have a Test Plan, that executes multiple Thread Groups consequtevly - But for one of these Thread Groups I want to be executed once and on next Test Plan exection it should be ommited. Is this possible?
Nelly
  • 137
  • 2
  • 10
1
vote
1 answer

JMETER: how to create a group of N threads where N is the number of lines in a file

I have the following test plan: I want to have 1 thread on each line of csv file. How can I achieve it?
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
1
vote
2 answers

Jmeter: how to run a thread-group for 1 iteration using "jp@gc - Stepping Thread Group"?

I have a thread-group in a test plan and I want to perform load run using 100 users. My load configuration should have ramp-up and ramp-down of threads like below: Except that I don't want to run the load for a specific amount of time as marked in…
Surya T
  • 53
  • 2
  • 10
1 2
3
8 9