You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by VINIL <vi...@beo.in> on 2016/05/03 13:28:48 UTC

Doubt in Jmeter...

Hello Team, I would like to ask a question...
Actually this question I faced in an interview. unfortunately i was not 
able to answer this. so I tried my level best to get the proper answer. 
Finally I decided to ask with this team. please help... I don;t want to 
loose this question again... :)

i have a user 'a'... once I logged in again the same user cant login 
until its finished. so my concurrent user is 300... now I run, 1st user 
is getting in, but the second is not... bcz it already logged in.. what 
can i do for this..??
-- 
Thanks & Regards,
VINIL PP,
Software Test Engineer.
<http://beo-software.in/> 	BEO SOFTWARE Pvt. Ltd.
BEO Park, P J Antony Cross Road,
Palarivattom, Cochin, Kerala, India.
PINCODE : 682 025
Telephone : +91 4843291197
Email : *vinil.pp@beo.in*
Mobile : *+91-8547263249*
/Please consider the environment before printing/


Re: Doubt in Jmeter...

Posted by Deepak Shetty <sh...@gmail.com>.
>i have a user 'a'... once I logged in again the same user cant login until
its finished. so my concurrent >user is 300... now I run, 1st user is
getting in, but the second is not... bcz it already logged in.. what >can i
do for this..??
You need to first answer what you actually intend the test script to tell
you / why are you running this test script?
For e.g.
a. You want to actually test that it is really the case that the same user
can't login - In which case you are really expecting 1 success and 299
failures (but you could script your test such that a failure is marked as
success and you only get a failure when there are 2 successful logins)
b. You want to simulate a load where 300 different users are accessing the
system in which case your data itself needs (atleast) 300 unique users.
c. There is something in your application that is specific to this use case
where other users (having the same username) , wait or try to repeatedly
login till the system allows them to login - In which case the test has to
simulate those exact steps in a loop whenever it gets whatever error
message a user gets

If JMeter somehow allowed you to access this application with the same 300
concurrent usernames when your application was supposed to prevent this ,
then the application has a bug.
regards
deepak

On Tue, May 3, 2016 at 4:43 AM, SAGAR JISKAR <sa...@gmail.com>
wrote:

> check the constraint (session id) of your application regarding login
> credentials, is it fine with same credentials fine with 300 concurrent
> users. if yes application is ok, it is possible.
>
> On Tue, May 3, 2016 at 7:38 PM, VINIL <vi...@beo.in> wrote:
>
>> Hello,
>>     sorry, we can give only 1 user in that text file... if we use
>> multiple users, it will be fine.. but my question is that, can only use 1
>> user in text file and, cuncurent user is 300...
>>
>>
>> On 03/05/2016 5:03 PM, SAGAR JISKAR wrote:
>>
>> do predetermination of multiple   users.
>>
>> On Tue, May 3, 2016 at 7:28 PM, VINIL <vi...@beo.in> wrote:
>>
>>>
>>> Hello Team, I would like to ask a question...
>>> Actually this question I faced in an interview. unfortunately i was not
>>> able to answer this. so I tried my level best to get the proper answer.
>>> Finally I decided to ask with this team. please help... I don;t want to
>>> loose this question again... :)
>>>
>>> i have a user 'a'... once I logged in again the same user cant login
>>> until its finished. so my concurrent user is 300... now I run, 1st user is
>>> getting in, but the second is not... bcz it already logged in.. what can i
>>> do for this..??
>>> --
>>> Thanks & Regards,
>>> VINIL PP,
>>> Software Test Engineer.
>>> <http://beo-software.in/> BEO SOFTWARE Pvt. Ltd.
>>> BEO Park, P J Antony Cross Road,
>>> Palarivattom, Cochin, Kerala, India.
>>> PINCODE : 682 025
>>> Telephone : +91 4843291197 <%2B91%204843291197>
>>> Email : *vinil.pp@beo.in <vi...@beo.in>*
>>> Mobile : *+91-8547263249 <%2B91-8547263249>*
>>> * Please consider the environment before printing*
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>> VINIL PP,
>> Software Test Engineer.
>> <http://beo-software.in/> BEO SOFTWARE Pvt. Ltd.
>> BEO Park, P J Antony Cross Road,
>> Palarivattom, Cochin, Kerala, India.
>> PINCODE : 682 025
>> Telephone : +91 4843291197
>> Email : *vinil.pp@beo.in <vi...@beo.in>*
>> Mobile : *+91-8547263249 <%2B91-8547263249>*
>> * Please consider the environment before printing*
>>
>
>

Re: Doubt in Jmeter...

Posted by SAGAR JISKAR <sa...@gmail.com>.
check the constraint (session id) of your application regarding login
credentials, is it fine with same credentials fine with 300 concurrent
users. if yes application is ok, it is possible.

On Tue, May 3, 2016 at 7:38 PM, VINIL <vi...@beo.in> wrote:

