You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by kamlesh sharma <ka...@gmail.com> on 2006/06/06 08:48:47 UTC

Testing J2EE application for 1000 threads(users)

Hi,
  I am using jmeter version 2.1.1 to test my J2ee (jdk 1.5.02) application.
I want to know that does Jmeter support testing for 1000 Threads (Users)?

In my J2EE application there are five screens. In first screen I am setting
some values in session variable and these values retrieving on 3rd, 4'Th and
5'Th screen.
When I test my application for up to 10 Threads (users) it's working fine,
but as i try to test it for more than 10 users my application shows null
pointer exception (In jmeter.log it shows IOException). I checked my
application log and found that exception is throwing due to session values.
Actually it is unable to maintain the session values for more users (for
session values in jmeter I am using HTTP Cookies Manager).

But as i increase the ramp-up time from 0 to 5,10,15,20. My application does
not show any error for up to 70 Threads (users) but does not work more than
70 users.

So I Want to know that does number of users depend on Ramp-up time or is
there any other problem?

If any one know solution for this problem or faced same problem plz provide
me solution ragarding it.

(Kamlesh Sharma)

Re: Testing J2EE application for 1000 threads(users)

Posted by Gerhard <ge...@gmail.com>.
Raffaele Viola <raffovi <at> gmail.com> writes:

> 
> Hi,
> 
> your web server can perform only 150request at the same time because the
> maximum number of the thread (maxThreads) is 150  and  your threads are
> 1000.
> 
> Warning: Increase the number of the maxThreads is not enough to serve 1000
> threads because the performances of the application depend on the system
> platform.
> 
> regards
> -Raffo

I have the same problem. I have increase with maxThreads = 2000, but still get 
the same error for some http responses. For testing, I'm using JBoss on 
Windows XP. Is this system platform can not handle ?

Regards,
Gerhard.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Testing J2EE application for 1000 threads(users)

Posted by Raffaele Viola <ra...@gmail.com>.
Hi,

your web server can perform only 150request at the same time because the
maximum number of the thread (maxThreads) is 150  and  your threads are
1000.

Warning: Increase the number of the maxThreads is not enough to serve 1000
threads because the performances of the application depend on the system
platform.

regards
-Raffo



On 6/6/06, kamlesh sharma <ka...@gmail.com> wrote:
>
> Hi Raffaele
> I am using 8050 port for server,settings of your web server as follow:-
>
> <Connector port="8050"
>                maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>                enableLookups="false" redirectPort="8443" acceptCount="100"
>                debug="0" connectionTimeout="20000"
>                disableUploadTimeout="true" />
>
> On 6/6/06, Raffaele Viola <ra...@gmail.com> wrote:
> >
> > Hi,
> >
> > I don't know if this is the problem but ...
> > what are the settings of your web server?
> >
> > Try to increase the thread pool!
> >
> > -Raffo
> >
> >
> >
> > On 6/6/06, kamlesh sharma <ka...@gmail.com> wrote:
> > >
> > > Hi,
> > >   I am using jmeter version 2.1.1 to test my J2ee (jdk 1.5.02)
> > > application.
> > > I want to know that does Jmeter support testing for 1000 Threads
> > (Users)?
> > >
> > > In my J2EE application there are five screens. In first screen I am
> > > setting
> > > some values in session variable and these values retrieving on 3rd,
> 4'Th
> > > and
> > > 5'Th screen.
> > > When I test my application for up to 10 Threads (users) it's working
> > fine,
> > > but as i try to test it for more than 10 users my application shows
> null
> > > pointer exception (In jmeter.log it shows IOException). I checked my
> > > application log and found that exception is throwing due to session
> > > values.
> > > Actually it is unable to maintain the session values for more users
> (for
> > > session values in jmeter I am using HTTP Cookies Manager).
> > >
> > > But as i increase the ramp-up time from 0 to 5,10,15,20. My
> application
> > > does
> > > not show any error for up to 70 Threads (users) but does not work more
> > > than
> > > 70 users.
> > >
> > > So I Want to know that does number of users depend on Ramp-up time or
> is
> > > there any other problem?
> > >
> > > If any one know solution for this problem or faced same problem plz
> > > provide
> > > me solution ragarding it.
> > >
> > > (Kamlesh Sharma)
> > >
> > >
> >
> >
>
>

Re: Testing J2EE application for 1000 threads(users)

Posted by sebb <se...@gmail.com>.
The Ramp-up time serves two purposes:

- allow JMeter to reach steady state
- allow remote servers to reach steady state

JMeter classes may perform some one-time init; likewise servers.

Other than that, the ramp-up is not relevant to the number of users.

It's unlikely that a single host will support 1000 users unless it is
seriously powerful.

