Project

General

Profile

Newbie question on user registration test with tsung

Wenjun Che
Added over 5 years ago

Hello

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 init.properties:

-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)

Thanks


Replies (1)

Avatar?id=6023&size=32x32

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.

    (1-1/1)