Stress Testing an Apache Application Server in a Real World Environment

Testing procedures and hints so you can find out how much traffic your Web application system can support.
______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

./flood configuration-file

Meline's picture

./flood configuration-file *gt; output.file

That sikiş should have been > which would have given >, i.e.:

./flood configuration-file > output.file

Re: Stress Testing an Apache Application Server in a Real World

Anonymous's picture

please, i'm cannot run this command:

/usr/lib/sa/sadc 1 [# of seconds to report] outfile

where can i get sadc, please anybody ..

tq

Re: Stress Testing an Apache Application Server in a Real World

Anonymous's picture

You can get the links for download at the authors site http://perso.wanadoo.fr/sebastien.godard/

Re: Stress Testing an Apache Application Server in a Real World

Anonymous's picture

i'm cannot ru this command

/usr/lib/sa/sadc 1 [# of seconds to report] outfile

when can i get sadc? please help me

Re: Stress Testing an Apache Application Server in a Real World

Anonymous's picture

Hi,

I'm trying to GET an URL protect by user&password and I don't find any info about syntax I needed. I try to simulate a direct telnet to a web server but it doesn't work:

telnet [host] 80
GET http://host/index.html HTTP/1.1
Authorization: Basic [code]
Host: [host]

Any idea.
Thank's.

Re: Stress Testing an Apache Application Server in a Real World

Anonymous's picture

If its standard Basic auth that we're talking about then, the authorization header is just the username and password concatenated together and then base64 encoded so

perl -MMIME::Base64 -e 'print encode_base64("Aladdin:open sesame") . "
";'

will print the value QWxhZGRpbjpvcGVuIHNlc2FtZQ== which you would then put in your authorization header:

telnet [host] 80
GET /protected_document.html HTTP/1.0
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

[server response should come here]

Re: Stress Testing an Apache Application Server in a Real World

Anonymous's picture

Thank you for your answer, but maybe I'm not express very good.
I want the flood XML syntax to simulate this commands; so, how to pass user and password information in stress testing.

Thanks.

Typo

Anonymous's picture

./flood configuration-file *gt; output.file

That should have been > which would have given >, i.e.:

./flood configuration-file > output.file

Re: Typo

Anonymous's picture

I guess you meant

"That should have been > which would have given > ..."

Isn't not previewing a *****? ;-)

you mean: this should be

Anonymous's picture

you mean:
this should be > which would > ...

Webcast
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers

Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.

Learn More

Sponsored by AMD

White Paper
Red Hat White Paper: Using an Open Source Framework to Catch the Bad Guy

Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6

Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.

Learn more about catching the bad guy in this free white paper.

Learn More

Sponsored by DLT Solutions