[Tsung] backend and fullstats

philippe vanderstraeten phvander at gmail.com
Mon Apr 21 16:30:58 CEST 2008


Nicolas,

Thanks for your anwser. Following is my scenario file (web site and
application names have been replaced with anonymous names).
================================ tsung.xml ===============================
<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "/usr/share/tsung/tsung-1.0.dtd">
<tsung loglevel="notice" version="1.0" dumptraffic="false"
backend="fullstats">

  <!-- Client side setup -->
  <clients>
    <client host="localhost" use_controller_vm="true" maxusers="1000"/>
  </clients>

  <!-- Server side setup -->
    <servers>
      <server host="mywebsite" port="9083" type="tcp"></server>
    </servers>


  <load>
      <arrivalphase phase="1" duration="60" unit="minute">
         <users maxnumber="1" interarrival="1" unit="second"></users>
      </arrivalphase>
  </load>

  <options>
       <option type="ts_http" name="user_agent">
        <user_agent probability="80">Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.7.8) Gecko/20050513 Galeon/1.3.21</user_agent>
        <user_agent probability="20">Mozilla/5.0 (Windows; U; Windows NT
5.2; fr-FR; rv:1.7.8) Gecko/20050511 Firefox/1.0.4</user_agent>
       </option>
  </options>

  <!-- start a session for a http user. the probability is the
  frequency of this type os session. The sum of all session's
  probabilities must be 100 -->

<sessions>
    <session name='C8192' probability='100'  type='ts_http'>
        <transaction name="trx_init">
            <request>
                <http url='/myapp/Calibrage?pagelen=8192' version='1.1'
method='GET'></http>
            </request>
        </transaction>
        <transaction name="trx_dummy1">
            <request>
                <http url='/myapp/Calibrage?pagelen=8192' version='1.1'
method='GET'></http>
            </request>
        </transaction>
        <transaction name="trx_mesure">
            <request>
                <http url='/myapp/Calibrage?pagelen=8192' version='1.1'
method='GET'></http>
            </request>
        </transaction>
        <transaction name="trx_dummy2">
            <request>
                <match do="loop" sleep_loop="1" max_loop="2000"
loop_back="2" when="match">X</match>
                <http url='/myapp/Calibrage?pagelen=8192' version='1.1'
method='GET'></http>
            </request>
        </transaction>
    </session>
</sessions>

</tsung>


On Mon, Apr 21, 2008 at 3:52 PM, Nicolas Niclausse <nicolas at niclux.org>
wrote:

> philippe vanderstraeten ecrivait le 18.04.2008 13:44:
>
> > Hello,
> >
> > yes there is a message in tsung_controller at ...
> > Here is the file content:
> >
>
> Strange; it seems to be related with the end of transaction trx_dummy2.
> Waht does your config file looks like ?
>
>
> --
> Nicolas
> _______________________________________________
> Tsung-users mailing list
> Tsung-users at lists.process-one.net
> https://lists.process-one.net/mailman/listinfo/tsung-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20080421/544f3bbf/attachment.html


More information about the Tsung-users mailing list