Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split tsung command into tsung and tsung-recorder (TSUN-113)
SVN Revision: 995
- Loading branch information
1 parent
6610af8
commit 4c0948f
Showing
11 changed files
with
483 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,75 @@ | |||
.\" This manpage has been automatically generated by docbook2man | |||
.\" from a DocBook document. This tool can be found at: | |||
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> | |||
.\" Please send any bug reports, improvements, comments, patches, | |||
.\" etc. to Steve Cheng <steve@ggi-project.org>. | |||
.TH "TSUNG-RECORDER" "1" "05 mars 2009" "" "" | |||
|
|||
.SH NAME | |||
tsung-recorder \- Proxy recorder for the tsung load testing tool. | |||
.SH SYNOPSIS | |||
|
|||
\fBtsung-recorder\fR [ \fB-l log file\fR ] [ \fB-r command\fR ] [ \fB-p plugin\fR ] [ \fB-L listen port\fR ] [ \fB-I IP\fR ] [ \fB-P port\fR ] [ \fB-u \fR ] [ \fBstart|stop|restart|record_tag\fR ] | |||
|
|||
.SH "DESCRIPTION" | |||
.PP | |||
\fBtsung\fR is a distributed load testing | |||
tool. It is protocol-independent and can currently be used to | |||
stress and benchmark HTTP, WebDAV, LDAP, PostgreSQL, MySQL and | |||
Jabber/XMPP servers. \fBtsung-recorder\fR can be | |||
used to record sessions (only for HTTP, WebDAV and Postgresql) that can be edited and replayed later by tsung | |||
.PP | |||
tsung-recorder is a proxy that records a session in the | |||
tsung native XML format; it can be used by your favorite client (browser in the case of the http plugin). | |||
.TP | |||
\fBstart\fR | |||
start the proxy recorder (listening port is 8090). By default the HTTP recorder is started. With the -p option, you can select another plugin. The resulting files will be created as \fI~/.tsung/tsung_recorderYYYMMDD-HH:MM.xml\fR; if it doesn't work, take a look at \fI~/.tsung/log/tsung.log-tsunami_recorder@hostname\fR | |||
.TP | |||
\fBstop\fR | |||
stop the proxy recorder | |||
.TP | |||
\fBrecord_tag value\fR | |||
add a string (comment or tag) while recording a | |||
session. This is useful for example to add transaction tag | |||
while recording a session. | |||
.SH "MANUAL" | |||
.PP | |||
A manual should be available at | |||
\fI/usr/share/doc/tsung/user_manual.html\fR\&. It | |||
is also available online at | |||
http://tsung.erlang-projects.org/user_manual.html | |||
.SH "OPTIONS" | |||
.TP | |||
\fB-l\fR | |||
Specifies the log file to use. The default log file name is \fI~/tsung/log/tsung.log\fR | |||
.TP | |||
\fB-p\fR | |||
Specifies the plugin used for the recorder. Default is http, available: http, pgsql,webdav | |||
.TP | |||
\fB-L\fR | |||
Listening port for the recorder. Default is 8090 | |||
.TP | |||
\fB-I\fR | |||
For the pgsql recorder (or parent proxy): server IP. default is 127.0.0.1 | |||
.TP | |||
\fB-P\fR | |||
For the pgsql recorder (or parent proxy): server port. Default is 5432 | |||
.TP | |||
\fB-u\fR | |||
For the http recorder: use a parent proxy | |||
.SH "BUGS" | |||
.PP | |||
Please reports bugs to the mailing list | |||
<tsung-users@process-one.net>, see | |||
https://lists.process-one.net/mailman/listinfo/tsung-users for | |||
archives. | |||
.SH "SEE ALSO" | |||
.PP | |||
\fIerlang\fR(3) | |||
and \fItsung\fR(3) | |||
.SH "AUTHORS" | |||
.PP | |||
\fBTsung\fR is written by Nicolas Niclausse | |||
<nicolas@niclux.org>\&. Contributors list | |||
is available in | |||
\fI/usr/share/doc/tsung/CONTRIBUTORS\fR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,156 @@ | |||
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> | |||
<refentry> | |||
<refentryinfo> | |||
<address> | |||
<email>nicolas.niclausse@niclux.org</email> | |||
</address> | |||
<author> | |||
<firstname>Nicolas</firstname> | |||
<surname>Niclausse</surname> | |||
</author> | |||
<date>March 2009</date> | |||
<copyright> | |||
<year>2009</year> | |||
<holder>Nicolas Niclausse</holder> | |||
</copyright> | |||
</refentryinfo> | |||
|
|||
<refmeta> | |||
<refentrytitle>tsung-recorder</refentrytitle> | |||
<manvolnum>1</manvolnum> | |||
</refmeta> | |||
|
|||
<refnamediv> | |||
<refname>tsung-recorder</refname> | |||
<refpurpose> | |||
Proxy recorder for the tsung load testing tool. | |||
</refpurpose> | |||
</refnamediv> | |||
|
|||
<refsynopsisdiv> | |||
<cmdsynopsis> | |||
<command>tsung-recorder</command> | |||
<arg><option>-l</option> log file</arg> | |||
<arg><option>-r</option> command</arg> | |||
<arg><option>-p</option> plugin</arg> | |||
<arg><option>-L</option> listen port</arg> | |||
<arg><option>-I</option> IP</arg> | |||
<arg><option>-P</option> port</arg> | |||
<arg><option>-u</option> </arg> | |||
<arg>start|stop|restart|record_tag</arg> | |||
</cmdsynopsis> | |||
</refsynopsisdiv> | |||
|
|||
<refsect1> | |||
<title>description</title> | |||
<para> | |||
<command>tsung</command> is a distributed load testing | |||
tool. It is protocol-independent and can currently be used to | |||
stress and benchmark HTTP, WebDAV, LDAP, PostgreSQL, MySQL and | |||
Jabber/XMPP servers. <command>tsung-recorder</command> can be | |||
used to record sessions (only for HTTP, WebDAV and Postgresql) that can be edited and replayed later by tsung</para> | |||
|
|||
<para> tsung-recorder is a proxy that records a session in the | |||
tsung native XML format; it can be used by your favorite client (browser in the case of the http plugin). </para> | |||
|
|||
<variablelist> | |||
<varlistentry> | |||
<term><option>start</option></term> | |||
<listitem> | |||
<para>start the proxy recorder (listening port is 8090). By default the HTTP recorder is started. With the -p option, you can select another plugin. The resulting files will be created as <filename>~/.tsung/tsung_recorderYYYMMDD-HH:MM.xml</filename>; if it doesn't work, take a look at <filename>~/.tsung/log/tsung.log-tsunami_recorder@hostname</filename> </para> | |||
</listitem> | |||
</varlistentry> | |||
<varlistentry> | |||
<term><option>stop</option></term> | |||
<listitem> | |||
<para>stop the proxy recorder</para> | |||
</listitem> | |||
</varlistentry> | |||
<varlistentry> | |||
<term><option>record_tag</option> value</term> | |||
<listitem> | |||
<para>add a string (comment or tag) while recording a | |||
session. This is useful for example to add transaction tag | |||
while recording a session. </para> | |||
</listitem> | |||
</varlistentry> | |||
</variablelist> | |||
|
|||
</refsect1> | |||
<refsect1> | |||
<title>manual</title> <para>A manual should be available at | |||
<filename>/usr/share/doc/tsung/user_manual.html</filename>. It | |||
is also available online at | |||
<address>http://tsung.erlang-projects.org/user_manual.html</address> | |||
</para> | |||
</refsect1> | |||
|
|||
<refsect1> | |||
<title>options</title> | |||
<variablelist> | |||
<varlistentry> | |||
<term><option>-l</option></term> | |||
<listitem> | |||
<para>Specifies the log file to use. The default log file name is <filename>~/tsung/log/tsung.log</filename></para> | |||
</listitem> | |||
</varlistentry> | |||
<varlistentry> | |||
<term><option>-p</option></term> | |||
<listitem> | |||
<para> Specifies the plugin used for the recorder. Default is http, available: http, pgsql,webdav</para> | |||
</listitem> | |||
</varlistentry> | |||
<varlistentry> | |||
<term><option>-L</option></term> | |||
<listitem> | |||
<para> Listening port for the recorder. Default is 8090</para> | |||
</listitem> | |||
</varlistentry> | |||
<varlistentry> | |||
<term><option>-I</option></term> | |||
<listitem> | |||
<para> For the pgsql recorder (or parent proxy): server IP. default is 127.0.0.1 </para> | |||
</listitem> | |||
</varlistentry> | |||
<varlistentry> | |||
<term><option>-P</option></term> | |||
<listitem> | |||
<para> For the pgsql recorder (or parent proxy): server port. Default is 5432</para> | |||
</listitem> | |||
</varlistentry> | |||
<varlistentry> | |||
<term><option>-u</option></term> | |||
<listitem> | |||
<para> For the http recorder: use a parent proxy</para> | |||
</listitem> | |||
</varlistentry> | |||
</variablelist> | |||
</refsect1> | |||
|
|||
<refsect1> | |||
<title>Bugs</title> <para> Please reports bugs to the mailing list | |||
<email>tsung-users@process-one.net</email>, see | |||
<address>https://lists.process-one.net/mailman/listinfo/tsung-users</address> for | |||
archives. | |||
</para> | |||
</refsect1> | |||
|
|||
<refsect1> | |||
<title>see also</title> | |||
<para> | |||
<filename>erlang</filename><manvolnum>3</manvolnum> | |||
and <filename>tsung</filename><manvolnum>3</manvolnum> | |||
</para> | |||
</refsect1> | |||
|
|||
<refsect1> | |||
<title>Authors</title> | |||
<para> | |||
<command>Tsung</command> is written by <author>Nicolas Niclausse</author> | |||
<email>nicolas@niclux.org</email>. Contributors list | |||
is available in | |||
<filename>/usr/share/doc/tsung/CONTRIBUTORS</filename> | |||
</para> | |||
</refsect1> | |||
|
|||
</refentry> |
Oops, something went wrong.