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.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2448 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.