S.
On 06/06/06, kamlesh sharma <ka...@gmail.com> wrote:
> Hi Raffaele
> I am using 8050 port for server,settings of your web server as follow:-
>
> <Connector port="8050"
>               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>               enableLookups="false" redirectPort="8443" acceptCount="100"
>               debug="0" connectionTimeout="20000"
>               disableUploadTimeout="true" />
>
> On 6/6/06, Raffaele Viola <ra...@gmail.com> wrote:
> >
> > Hi,
> >
> > I don't know if this is the problem but ...
> > what are the settings of your web server?
> >
> > Try to increase the thread pool!
> >
> > -Raffo
> >
> >
> >
> > On 6/6/06, kamlesh sharma <ka...@gmail.com> wrote:
> > >
> > > Hi,
> > >   I am using jmeter version 2.1.1 to test my J2ee (jdk 1.5.02)
> > > application.
> > > I want to know that does Jmeter support testing for 1000 Threads
> > (Users)?
> > >
> > > In my J2EE application there are five screens. In first screen I am
> > > setting
> > > some values in session variable and these values retrieving on 3rd, 4'Th
> > > and
> > > 5'Th screen.
> > > When I test my application for up to 10 Threads (users) it's working
> > fine,
> > > but as i try to test it for more than 10 users my application shows null
> > > pointer exception (In jmeter.log it shows IOException). I checked my
> > > application log and found that exception is throwing due to session
> > > values.
> > > Actually it is unable to maintain the session values for more users (for
> > > session values in jmeter I am using HTTP Cookies Manager).
> > >
> > > But as i increase the ramp-up time from 0 to 5,10,15,20. My application
> > > does
> > > not show any error for up to 70 Threads (users) but does not work more
> > > than
> > > 70 users.
> > >
> > > So I Want to know that does number of users depend on Ramp-up time or is
> > > there any other problem?
> > >
> > > If any one know solution for this problem or faced same problem plz
> > > provide
> > > me solution ragarding it.
> > >
> > > (Kamlesh Sharma)
> > >
> > >
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Testing J2EE application for 1000 threads(users)

Posted by kamlesh sharma <ka...@gmail.com>.
Hi Raffaele
I am using 8050 port for server,settings of your web server as follow:-

<Connector port="8050"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               debug="0" connectionTimeout="20000"
               disableUploadTimeout="true" />

On 6/6/06, Raffaele Viola <ra...@gmail.com> wrote:
>
> Hi,
>
> I don't know if this is the problem but ...
> what are the settings of your web server?
>
> Try to increase the thread pool!
>
> -Raffo
>
>
>
> On 6/6/06, kamlesh sharma <ka...@gmail.com> wrote:
> >
> > Hi,
> >   I am using jmeter version 2.1.1 to test my J2ee (jdk 1.5.02)
> > application.
> > I want to know that does Jmeter support testing for 1000 Threads
> (Users)?
> >
> > In my J2EE application there are five screens. In first screen I am
> > setting
> > some values in session variable and these values retrieving on 3rd, 4'Th
> > and
> > 5'Th screen.
> > When I test my application for up to 10 Threads (users) it's working
> fine,
> > but as i try to test it for more than 10 users my application shows null
> > pointer exception (In jmeter.log it shows IOException). I checked my
> > application log and found that exception is throwing due to session
> > values.
> > Actually it is unable to maintain the session values for more users (for
> > session values in jmeter I am using HTTP Cookies Manager).
> >
> > But as i increase the ramp-up time from 0 to 5,10,15,20. My application
> > does
> > not show any error for up to 70 Threads (users) but does not work more
> > than
> > 70 users.
> >
> > So I Want to know that does number of users depend on Ramp-up time or is
> > there any other problem?
> >
> > If any one know solution for this problem or faced same problem plz
> > provide
> > me solution ragarding it.
> >
> > (Kamlesh Sharma)
> >
> >
>
>

Re: Testing J2EE application for 1000 threads(users)

Posted by Raffaele Viola <ra...@gmail.com>.
Hi,

I don't know if this is the problem but ...
what are the settings of your web server?

Try to increase the thread pool!

-Raffo



On 6/6/06, kamlesh sharma <ka...@gmail.com> wrote:
>
> Hi,
>   I am using jmeter version 2.1.1 to test my J2ee (jdk 1.5.02)
> application.
> I want to know that does Jmeter support testing for 1000 Threads (Users)?
>
> In my J2EE application there are five screens. In first screen I am
> setting
> some values in session variable and these values retrieving on 3rd, 4'Th
> and
> 5'Th screen.
> When I test my application for up to 10 Threads (users) it's working fine,
> but as i try to test it for more than 10 users my application shows null
> pointer exception (In jmeter.log it shows IOException). I checked my
> application log and found that exception is throwing due to session
> values.
> Actually it is unable to maintain the session values for more users (for
> session values in jmeter I am using HTTP Cookies Manager).
>
> But as i increase the ramp-up time from 0 to 5,10,15,20. My application
> does
> not show any error for up to 70 Threads (users) but does not work more
> than
> 70 users.
>
> So I Want to know that does number of users depend on Ramp-up time or is
> there any other problem?
>
> If any one know solution for this problem or faced same problem plz
> provide
> me solution ragarding it.
>
> (Kamlesh Sharma)
>
>