> Hello,
>     sorry, we can give only 1 user in that text file... if we use multiple
> users, it will be fine.. but my question is that, can only use 1 user in
> text file and, cuncurent user is 300...
>
>
> On 03/05/2016 5:03 PM, SAGAR JISKAR wrote:
>
> do predetermination of multiple   users.
>
> On Tue, May 3, 2016 at 7:28 PM, VINIL <vi...@beo.in> wrote:
>
>>
>> Hello Team, I would like to ask a question...
>> Actually this question I faced in an interview. unfortunately i was not
>> able to answer this. so I tried my level best to get the proper answer.
>> Finally I decided to ask with this team. please help... I don;t want to
>> loose this question again... :)
>>
>> i have a user 'a'... once I logged in again the same user cant login
>> until its finished. so my concurrent user is 300... now I run, 1st user is
>> getting in, but the second is not... bcz it already logged in.. what can i
>> do for this..??
>> --
>> Thanks & Regards,
>> VINIL PP,
>> Software Test Engineer.
>> <http://beo-software.in/> BEO SOFTWARE Pvt. Ltd.
>> BEO Park, P J Antony Cross Road,
>> Palarivattom, Cochin, Kerala, India.
>> PINCODE : 682 025
>> Telephone : +91 4843291197 <%2B91%204843291197>
>> Email : *vinil.pp@beo.in <vi...@beo.in>*
>> Mobile : *+91-8547263249 <%2B91-8547263249>*
>> * Please consider the environment before printing*
>>
>
>
>
> --
> Thanks & Regards,
> VINIL PP,
> Software Test Engineer.
> <http://beo-software.in/> BEO SOFTWARE Pvt. Ltd.
> BEO Park, P J Antony Cross Road,
> Palarivattom, Cochin, Kerala, India.
> PINCODE : 682 025
> Telephone : +91 4843291197
> Email : *vinil.pp@beo.in <vi...@beo.in>*
> Mobile : *+91-8547263249 <%2B91-8547263249>*
> * Please consider the environment before printing*
>

Re: Doubt in Jmeter...

Posted by VINIL <vi...@beo.in>.
Hello,
     sorry, we can give only 1 user in that text file... if we use 
multiple users, it will be fine.. but my question is that, can only use 
1 user in text file and, cuncurent user is 300...

On 03/05/2016 5:03 PM, SAGAR JISKAR wrote:
> do predetermination of multiple   users.
>
> On Tue, May 3, 2016 at 7:28 PM, VINIL <vinil.pp@beo.in 
> <ma...@beo.in>> wrote:
>
>
>     Hello Team, I would like to ask a question...
>     Actually this question I faced in an interview. unfortunately i
>     was not able to answer this. so I tried my level best to get the
>     proper answer. Finally I decided to ask with this team. please
>     help... I don;t want to loose this question again... :)
>
>     i have a user 'a'... once I logged in again the same user cant
>     login until its finished. so my concurrent user is 300... now I
>     run, 1st user is getting in, but the second is not... bcz it
>     already logged in.. what can i do for this..??
>     -- 
>     Thanks & Regards,
>     VINIL PP,
>     Software Test Engineer.
>     <http://beo-software.in/> 	BEO SOFTWARE Pvt. Ltd.
>     BEO Park, P J Antony Cross Road,
>     Palarivattom, Cochin, Kerala, India.
>     PINCODE : 682 025
>     Telephone : +91 4843291197 <tel:%2B91%204843291197>
>     Email : *vinil.pp@beo.in <ma...@beo.in>*
>     Mobile : *+91-8547263249 <tel:%2B91-8547263249>*
>     /Please consider the environment before printing/
>
>


-- 
Thanks & Regards,
VINIL PP,
Software Test Engineer.
<http://beo-software.in/> 	BEO SOFTWARE Pvt. Ltd.
BEO Park, P J Antony Cross Road,
Palarivattom, Cochin, Kerala, India.
PINCODE : 682 025
Telephone : +91 4843291197
Email : *vinil.pp@beo.in*
Mobile : *+91-8547263249*
/Please consider the environment before printing/


Re: Doubt in Jmeter...

Posted by SAGAR JISKAR <sa...@gmail.com>.
do predetermination of multiple   users.

On Tue, May 3, 2016 at 7:28 PM, VINIL <vi...@beo.in> wrote:

>
> Hello Team, I would like to ask a question...
> Actually this question I faced in an interview. unfortunately i was not
> able to answer this. so I tried my level best to get the proper answer.
> Finally I decided to ask with this team. please help... I don;t want to
> loose this question again... :)
>
> i have a user 'a'... once I logged in again the same user cant login until
> its finished. so my concurrent user is 300... now I run, 1st user is
> getting in, but the second is not... bcz it already logged in.. what can i
> do for this..??
> --
> Thanks & Regards,
> VINIL PP,
> Software Test Engineer.
> <http://beo-software.in/> BEO SOFTWARE Pvt. Ltd.
> BEO Park, P J Antony Cross Road,
> Palarivattom, Cochin, Kerala, India.
> PINCODE : 682 025
> Telephone : +91 4843291197
> Email : *vinil.pp@beo.in <vi...@beo.in>*
> Mobile : *+91-8547263249 <%2B91-8547263249>*
> * Please consider the environment before printing*
>