C
cji_work
Hi folks,
I am doing some loadtesting on my company's web application now by
runing a perl script, and I have a problem need to solve.
Here are the general description of that script:
The script reads a data file to get a list of username & password; For
each username & password it reads, it creates a new thread to pass the
username & password to a function; This function will access a web page
, use the passing parameters to log-in, and do some shopping-work, and
finnally it will "check-out" from that web-page.
That web application is written in perl/cgi-bin and the backend DB is
mysql. Both are running on linux, and the script is also running on
liunx. All the users are different and for that web server, they are
eqully-weighted.
It works perfectly if I have about 200 users. But if I raise the number
of users, I will see further more failure as they received "500
time-out".
So my Question is if I could set some priority for the first 200
threads to guarantee thses threads are good to pass ?
thanks for the tips,
CJ
I am doing some loadtesting on my company's web application now by
runing a perl script, and I have a problem need to solve.
Here are the general description of that script:
The script reads a data file to get a list of username & password; For
each username & password it reads, it creates a new thread to pass the
username & password to a function; This function will access a web page
, use the passing parameters to log-in, and do some shopping-work, and
finnally it will "check-out" from that web-page.
That web application is written in perl/cgi-bin and the backend DB is
mysql. Both are running on linux, and the script is also running on
liunx. All the users are different and for that web server, they are
eqully-weighted.
It works perfectly if I have about 200 users. But if I raise the number
of users, I will see further more failure as they received "500
time-out".
So my Question is if I could set some priority for the first 200
threads to guarantee thses threads are good to pass ?
thanks for the tips,
CJ