[Tsung] Counters Statistics

Sarah Javier sarah_javier at ymail.com
Fri Oct 10 11:48:27 CEST 2008

Hi Everyone,

I would like to ask what connected means under Counter Statistics?  Because right now I am testing HTTP support of Tsung on our website.  We tried reading 1000 usernames and passwords using external file and the other one is through reading erl. However, sometimes we only got 4, 1 or even 0 connected users.  I don't know what is wrong. Can you please help me.  Please see my config below.

Thanks so much for your help.


        <client host="localhost" use_controller_vm="true" maxusers="1000"/>

       <server host='' port='9998' type='tcp'/>

        <arrivalphase phase="1" duration="10" unit="minute">
            <users maxnumber="1000" interarrival="25" unit="second"></users>

        <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</user_agent>
            <user_agent probability="20">Mozilla/5.0 (Windows; U; Windows NT 5.2; fr-FR; rv:1.7.8) Gecko/</user_agent>
        <!-- Each client has a random thinktime (time between two request) around 3 -->
        <option name="thinktime" value="3" random="true" override="true"/>
        <!-- TOBEMODIFIED Absolute path for the file from which we generate the login and password -->
        <option name="file_server"  value="/home/sarah/tsung/smart-accounts.csv"></option>
        <option name="file_server" id='random' value="/home/sarah/tsung/globe-accounts.csv"></option>

        <session name="auth" probability="100" type="ts_http">
            <transaction name="authenticate">
                <request subst="true">
                    <http url="/authenticate" method="POST" version="1.1" contents="%%readcsv:user%%"></http>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20081010/bc40a650/attachment.html

More information about the Tsung-users mailing list