[Tsung] Need help with error (2700- fatal: assignment_expected)
Arleif Braganza
abraganza at zedo.com
Mon Oct 23 17:18:07 CEST 2006
Thank you for your help.
I reduced my tsung-sessions.xml to a minimum. It also complained that it
expected hosnames and not IP addresses, so I changed that.
Now it starts up. Time to put the rest in place. :-)
~Arleif
On 10/17/06, Isaac Uribe <iuribe at nic.mx> wrote:
>
>
> Hey Arleif,
>
> Could be nothing, but there are several spaces on the XML header, also
> after the "'s: server host=" 172.16.1.16" and you are missing the '
> version="1.0" ' here: <tsung loglevel="info" version="1.0">
> Can't really check, because you didn't provide your
> "/home/postgres/logAnalysis/tsung_sessions.xml" file.
> But after the previous corrections, it doesn't complain anymore.
>
> Anyway, haven't been using Tsung for a long time, but it looks like an
> error in your XML file.
>
> Cheers,
>
> Isaac Uribe
>
> At 04:35 AM 10/17/2006, you wrote:
>
> 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.
> _______________________________________________
> Tsung-users mailing list
> Tsung-users at lists.process-one.net
> https://lists.process-one.net/mailman/listinfo/tsung-users
>
> "Limit" is a state of mind.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20061023/a737636c/attachment.html
More information about the Tsung-users
mailing list