Newbie question on user registration test with tsung

Wenjun Che
Added over 5 years ago


I am new to tigase and tsung. I am having an issue with running jabber_register.xml included in tsung installation: I can't get it to create the exact number of users specified in the xml file.

1 .If maxnumber is set to 10 (with interarrival = 1sec duration=1minuntes), tigase always creates 6 users.

2 .If maxnumber is set to 200 (with interarrival = 1sec duration=5minuntes), tigase creates about half. I am seeing 'conflict' error in tigase log file for some requests, because (I am guessing) tigase is receiving register requests with duplicate userIds (same username and differene 'id' in iq:register requests).

What am I doing wrong?

Here is my

-user-db = mysql

--admins = admin@loadtest

--user-db-uri = jdbc:mysql://localhost/tigasedb?user=tigase&password=xxx

config-type = --gen-config-def

--virt-hosts = loadtest

--debug = server

Attached is jabber_register.xml (same as the original one with smaller numbers)


Replies (1)


Added by Artur Hefczyc TigaseTeam over 5 years ago

I am afraid I am not an expert at Tsung configuration or specific ways it works. We have never tried to register user accounts using Tsung.