Jitsi hammer cannot generate load on JVB

I want to use hammer do performance test for JVB.
2020-01-03 08:16:39.463 INFO: [1] org.jitsi.hammer.Hammer.log() Start OSGi framework with the bundles : [[Ljava.lang.String;@1d56ce6a
2020-01-03 08:16:39.485 INFO: [1] org.jitsi.hammer.Hammer.log() Add extension provider for :
2020-01-03 08:16:39.485 INFO: [1] org.jitsi.hammer.Hammer.log() Element name : media, Namespace : http://estos.de/ns/mjs
2020-01-03 08:16:39.643 INFO: [1] org.jitsi.hammer.Hammer.log() Element name : ssrc, Namespace : http://estos.de/ns/ssrc
2020-01-03 08:16:39.956 INFO: [1] org.jitsi.hammer.utils.MediaDeviceChooser.log() Creating a MediaDeviceChooser from console arguments :
-with AudioSilenceMediaDevice for the audio stream.
-with a fading from black to white to black… for the video stream

2020-01-03 08:16:39.968 INFO: [1] org.jitsi.hammer.stats.HammerStats.log() Stats directory : /opt/test/jitsi-hammer/.jitsi-hammer/stats/2020-01-03 08h16m39s
2020-01-03 08:16:42.576 INFO: [1] org.jitsi.hammer.Hammer.log() Hammer created : 1 fake users were created with a base nickname Jitsi-Hammer
2020-01-03 08:16:42.576 INFO: [1] org.jitsi.hammer.Hammer.log() Starting the Hammer : starting all FakeUsers with anonymous login
2020-01-03 08:16:42.577 INFO: [1] org.jitsi.hammer.FakeUser.log() Jitsi-Hammer_0 : Login anonymously to the XMPP server.
log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).
log4j:WARN Please initialize the log4j system properly.
2020-01-03 08:16:42.750 INFO: [1] org.jitsi.hammer.FakeUser.log() Jitsi-Hammer_0 : Trying to connect to MUC TestHammer@conference.meet.pangu.com
2020-01-03 08:16:42.774 INFO: [1] org.jitsi.hammer.FakeUser.log() Conference initiation IQ is sent to the focus user
2020-01-03 08:16:44.774 INFO: [1] org.jitsi.hammer.Hammer.log() The Hammer has correctly been started
2020-01-03 08:16:44.775 INFO: [1] org.jitsi.hammer.Hammer.log() Starting the HammerStats with (overall stats : false), (summary stats : false), (all stats : false) and a polling of 5sec
2020-01-03 08:16:44.775 INFO: [26] org.jitsi.hammer.stats.HammerStats.log() Running the main loop
Stopping Jitsi-Hammer…
2020-01-03 08:26:44.776 INFO: [17] org.jitsi.hammer.Hammer.log() Stoppig the Hammer : stopping all FakeUser
2020-01-03 08:26:44.776 INFO: [17] org.jitsi.hammer.FakeUser.log() Jitsi-Hammer_0 : stopping the streams, leaving the MUC and disconnecting from the XMPP server
Exiting the program…
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:06 min
[INFO] Finished at: 2020-01-03T08:26:45Z
[INFO] ------------------------------------------------------------------------

but the state shows the jvb is idle.
{
“packet_rate_download”: 0,
“total_tcp_connections”: 0,
“conference_sizes”: [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
“total_packets_sent_octo”: 0,
“total_loss_degraded_participant_seconds”: 0,
“bit_rate_download”: 0,
“videostreams”: 0,
“jitter_aggregate”: 0.0,
“total_channels”: 0,
“total_memory”: 8317,
“current_timestamp”: “2020-01-03 08:21:57.316”,
“total_packets_received”: 0,
“rtt_aggregate”: 0.0,
“packet_rate_upload”: 0,
“conferences”: 0,
“participants”: 0,
“total_loss_limited_participant_seconds”: 0,
“largest_conference”: 0,
“total_packets_sent”: 0,
“total_data_channel_messages_sent”: 0,
“total_bytes_received_octo”: 0,
“total_no_transport_channels”: 0,
“total_no_payload_channels”: 0,
“used_memory”: 1440,
“total_conferences_created”: 0,
“threads”: 78,
“total_colibri_web_socket_messages_received”: 0,
“videochannels”: 0,
“total_udp_connections”: 0,
“loss_rate_upload”: 0.0,
“total_packets_received_octo”: 0,
“graceful_shutdown”: false,
“total_colibri_web_socket_messages_sent”: 0,
“total_bytes_sent_octo”: 0,
“total_data_channel_messages_received”: 0,
“loss_rate_download”: 0.0,
“total_conference_seconds”: 0,
“total_bytes_received”: 0,
“rtp_loss”: 0.0,
“total_loss_controlled_participant_seconds”: 0,
“total_partially_failed_conferences”: 0,
“bit_rate_upload”: 0,
“total_conferences_completed”: 0,
“total_bytes_sent”: 0,
“total_failed_conferences”: 0,
“cpu_usage”: 0.0,
“audiochannels”: 0
}

on jicofo, I can see
org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member testhammer@conference.meet.pangu.com/Jitsi-Hammer_0 joined.

but jvb didn’t allocate channel for this meeting.

Hammer have not been touched for years and doesn’t support bundle which is requirement for the new bridge. So if you want to use it, it needs a lot of work and debugging to update it and make it work… I think it miss a lot of features available in the normal client, which does not make it close to reality … In other words we are not using it …

thanks.

what tool are you guys using for performance test ?
I find a tool KITE. they are using Jitsi as a code sample.


The latest we use is a selenium grid with a stripped client(using lib-jitsi-meet only) to join conference.

Hi Damian,
Do you have the source code of this stripped client somewhere in the github repository ?
Regards

@Hristo_Terezov do we have it somewhere?

@Damien_FETIS The stripped client is actually a simple JS page that uses only lib-jitsi-meet to connect to the conference. We pushed it in the perf_test branch of jitsi-meet but It seems I accidentally pushed another commit there too. I will remove the other commit soon. In mean time you may check out this commit https://github.com/jitsi/jitsi-meet/commit/b2ddf55d444930a7815940ad51410707658b5269. I’m sorry if the code is a little bit dirty and there’s not enough JS docs but this is still work in progress and it is still evolving. It is very similar to the example.html/example.js in the lib-jitsi-meet repo.

Hi Damian,

There are a few pending pull requests on the jitsi-hammer git repo. Some of them for a few years. Would you know who could review and merge or discard them? Btw, I’ve updated to the README file to warn people that jitis-hammer project is not active anymore.

Cheers,

/Bartosz