httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r816060 - in /websites/staging/httpd/trunk/content: ./ test/flood/building.html test/flood/building.xml test/flood/faq.html test/flood/faq.xml test/flood/index.html test/flood/index.xml
Date Sun, 06 May 2012 16:04:28 GMT
Author: buildbot
Date: Sun May  6 16:04:27 2012
New Revision: 816060

Log:
Staging update by buildbot for httpd

Added:
    websites/staging/httpd/trunk/content/test/flood/building.html
    websites/staging/httpd/trunk/content/test/flood/faq.html
    websites/staging/httpd/trunk/content/test/flood/index.html
Removed:
    websites/staging/httpd/trunk/content/test/flood/building.xml
    websites/staging/httpd/trunk/content/test/flood/faq.xml
    websites/staging/httpd/trunk/content/test/flood/index.xml
Modified:
    websites/staging/httpd/trunk/content/   (props changed)

Propchange: websites/staging/httpd/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun May  6 16:04:27 2012
@@ -1 +1 @@
-1334670
+1334673

Added: websites/staging/httpd/trunk/content/test/flood/building.html
==============================================================================
--- websites/staging/httpd/trunk/content/test/flood/building.html (added)
+++ websites/staging/httpd/trunk/content/test/flood/building.html Sun May  6 16:04:27 2012
@@ -0,0 +1,124 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+        <link href="/css/apsite.css" rel="stylesheet" media="all" type="text/css" title="Main
stylesheet" />
+        <meta name="author" content="Documentation Group" /><meta name="email" content="docs@httpd.apache.org"
/>
+        <title> Flood </title>
+    </head>
+    <body>
+        
+        <div id="page-header">
+            <p class="menu">&nbsp;</p>
+            <p class="apache">&nbsp;</p>
+            <a href="/">
+            <img alt="" width="800" height="72" src="/images/httpd_logo_wide_new.png"
border="0" />
+            </a>
+        </div>
+        
+
+        <!-- LEFT SIDE NAVIGATION -->
+        <div id="apmenu">
+            
+    <div class="codehilite"><pre>    <span class="c"># Essentials</span>
+</pre></div>
+
+
+<ul>
+<li><a href="/test/flood/building.html">Building</a></li>
+<li><a href="/test/flood/faq.html">FAQ</a></li>
+</ul>
+<h1 id="download">Download!</h1>
+<ul>
+<li><a href="http://www.apache.org/dyn/closer.cgi/httpd/flood/">From a Mirror</a></li>
+<li><a href="http://www.apache.org/dist/httpd/">From Here</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/DESIGN">Design</a></li>
+<li><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/CONFIG">Configuration</a></li>
+</ul>
+
+        </div>
+
+
+        <!-- RIGHT SIDE INFORMATION -->
+        <div id="apcontents">
+            
+            <h1 id="Overview">Overview</h1>
+<p>This document explains how to compile and run flood.</p>
+<p>Flood is built around <a href="http://apr.apache.org/">Apache Portable Runtime</a>
-
+specifically apr and apr-util.</p>
+<p>Flood has been primarily developed on Linux and Solaris. FreeBSD is also
+known to work. Since flood is built around APR, any APR-supported platform
+should work without too much hassle. We expect Win32 would work with some
+additional magic provided someone has the time and inclination to do so.
+APR has completed most of the dirty work, but none of the current flood
+developers use Win32.</p>
+<h1 id="Checkout">Checking out flood</h1>
+<p>The current copy of flood is available via Subversion. Flood also depends
+on the apr and apr-util packages available from the same Subversion
+repository.</p>
+<p><strong><font color="red">Note:</font></strong> Flood will
automatically detect and
+configure APR and APR-util if they are in the appropriate subdirectories.
+If you have an already installed copy of APR and APR-util (such as the ones
+that come with httpd-2.0 or Subversion), you may specify --with-apr and
+--with-apr-util at configure-time.
+<code>% svn co http://svn.apache.org/repos/asf/httpd/flood/trunk flood
+% cd flood
+% svn co http://svn.apache.org/repos/asf/apr/apr/trunk apr
+% svn co http://svn.apache.org/repos/asf/apr/apr-util/trunk apr-util</code> </p>
+<h1 id="Configuring">Configuring flood and its dependencies</h1>
+<p>Now that you have all of the required modules checked out, you now need to
+generate the configure scripts and execute them for your platform.</p>
+<h3 id="flood-and-ssl-support">Flood and SSL support</h3>
+<p><strong><font color="red">Note:</font></strong> SSL support
is <strong>not</strong> enabled by
+default in flood. If you wish to enable SSL support, you must specify
+<code>--enable-ssl</code> when configuring flood.</p>
+<p>If you attempt to run flood against a https URL without SSL support
+compiled-in, you will receive an error similar to the following:
+<code>%./flood examples/round-robin-ssl.xml
+open request failed (https://www.modssl.org/example/test.phtml).
+Error running farmer 'Joe': This function has not been implemented on this
+platform</code> 
+The <code>--enable-ssl</code> option enables detection of the OpenSSL libraries.
If
+flood can not automatically detect OpenSSL, you will need to specify
+<code>--with-openssl</code> to point at the appropriate installed version of
OpenSSL.
+The <code>--with-capath</code> option points at a directory that contains the
+Certificate Authorities ( <strong>CA</strong> s) for OpenSSL. The default capath
is in
+<code>$openssl_prefix/certs</code>.</p>
+<h3 id="running-configure-from-the-flood-directory">Running configure from the flood
directory</h3>
+<p><code>%./buildconf
+%./configure --disable-shared</code> </p>
+<h1 id="Compiling">Compiling flood and its dependencies</h1>
+<p>In this example, APR and apr-util will automatically be built with flood.
+So, you only need to issue a make in the flood directory.
+<code>% make all</code> </p>
+<h1 id="Running">Running flood</h1>
+<p>By default, flood is a static executable, so the executable is relocatable.
+There are some example flood profiles in the examples/ directory from CVS.
+<code>%./flood examples/round-robin.xml &amp;gt; foo.out</code> </p>
+<h1 id="Analysis">Analyzing flood output</h1>
+<p>The foo.out file generated above is in a simple easy-to-parse format. There
+are some included shell and awk scripts in the examples directory that
+provide some easy mechanisms to extract info from the flood output files.
+<code>%./examples/analyze-relative foo.out</code> </p>
+<h1 id="Questions">Questions</h1>
+<p>This should provide a quick and easy way to jumpstart your flood
+installation. If you have any questions, please email the
+dev@httpd.apache.org mailing list.</p>
+            
+
+            <!-- FOOTER -->
+            <div id="footer">
+                <p class="apache">
+                    
+                    <p>Copyright &copy; 2012 The Apache Software Foundation
+Apache HTTP Server, Apache, and the Apache feather logo are trademarks of The Apache Software
Foundation.</p>
+                    
+                </p>
+            </div>
+        </div>
+    </body>
+    </html>

Added: websites/staging/httpd/trunk/content/test/flood/faq.html
==============================================================================
--- websites/staging/httpd/trunk/content/test/flood/faq.html (added)
+++ websites/staging/httpd/trunk/content/test/flood/faq.html Sun May  6 16:04:27 2012
@@ -0,0 +1,122 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+        <link href="/css/apsite.css" rel="stylesheet" media="all" type="text/css" title="Main
stylesheet" />
+        <meta name="author" content="Documentation Group" /><meta name="email" content="docs@httpd.apache.org"
/>
+        <title> Flood </title>
+    </head>
+    <body>
+        
+        <div id="page-header">
+            <p class="menu">&nbsp;</p>
+            <p class="apache">&nbsp;</p>
+            <a href="/">
+            <img alt="" width="800" height="72" src="/images/httpd_logo_wide_new.png"
border="0" />
+            </a>
+        </div>
+        
+
+        <!-- LEFT SIDE NAVIGATION -->
+        <div id="apmenu">
+            
+    <div class="codehilite"><pre>    <span class="c"># Essentials</span>
+</pre></div>
+
+
+<ul>
+<li><a href="/test/flood/building.html">Building</a></li>
+<li><a href="/test/flood/faq.html">FAQ</a></li>
+</ul>
+<h1 id="download">Download!</h1>
+<ul>
+<li><a href="http://www.apache.org/dyn/closer.cgi/httpd/flood/">From a Mirror</a></li>
+<li><a href="http://www.apache.org/dist/httpd/">From Here</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/DESIGN">Design</a></li>
+<li><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/CONFIG">Configuration</a></li>
+</ul>
+
+        </div>
+
+
+        <!-- RIGHT SIDE INFORMATION -->
+        <div id="apcontents">
+            
+            <h1 id="Questions">Frequently Asked Questions</h1>
+<ul>
+<li>
+<p><a href="#WhatIsFlood">What is Flood?</a> </p>
+</li>
+<li>
+<p><a href="#FloodFeatures">What are some of the features of Flood?</a>
</p>
+</li>
+<li>
+<p><a href="#FloodRegex">How does Flood retrieve variables from pages?</a>
</p>
+</li>
+<li>
+<p><a href="#FloodSSL">Can I use Flood with SSL sites?</a> </p>
+</li>
+<li>
+<p><a href="#TCPFIN">Flood seems like it is stalling.</a> </p>
+</li>
+</ul>
+<h1 id="WhatIsFlood">What is Flood?</h1>
+<p>Flood is a profile-driven HTTP load tester. In layman's terms, it means
+that flood is capable of generating large amounts of web traffic. Flood's
+flexibility and power arises in its configuration syntax. It is able to
+work well with dynamic content.</p>
+<h1 id="FloodFeatures">What are some of the features of Flood?</h1>
+<ul>
+<li>
+<p>XML-based configuration</p>
+</li>
+<li>
+<p>Able to set and retrieve variables from pages</p>
+</li>
+<li>
+<p>Uses threads and processes intelligently to scale</p>
+</li>
+<li>
+<p>Works with SSL</p>
+</li>
+</ul>
+<h1 id="FloodRegex">How does Flood retrieve variables from pages?</h1>
+<p>Flood's configuration syntax allows for regular expression matching to
+isolate values in a page.</p>
+<p>Consider placing an order on a website. You add the order and you know that
+the order confirmation page has the following format:
+<code>"Order XYZZY placed successfully."</code> 
+By using the following semantics, flood can store XYZZY into the OrderID
+variable:
+<code>responsetemplate="Order ([^ ]*) placed successfully"
+responsename="OrderID"</code> 
+In a subsequent request, you can use this OrderID variable in any template
+variable:
+<code>requesttemplate="https://localhost/getOrderStatus?orderId=${orderID}"</code>

+This will send the following request:
+<code>https://localhost/getOrderStatus?orderId=XYZZY</code> </p>
+<h1 id="FloodSSL">Can I use Flood with SSL sites?</h1>
+<p>Yes. However, due to export regulations and laws, Flood does not have SSL
+support enabled by default. When configuring flood, you must pass the
+<code>--enable-ssl</code> flag. Flood currently works with OpenSSL.</p>
+<h1 id="TCPFIN">Flood seems like it is stalling.</h1>
+<p>Your TCP implementation may have run out of ephemeral ports. Please consult
+your operating systems' manuals on how to decrease the FIN timeout.</p>
+            
+
+            <!-- FOOTER -->
+            <div id="footer">
+                <p class="apache">
+                    
+                    <p>Copyright &copy; 2012 The Apache Software Foundation
+Apache HTTP Server, Apache, and the Apache feather logo are trademarks of The Apache Software
Foundation.</p>
+                    
+                </p>
+            </div>
+        </div>
+    </body>
+    </html>

Added: websites/staging/httpd/trunk/content/test/flood/index.html
==============================================================================
--- websites/staging/httpd/trunk/content/test/flood/index.html (added)
+++ websites/staging/httpd/trunk/content/test/flood/index.html Sun May  6 16:04:27 2012
@@ -0,0 +1,164 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+        <link href="/css/apsite.css" rel="stylesheet" media="all" type="text/css" title="Main
stylesheet" />
+        <meta name="author" content="Documentation Group" /><meta name="email" content="docs@httpd.apache.org"
/>
+        <title> Flood </title>
+    </head>
+    <body>
+        
+        <div id="page-header">
+            <p class="menu">&nbsp;</p>
+            <p class="apache">&nbsp;</p>
+            <a href="/">
+            <img alt="" width="800" height="72" src="/images/httpd_logo_wide_new.png"
border="0" />
+            </a>
+        </div>
+        
+
+        <!-- LEFT SIDE NAVIGATION -->
+        <div id="apmenu">
+            
+    <div class="codehilite"><pre>    <span class="c"># Essentials</span>
+</pre></div>
+
+
+<ul>
+<li><a href="/test/flood/building.html">Building</a></li>
+<li><a href="/test/flood/faq.html">FAQ</a></li>
+</ul>
+<h1 id="download">Download!</h1>
+<ul>
+<li><a href="http://www.apache.org/dyn/closer.cgi/httpd/flood/">From a Mirror</a></li>
+<li><a href="http://www.apache.org/dist/httpd/">From Here</a></li>
+</ul>
+<h1 id="documentation">Documentation</h1>
+<ul>
+<li><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/DESIGN">Design</a></li>
+<li><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/CONFIG">Configuration</a></li>
+</ul>
+
+        </div>
+
+
+        <!-- RIGHT SIDE INFORMATION -->
+        <div id="apcontents">
+            
+            <h1 id="Welcome">Flood - a profile-driven HTTP load tester</h1>
+<p>Flood is a profile-driven HTTP load tester. It can be used to gather
+important performance metrics for your website.</p>
+<p>Please see the <a href="faq.html">FAQ</a> for common questions about
flood.</p>
+<h1 id="Getting">Getting and using flood</h1>
+<p>Please read the <a href="building.html">Building flood</a> document
for a quick
+installation guide for flood.</p>
+<h1 id="Examples">Example profiles</h1>
+<p>Flood's configuration is XML-based. Some of the links below showcase some
+of the features available in flood. All of these files are available in the
+examples directory in flood's Subversion repository.</p>
+<ul>
+<li>
+<p><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/examples/round-robin.xml">Round-robin
annotated flood config
+example</a>
+( <strong>Recommended for flood newbies</strong> )</p>
+</li>
+<li>
+<p><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/examples/round-robin-dynamic.xml">An
example using dynamic content-specific
+variables</a> </p>
+</li>
+<li>
+<p><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/examples/round-robin-keepalive.xml">An
example using
+keepalives</a> </p>
+</li>
+<li>
+<p><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/examples/round-robin-ssl.xml">An
example using
+SSL</a> </p>
+</li>
+<li>
+<p><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/examples/round-robin-timed.xml">An
example using
+timers</a> </p>
+</li>
+<li>
+<p><a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/examples/analyze-relative">A
sh/gawk script that shows how to interpret the relative_times output
+of
+flood</a> </p>
+</li>
+</ul>
+<h1 id="SVN">Subversion Access</h1>
+<p>You may browse the flood's Subversion repository
+<a href="http://svn.apache.org/repos/asf/httpd/flood/trunk/">online</a> or via
<a href="http://svn.apache.org/viewcvs.cgi/httpd/flood/trunk">flood
+ViewCVS</a> </p>
+<p>Anonymous Subversion access (via WebDAV) is available.
+<code>% svn co http://svn.apache.org/repos/asf/httpd/flood/trunk flood</code>
</p>
+<h1 id="Mail">Mailing Lists</h1>
+<p>Our mailing lists are open to the public.</p>
+<p>Subscription</p>
+<ul>
+<li>
+<p><a href="mailto:dev-subscribe@httpd.apache.org">dev@httpd.apache.org</a>
-
+discussion of what to do</p>
+</li>
+<li>
+<p><a href="mailto:cvs-subscribe@httpd.apache.org">cvs@httpd.apache.org</a>
- commit
+notifications</p>
+</li>
+</ul>
+<p>Archives</p>
+<ul>
+<li>
+<p><a href="http://mail-archives.apache.org/mod_mbox/httpd-dev/">dev Archives</a>
</p>
+</li>
+<li>
+<p><a href="http://mail-archives.apache.org/mod_mbox/httpd-cvs/">cvs Archives</a>
</p>
+</li>
+<li>
+<p><a href="http://httpd.apache.org/mail/dev/">dev Archives (Raw)</a> </p>
+</li>
+<li>
+<p><a href="http://httpd.apache.org/mail/cvs/">cvs Archives (Raw)</a> </p>
+</li>
+</ul>
+<p>On December 22, 2005, test-dev@httpd.apache.org was merged with
+dev@httpd.apache.org. Our old archives are still available.</p>
+<ul>
+<li>
+<p><a href="http://mail-archives.apache.org/mod_mbox/httpd-test-dev/">test-dev
+Archives</a> </p>
+</li>
+<li>
+<p><a href="http://mail-archives.apache.org/mod_mbox/httpd-test-cvs">test-cvs
+Archives</a> </p>
+</li>
+<li>
+<p><a href="http://httpd.apache.org/mail/test-dev/">test-dev Archives (Raw)</a>
</p>
+</li>
+<li>
+<p><a href="http://httpd.apache.org/mail/test-cvs/">test-cvs Archives (Raw)</a>
</p>
+</li>
+</ul>
+<h1 id="License">License</h1>
+<p>Like all Apache Software Foundation projects, flood is licensed under <a href="http://www.apache.org/licenses/">The
+Apache License</a>.</p>
+<h1 id="Search">Search Site</h1>
+<p><center><form action="http://search.apache.org/" method="post"><input
+type="text" name="keyword" size="40"></input><input type="hidden"
+name="results" value="20"></input><input type="hidden" name="what"
+value="httpd.apache.org"></input><input type="hidden" name="version"
+value="2"></input><input type="submit" value="Search
+Site"></input></form></center>
+<a href="/images/apache_pb.gif"></a> </p>
+            
+
+            <!-- FOOTER -->
+            <div id="footer">
+                <p class="apache">
+                    
+                    <p>Copyright &copy; 2012 The Apache Software Foundation
+Apache HTTP Server, Apache, and the Apache feather logo are trademarks of The Apache Software
Foundation.</p>
+                    
+                </p>
+            </div>
+        </div>
+    </body>
+    </html>



Mime
View raw message