Re: Help needed about ThreadGroup Configuration

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

Re: Help needed about ThreadGroup Configuration

Felix Schumacher
As written in my first reply, the users mailing list is the more
appropriate place to find help with the usage of JMeter. Therefore, I
have chosen to cross-post this reply to both.

Please be careful when replying to include the users mailing list, only.

Am 19.02.20 um 23:03 schrieb karthikeyan muthusamy:
> Hi Felix,
>
> I would  want to simulate 100,000 users that are issuing 1 request in
> parallel. Please guide me.


For that many parallel requests, you will have to setup a client/server
construct as described at
https://jmeter.apache.org/usermanual/remote-test.html and
https://jmeter.apache.org/usermanual/jmeter_distributed_testing_step_by_step.html

Starting from such a setup I would look at more complex setups like
JMeter running on Kubernetes
(https://blog.kubernauts.io/load-testing-as-a-service-with-jmeter-on-kubernetes-fc5288bb0c8b)

The problems with 100,000 parallel connections (that's what a user is)
is manifold. The JVM will need lots of memory for the connection
handling, that will result in a lot of GC work. There might be lock
contention, if everything is run in one JVM. One IP has only about
65,000 ports available to bind clients/servers to it. That means you
will have to use different client IPs (JMeter is able to use those, if
correctly configured). Your disks will have to be fast enough to write
logs of the work done. ...

So I would start somewhere, where I feel comfortable and try to enhance
the setup slowly. If on your way you encounter problems, than ask those
questions on the mailing list.

Do so with enough information, that anyone, who has no access to your
setup, can see, what you are trying to achieve and what is not working
for you.

Felix 

>
> On Wed, Feb 19, 2020 at 3:21 PM Felix Schumacher <
> [hidden email]> wrote:
>
>> Am 18.02.20 um 04:05 schrieb karthikeyan muthusamy:
>>> Hi,
>>>
>> Hi,
>>
>> questions about the usage of JMeter are probably better suited for the
>> users mailing list. The developers mailing list is for discussions about
>> the development of features or fixing of bugs.
>>
>>> I am using JMeter 5.2.1 for my API testing. I have created ThreadGroup
>> and
>>> under that created onlyonceControler. Inside that, created 3 http request
>>> as follows. The testing works fine. I am struggling how to configure the
>>> threadGroup. I wanted to test 100*1000 parallel request. I am not sure
>> how
>>
>> Do you want to simulate 100 users that run in parallel and are doing
>> 1,000 requests each, or do you want to simulate 100,000 users that are
>> issuing 1 request in parallel?
>>
>> Felix
>>
>>> many users,rampup period and loop count I have to declare. Assume this
>> aPI
>>> will be used in credit card transaction. so please help me in configuring
>>> the threadgroup.
>>>
>>>
>>>
>>>
>>>
>>>                ThreadGroup
>>>
>>>
>>>
>>>                                 ->OnyonceController
>>>
>>>                                                 ->AuthenticateAPI
>>>
>>>                                                                 ->JSON
>>> Extractor – which extracts the token from the authenticate API
>>>
>>>                                            ->UserTransactionAPI (positive
>>> Case)
>>>
>>>                                                 ->HTTP Header Manager –
>>> added content Type
>>>
>>>
>>  ->BeanShell
>>> PreProcessor – to added token to header
>>>
>>> ->UserTransactionAPI (Negative case)
>>>
>>>                                                 ->HTTP Header Manager –
>>> added content Type
>>>
>>>
>>  ->BeanShell
>>> PreProcessor – to added token to header
>>>

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