Load Test – Tsung: Using iterators in cycles

I am trying to use tsung to create load test scenarios for ejabberd.

I want to simulate thousands of XMPP events from thousands of clients. According to tsung In the manual, I can use a for loop to create repeated actions:

 
[...]

[...]

But this example doesn’t work for me:

alex@alex:~/.tsung$tsung -f jabber. xml start
Starting Tsung
"Log directory is: /home/alex/.tsung/log/20130417-1404"
3306- fatal: {error,{validity_constraint_Name_Token,37}}
Config Error, aborting! {Fatal,{{error,{validity_constraint_Name_Token,37}},
{file,"jabber.xml"},
{line,10},
{ col,29}}}

Complete configuration file:
























option>









How to use loop in tsung configuration file?

You cannot use loops in . Part, loops are available in as long as .

I am trying to use tsung to create a load test scenario for ejabberd.

I want to simulate thousands of XMPP events from thousands of clients. According to In tsung’s manual, I can use a for loop to create repeated actions:


[...]

[... ]

But this example doesn’t work for me:

alex@alex:~/.tsung$tsung -f jabber .xml start
Starting Tsung
"Log directory is: /home/alex/.tsung/log/20130417-1404"
3306- fatal: {error,{validity_constraint_Name_Token,37}}< br />Config Error, aborting! {fatal,{{error,{validity_constraint_Name_Token,37}},
{file,"jabber.xml"},
{line,10},
{col,29}}}

Complete configuration file:


































How to use loop in tsung configuration file?

You cannot use loops in . Part, loops are available in as long as they are available.

Leave a Comment

Your email address will not be published.