我遇到了这个问题(在 debian 8 上,使用 tsung 1.5.1。)。
XML配置是:
<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "/opt/local/share/tsung/tsung-1.0.dtd">
<tsung loglevel="warning">
<clients>
<client host="localhost" maxusers="400"/>
</clients>
<servers>
<server host="zzz.test.com" port="8180" type="tcp"/>
</servers>
<load>
<arrivalphase phase="1" duration="1" unit="minute">
<users arrivalrate="5" unit="second"/>
</arrivalphase>
</load>
<session name='rec20150703-1430' probability='100' type='ts_http'>
***here is the recorded through the proxy recorder***
</session>
当我开始“tsung start”时,我收到一个错误:
2665- fatal: unexpected_end
Config Error, aborting ! {fatal,
{unexpected_end,
{file,"/root/.tsung/tsung.xml"},
{line,119}, ***my xml consists of the 118 lines***
{col,1}}}
有人面临类似行为吗?
提前谢谢。