Want to execute 5 different test plans with one go

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Want to execute 5 different test plans with one go

Pravesh Prajapati
Hi All,
I have 5 different get request and those 5 get requests,
I want to execute with different no of users in one go
say,
Request1-50
Request1-40
Request1-60
Request1-90
Request1-60
Ho can we achieve it in jmeter

--
Regards,
Pravesh prajapati.
Mob:-9702600170
Reply | Threaded
Open this post in threaded view
|

Re: Want to execute 5 different test plans with one go

Felix Schumacher
Am Freitag, den 01.05.2020, 19:58 +1000 schrieb Skyom:

> Hi All,
> I have 5 different get request and those 5 get requests,
> I want to execute with different no of users in one go
> say,
> Request1-50
> Request1-40
> Request1-60
> Request1-90
> Request1-60
> Ho can we achieve it in jmeter

I have not understood, what you want to achieve.

Did you mean to have five different request (samplers) named Request1
to Request5 and have different number of threads for each of those
requests?

Say Request1 should be done with a concurrency set to 50, Request2 with
a concurrency of 40, ...?

In the latter case, you might want to try out placing five Thread Group
Controllers in your testplan with the number of threads set to 50, 40,
... and adding the Requests each to its own Thread Group.

You would end up with

Test Plan
 - Thread Group1 (threads: 50)
   - Request1
 - Thread Group2 (threads: 40)
   - Request2
...

Felix

>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Want to execute 5 different test plans with one go

Nirdesh Pachoriya-2
In reply to this post by Pravesh Prajapati
From what I understand, here is the solution you can try.

In your *Test Plan*,

1. add *5 Thread Groups*.

2. In each Thread Group configure the number of *Threads to 5* and *Ramp Up
to 0*.

3. Now, add *one HTTP Request sampler* in each *Thread Group*.

4. Configure each sampler according to the URL you want to test.

5. Add *Listener(s)* to your *Test Plan*. Save the Test Plan and Run your
test.

*Make sure you haven't selected the "Run Thread Groups consecutively" in
the Test Plan. Else they will run one after the other. *

I hope this should help you, do revert back in case of any queries.

On Fri, 1 May, 2020, 3:28 PM Skyom, <[hidden email]> wrote:

> Hi All,
> I have 5 different get request and those 5 get requests,
> I want to execute with different no of users in one go
> say,
> Request1-50
> Request1-40
> Request1-60
> Request1-90
> Request1-60
> Ho can we achieve it in jmeter
>
> --
> Regards,
> Pravesh prajapati.
> Mob:-9702600170
>