[Tsung] Need help with error (2700- fatal: assignment_expected)

Arleif Braganza abraganza at zedo.com
Tue Oct 17 11:35:15 CEST 2006


Hi,

Any help I can get here will be greatly appreciated.

I am trying to use tsung to load test a postgres database. The problem: When
I run tsung start I get the following error
Starting Tsung
"Log directory is: /home/postgres/.tsung/log/20061017-09:15"
2700- fatal: assignment_expected
["Config Error, aborting !
",{fatal,{assignment_expected,{file,"/home/postgres/.tsung/tsung.xml"},{line,23},{col,90}}}]

Other details:
Tsung version 1.2.0
The log files says:
    ts_config_server:(0:<0.45.0>) Error while parsing XML config file:
{fatal,
{assignment_expected,
{file,
"/home/postgres/.tsung/tsung.xml"},
{line, 23}, {col, 90}}}
** Reason for termination ==
** {badarg,[{ts_config_server,handle_call,3},{proc_lib,init_p,5}]}

my tsung.xml:

<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "/home/postgres/tools/tsung-1.2.0/tsung-1.0.dtd"
[<!ENTITY sessions SYSTEM "/home/postgres/logAnalysis/tsung_sessions.xml"> ]
>
<tsung loglevel="info">
        <clients>
                <client host="127.0.0.1" use_controller_vm="true"/>
        </clients>

        <servers>
                <server host="172.16.1.16" port="5432" type="tcp"></server>
        </servers>

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

                <arrivalphase phase="2" duration="1" unit="minute">
                        <users interarrival="1" unit="second"></users>
                </arrivalphase>
        </load>
        &sessions;
</tsung>

What could the problem be?

Thanks in advance
~Arleif.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20061017/d9b89e1e/attachment.html


More information about the Tsung-users mailing list