/usr/share/doc/tsung/html/features.html is in tsung 1.5.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 | <!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" />
<title>2. Features — Tsung 1.5.1 documentation</title>
<link rel="stylesheet" href="_static/default.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '1.5.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="Tsung 1.5.1 documentation" href="index.html" />
<link rel="next" title="3. Installation" href="installation.html" />
<link rel="prev" title="1. Introduction" href="introduction.html" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="installation.html" title="3. Installation"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="introduction.html" title="1. Introduction"
accesskey="P">previous</a> |</li>
<li><a href="index.html">Tsung 1.5.1 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="features">
<h1>2. Features<a class="headerlink" href="#features" title="Permalink to this headline">¶</a></h1>
<div class="section" id="tsung-main-features">
<h2>2.1. Tsung main features<a class="headerlink" href="#tsung-main-features" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><em>High Performance</em>: <tt class="docutils literal"><span class="pre">Tsung</span></tt> can simulate a huge number of
simultaneous users per physical computer: It can simulates thousands
of users on a single CPU (Note: a simulated user is not always
active: it can be idle during a <tt class="docutils literal"><span class="pre">thinktime</span></tt>
period). Traditional injection tools can hardly go further than a
few hundreds (Hint: if all you want to do is requesting a single URL
in a loop, use <strong class="program">ab</strong>; but if you want to build complex
scenarios with extended reports, <tt class="docutils literal"><span class="pre">Tsung</span></tt> is for you).</li>
<li><em>Distributed</em>: the load can be distributed on a cluster of client machines</li>
<li><em>Multi-Protocols</em> using a plug-in system: HTTP (both standard web
traffic and SOAP), WebDAV, Jabber/XMPP and PostgreSQL are currently
supported. LDAP and MySQL plugins were first included in the 1.3.0 release.</li>
<li><em>SSL</em> support</li>
<li><em>Several IP addresses</em> can be used on a single machine using the underlying OS IP Aliasing</li>
<li><em>OS monitoring</em> (CPU, memory and network traffic) using Erlang agents on remote servers or <em>SNMP</em></li>
<li><em>XML configuration system</em>: complex user’s scenarios are
written in XML. Scenarios can be written with a simple browser using the
Tsung recorder (HTTP and PostgreSQL only).</li>
<li><em>Dynamic scenarios</em>: You can get dynamic data from the
server under load (without writing any code) and re-inject it in
subsequent requests. You can also loop, restart or stop a
session when a string (or regexp) matches the server response.</li>
<li><em>Mixed behaviours</em>: several <a class="reference internal" href="conf-sessions.html#sessions-label"><em>sessions</em></a> can be used to simulate
different type of users during the same benchmark. You can define
the proportion of the various behaviours in the benchmark scenario.</li>
<li><em>Stochastic processes</em>: in order to generate a realistic
traffic, user thinktimes and the arrival rate can be randomized
using a probability distribution (currently exponential)</li>
</ul>
</div>
<div class="section" id="http-related-features">
<h2>2.2. HTTP related features<a class="headerlink" href="#http-related-features" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>HTTP/1.0 and HTTP/1.1 support</li>
<li>GET, POST, PUT, DELETE, HEAD, OPTIONS and PATCH requests</li>
<li>Cookies: Automatic cookies management (but you can also manually add
more cookies)</li>
<li>‘GET If-modified since’ type of request</li>
<li>WWW-authentication Basic and Digest. OAuth 1.0</li>
<li>User Agent support</li>
<li>Any HTTP Headers can be added</li>
<li>Proxy mode to record sessions using a Web browser</li>
<li>SOAP support using the HTTP mode (the SOAPAction HTTP header is
handled).</li>
<li>HTTP server or proxy server load testing.</li>
</ul>
</div>
<div class="section" id="webdav-related-features">
<h2>2.3. WEBDAV related features<a class="headerlink" href="#webdav-related-features" title="Permalink to this headline">¶</a></h2>
<p>The WebDAV (<span class="target" id="index-0"></span><a class="rfc reference external" href="http://tools.ietf.org/html/rfc4918.html"><strong>RFC 4918</strong></a>) plugin is a superset of the HTTP plugin. It adds the
following features (some versionning extensions to WebDAV (<span class="target" id="index-1"></span><a class="rfc reference external" href="http://tools.ietf.org/html/rfc3253.html"><strong>RFC 3253</strong></a>)
are also supported):</p>
<ul class="simple">
<li>Methods implemented: DELETE, CONNECT, PROPFIND, PROPPATCH, COPY,
MOVE, LOCK, UNLOCK, MKCOL, REPORT, OPTIONS, MKACTIVITY, CHECKOUT, MERGE</li>
<li>Recording of DEPTH, IF, TIMEOUT OVERWRITE, DESTINATION, URL and
LOCK-TOKEN Headers.</li>
</ul>
</div>
<div class="section" id="jabber-xmpp-related-features">
<h2>2.4. Jabber/XMPP related features<a class="headerlink" href="#jabber-xmpp-related-features" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Authentication (plain-text, digest and sip-digest). STARTTLS</li>
<li>presence and register messages</li>
<li>Chat messages to online or offline users</li>
<li>MUC: join room, send message in room, change nickname</li>
<li>Roster set and get requests</li>
<li>Global users’ synchronization can be set on specific actions</li>
<li>BOSH & XMPP over Websocket</li>
<li>raw XML messages</li>
<li>PubSub</li>
<li>Multiple vhost instances supported</li>
<li>privacy lists: get all privacy list names, set list as active</li>
</ul>
</div>
<div class="section" id="postgresql-related-features">
<h2>2.5. PostgreSQL related features<a class="headerlink" href="#postgresql-related-features" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Basic and MD5 Authentication</li>
<li>Simple Protocol</li>
<li>Extended Protocol (new in version <strong>1.4.0</strong> )</li>
<li>Proxy mode to record sessions</li>
</ul>
</div>
<div class="section" id="mysql-related-features">
<h2>2.6. MySQL related features<a class="headerlink" href="#mysql-related-features" title="Permalink to this headline">¶</a></h2>
<p>This plugin is experimental. It works only with MySQL version 4.1 and higher.</p>
<ul class="simple">
<li>Secured Authentication method only (MySQL >= 4.1)</li>
<li>Basic Queries</li>
</ul>
</div>
<div class="section" id="websocket-related-features">
<h2>2.7. Websocket related features<a class="headerlink" href="#websocket-related-features" title="Permalink to this headline">¶</a></h2>
<p>This plugin is experimental. It only supports <span class="target" id="index-2"></span><a class="rfc reference external" href="http://tools.ietf.org/html/rfc6455.html"><strong>RFC 6455</strong></a> currently.
For used as a server type, it works like other transport protocol like
tcp and udp, any application specific protocol data can be send on it.</p>
<p>You can find examples used as session type in examples/websocket.xml.</p>
<ul class="simple">
<li>Both as a server type and session type</li>
</ul>
</div>
<div class="section" id="amqp-related-features">
<h2>2.8. AMQP related features<a class="headerlink" href="#amqp-related-features" title="Permalink to this headline">¶</a></h2>
<p>This plugin is experimental. It only supports AMQP-0.9.1 currently.
You can find examples in examples/amqp.xml.</p>
<ul class="simple">
<li>Basic publish and consume</li>
<li>Publisher confirm and consumer ack</li>
<li>QoS</li>
</ul>
</div>
<div class="section" id="mqtt-related-features">
<h2>2.9. MQTT related features<a class="headerlink" href="#mqtt-related-features" title="Permalink to this headline">¶</a></h2>
<p>This plugin is experimental. It supports MQTT V3.1.
You can find examples in examples/mqtt.xml.</p>
<ul class="simple">
<li>Connect to mqtt broker with options</li>
<li>Publish mqtt messages to the broker</li>
<li>Subscribe/unsubscribe topics</li>
<li>Support QoS 0 and QoS 1</li>
</ul>
</div>
<div class="section" id="ldap-related-features">
<h2>2.10. LDAP related features<a class="headerlink" href="#ldap-related-features" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Bind</li>
<li>Add, modify and search queries</li>
<li>Starttls</li>
</ul>
</div>
<div class="section" id="complete-reports-set">
<h2>2.11. Complete reports set<a class="headerlink" href="#complete-reports-set" title="Permalink to this headline">¶</a></h2>
<p>Measures and statistics produced by Tsung are extremely feature-full.
They are all represented as a graphic. <tt class="docutils literal"><span class="pre">Tsung</span></tt> produces
statistics regarding:</p>
<ul class="simple">
<li><em>Performance</em>: response time, connection time, decomposition of the
user scenario based on request grouping instruction (called
<em>transactions</em>), requests per second</li>
<li><em>Errors</em>: Statistics on page return code to trace errors</li>
<li><em>Target server behaviour</em>: An Erlang agent can gather information
from the target server(s). Tsung produces graphs for CPU and memory
consumption and network traffic. SNMP and munin is also supported to
monitor remote servers.</li>
</ul>
<p>par Note that <tt class="docutils literal"><span class="pre">Tsung</span></tt> takes care of the synchronization process by itself. Gathered statistics are «synchronized».</p>
<p>It is possible to generate graphs during the benchmark as statistics are gathered in real-time.</p>
</div>
<div class="section" id="highlights">
<h2>2.12. Highlights<a class="headerlink" href="#highlights" title="Permalink to this headline">¶</a></h2>
<p><tt class="docutils literal"><span class="pre">Tsung</span></tt> has several advantages over other injection tools:</p>
<ul class="simple">
<li><em>High performance</em> and <em>distributed benchmark</em>: You can use Tsung to simulate tens of thousands of virtual users.</li>
<li><em>Ease of use</em>: The hard work is already done for all supported
protocol. No need to write complex scripts. Dynamic scenarios only requires small trivial piece of code.</li>
<li><em>Multi-protocol support</em>: <tt class="docutils literal"><span class="pre">Tsung</span></tt> is for example one of the only tool to benchmark SOAP applications</li>
<li><em>Monitoring</em> of the target server(s) to analyze the behaviour and
find bottlenecks. For example, it has been used to analyze cluster
symmetry (is the load properly balanced ?) and to determine the best
combination of machines on the three cluster tiers (Web engine, EJB
engine and database)</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h3><a href="index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">2. Features</a><ul>
<li><a class="reference internal" href="#tsung-main-features">2.1. Tsung main features</a></li>
<li><a class="reference internal" href="#http-related-features">2.2. HTTP related features</a></li>
<li><a class="reference internal" href="#webdav-related-features">2.3. WEBDAV related features</a></li>
<li><a class="reference internal" href="#jabber-xmpp-related-features">2.4. Jabber/XMPP related features</a></li>
<li><a class="reference internal" href="#postgresql-related-features">2.5. PostgreSQL related features</a></li>
<li><a class="reference internal" href="#mysql-related-features">2.6. MySQL related features</a></li>
<li><a class="reference internal" href="#websocket-related-features">2.7. Websocket related features</a></li>
<li><a class="reference internal" href="#amqp-related-features">2.8. AMQP related features</a></li>
<li><a class="reference internal" href="#mqtt-related-features">2.9. MQTT related features</a></li>
<li><a class="reference internal" href="#ldap-related-features">2.10. LDAP related features</a></li>
<li><a class="reference internal" href="#complete-reports-set">2.11. Complete reports set</a></li>
<li><a class="reference internal" href="#highlights">2.12. Highlights</a></li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="introduction.html"
title="previous chapter">1. Introduction</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="installation.html"
title="next chapter">3. Installation</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/features.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="installation.html" title="3. Installation"
>next</a> |</li>
<li class="right" >
<a href="introduction.html" title="1. Introduction"
>previous</a> |</li>
<li><a href="index.html">Tsung 1.5.1 documentation</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright 2013, Nicolas Niclausse.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.2.
</div>
</body>
</html>
|