JMeter Beginner Tutorials | Tips n Tricks 8 💡 Concurrency Thread Group-How to setup Realistic Test

preview_player
Показать описание
Hi, I am Raghav & Today we will learn:
1. How to use Concurrency Thread Group
2. How to control threads

References:
Stepping Thread Group is deprecated

________________________________________________________________

Do like, share and subscribe

Keep Learning,
Raghav
_________________________________________________________________

Learn JMeter step-by-step for Beginners

________ ONLINE COURSES TO LEARN ________

------------ UI TESTING ------------

------------ API TESTING ------------

------------ MOBILE TESTING ------------

------------ CI | CD | DEVOPS ------------

------------ VERSION CONTROL SYSTEM ------------

------------ PERFORMANCE TESTING ------------

------------ JAVA ------------

------------ MAVEN ------------

------------ OTHERS ------------

Keep Learning,
Raghav

Рекомендации по теме
Комментарии
Автор

Hi Raghav,

Thanks for the creating awesome tutorial series.I am a strict follower of your channel.Its very rare to find tutorial about the new features of Jmeter 4.I came across that we can also create HTML reports by executing using ant.It would be really helpful if you can make a video on that one .I tried from my end but coould not generate it for Jmeter 4.(java-1.8.0, ant 1.8).Please guide for HTML report generation using ant for Jmeter 4.

Thanks in Advance

swayambikash
Автор

Hello, thank you for the videos.

I don't understand one thing, I made my configuration as: 20/20/5/5. (seconds selected)
And I got:
- 173 samples according to my "View Result in Table" (Wasn't it supposed to be 20?)
- 83% error rate according to "Aggregate Report".

The erros, according to my "View Results Tree" are:
- Response code: 503

It happens even testing google.com.

Is this plugin unstable nowadays? Thank you.

TheLunarah
Автор

Hi Raghav, I need to perform stress/load testing of the application using jmeter, where i want to see the behaviour of application for a 10, 000 requests/ every 30 mins for a period of 5 hours. Also, i need to run this in non-gui mode.. How can i achieve it? Looking forward for your guidance on the same

praveeniyer
Автор

hi raghav I have a doubt that in the stepping thread group in which all threads did not shut down at once in this one, all threads shut down at once, so it does not seems to be realistic approach as all threads should shut down gradually as it happens with stepping thread group, is there any type of thread group in which there can be realistic approach as it was there in stepping thread group ??

keshavdwivedi
Автор

Hi Raghav, Thank you so much for wonderful JMeter videos, I got good understanding now, I have one doubt, How the same configuration will work for multiple api's in a Concurrent thread group.

Like I want to Hit my all api's with 50 parallel threads, how can i achieve this? If I run all the api's simultaneously will the load will distribute or the same load will occur on all the api's ?

ARPITCHOUDHARY
Автор

Hi Raghav!
Really nice explanation. Could you please explain how can we achieve ramp down of thread groups in Concurrency Thread group as we did in Stepping Thread group. Since Stepping Thread group is deprecated, we should be using Concurrency Thread group right?

sajinvarghese
Автор

Hi Raghav,

Can I distribute the Concurrency Thread Group load by running it on various slave machines.. ? Please suggest...

Regards,
Santosh

shanmukhasantosh
Автор

Hi Raghav,
When come to real senarios i face this kind of problems.Can you please help me to resolve those.

1.I'm recording a web application using jmeter recorder.Then it will add the normal thread group.But I want to add "concurrency thread group" to there.But I want to use the "concurrency thread group".
Is that ok to add new concurrency thread group and copy all the recorded samples to there?

2.I'm using the Blazemeter chrome plugin to record because it is easy and not want to change the proxy time to time.But our office guys says, we cant trust it because it is a third party tool.Is that true and what is the better way?


3.There is a web application in our office and I want to test the performance of a real senario.
Let's say within the given time some users are login, some are already logged and idle, some are file uploading, some are file dowmloading, some are wathing video.
Can i test this kind of senario in jmeter?

Please support me.

manekagayomi
Автор

Hi Raghav. i am evaluating apache bench tool and JMETER. Problem is that for same concurrency params, if i run via AB, i get a very high RPS like 50K+ RPS, and when same thing if i run via JMETER concurrency thread group, i get only 1000 RPS. What am i missing ?

sizzler
Автор

Hi sir, I want to design an API load test (REST API) using JMeter. This is example scenario:

For the first test run, we want to run 1000 virtual users, ramp-up 30 mins, hold target rate time (sustain load 1k users) for 1 hour, and lastly ramp-down 30 mins.

How do I apply this design test? I'm pretty confused whether to use Concurrency Thread Group or Ultimate Thread Group because Concurrency Thread group don't have the Step Down feature.

anissabrina
Автор

Hello Raghav,
I am a beginner for Jmeter. I have watched tutorial 1-3, 6, 17 and Tips n Tricks 8. For the testing I need to run, I need login as 10 different users (with different email address and password) concurrently into a website and each user need to trigger a search. I need to check if the system can tolerate such traffic. I am unsure how I can let 10 different users to login concurrently. What tutorials do I need to watch in order to achieve that?
Thanks,
Ricky

rickylee
Автор

I have a question. I have concurrency thread group with 6 HTTP requests under parallel controller. I am running them non-gui. The result I am currently getting is that each of the 6 requests has graphs and which is correct. What I want now is that split the 6 HTTP request into two groups. Group A and Group B but still under the same parallel controller and run on non-gui. I want to have the same 6 graphs with the addition of the graph of them as a group. I want to see 8 graphs/results in total. How can I do that?

vincenttuazon
Автор

Hi Raghav,

I have a doubt, How to make settings in Concurrency thread group so that the script runs for one iteraion?

I tried in two ways:
1.By not giving anything in hold target time and by giving 1 in iteration count
2.By giving time in hold target more than a iteration time and count of iteration as 1

In First case it just replayed for 2 secs whereas in second case it considered the hold target time value and went for second iteration too.

Please help me with this ASAP

Thanks,
Rajitha

rajithabandaru
Автор

Hi raghav, very amazing videos helped me alot to learn. I am stuck in a confusion. I am new to performance testing I need to know that In my jmter test plan i want to run 3 sets of users group, the test should run for 11 hours, in which from thread 1 group every 60 sec new thread should be added, second group 2, every 2 sec thread should be added and third group also 2 threads per second, which thread type and timer I need to you, do u have any document or reference from where I can get information

mishkakamtikar
Автор

@rahgav, thread iteration is stopped working in concurrency thread group, is there any solution for the same

sukhwindersingh-kzzd
Автор

Hi Raghav,
I want to simulate a realistic load test where every user is having a unique login details.Testing application only accept only the registered users in the app.Therefore I could not use the CSV data set config.

manekagayomi
Автор

Hi,
When I try to use concurrency thread group I am facing stack overflow exeception:null, I am hitting the request and then moving along the pages by doing pagination and while controller, Can someone help me understand why am I getting the stack overflow exception, I checked my while controller as well it is not called infinitely.

abhishekjha
Автор

Hi Raghav,
I want to run parallel request with different data, can I do that with jmeter? Like, after login with different users, get user details api should get hit for each user respectively. All this in parallel.

himanshutanwar
Автор

Hi Raghav - Can you please share an example on how to use Throughput Shaping Timer along with Concurrency Thread Group to achieve better load profiles

sudhindraggg
Автор

Hi. Thanks for the video.
I have a query about Junit integration in jmeter. Can you help me. I am facing issue in concurrent execution thread group.

rajshripawar