You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-cvs@httpd.apache.org by ja...@apache.org on 2003/09/08 01:34:59 UTC
cvs commit: httpd-test/flood/docs/docbook flood.xml
jacekp 2003/09/07 16:34:59
Modified: flood/docs/docbook flood.xml
Log:
update docs with description of responsescript attribute
Revision Changes Path
1.3 +30 -0 httpd-test/flood/docs/docbook/flood.xml
Index: flood.xml
===================================================================
RCS file: /home/cvs/httpd-test/flood/docs/docbook/flood.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- flood.xml 8 Aug 2003 13:35:33 -0000 1.2
+++ flood.xml 7 Sep 2003 23:34:59 -0000 1.3
@@ -912,6 +912,7 @@
[ payloadtemplate="STRING" ]
[ responsename="STRING" ]
[ responsetemplate="STRING" ]
+ [ responsescript="STRING" ]
[ requesttemplate="STRING" ]
[ requestparamcount="INTEGER" ]
[ predelay="INTEGER" ]
@@ -1022,6 +1023,19 @@
<entry>(empty)</entry>
</row>
<row>
+ <entry>responsescript</entry>
+ <entry>STRING</entry>
+ <entry>
+ This attribute holds path to executable script,
+ that will be used in response postprocessing. Such
+ script schould read standard input, which will
+ contain server response (both HTTP headers and
+ response body). Script exit value of 0 means
+ success, while any other value means error.
+ </entry>
+ <entry>(empty)</entry>
+ </row>
+ <row>
<entry>requesttemplate</entry>
<entry>STRING</entry>
<entry>
@@ -1117,6 +1131,22 @@
You can specify how to perform request (method, optional
payload) and how to postprocess response.
</para>
+ <note>
+ <para>
+ When using responsescript attribute, please keep in mind, that
+ the execution time of script might distort overall results. In
+ addition, please add following element to your profile:
+ </para>
+ <screen>
+<recv_resp>generic_fullresp_recv_resp</recv_resp>
+ </screen>
+ <para>
+ This wil cause flood to fetch whole response every time.
+ Without such element flood could sometimes retrieve only
+ first chunk of data, which just isn't enough for valid
+ postprocessing.
+ </para>
+ </note>
</refsection>
<refsection>