Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Testing J2EE application for 1000 threads(users)

    1 answers - 2471 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    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
    6/6/06, kamlesh sharma <kamleshsharmadts (AT) gmail (DOT) comwrote:
    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" />
    6/6/06, Raffaele Viola <raffovi (AT) gmail (DOT) comwrote:
    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
    >
    >
    >

    6/6/06, kamlesh sharma <kamleshsharmadts (AT) gmail (DOT) comwrote:
    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 IException). 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)
    >
    >
    >
    >
    >
    >
  • No.1 | | 847 bytes | |

    Raffaele Viola <raffovi <atgmail.comwrites:

    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 (AT) jakarta (DOT) apache.org
    For additional commands, e-mail: jmeter-user-help (AT) jakarta (DOT) apache.org

Re: Testing J2EE application for 1000 threads(users)


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 5 =
QUESTION ON "Java"

EMSDN.COM