First install and start the chromedriver like this: chromedriver --port=4444 Then clone jitsi-meet-torture and run this in its directory:
./scripts/malleus.sh --conferences=1 --participants=2 --senders=1 --audio-senders=1 --duration=30 --room-name-prefix=test --hub-url=http://localhost:4444/ --instance-url=https://pg3.vamooz.ir/Pazhouhan-Online-Class_22_1399-09-19?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJwZzMudmFtb296LmlyIiwiaXNzIjoick1CWXVwTE5WU1ltWUpmUlk0ZGFLR1VGanAyZ1BVUUMiLCJzdWIiOiJwZzMudmFtb296LmlyIiwicm9vbSI6IlBhemhvdWhhbi1PbmxpbmUtQ2xhc3NfMjJfMTM5OS0wOS0xOSJ9.JHy-XggDtTDaa0icUcZ12dkeF4L4nDldASa7U3U6Rq4
ISSUE: The INPUT_VIDEO_FILE
option in MalleusJitsificus.java
which is translated to use-file-for-fake-video-capture=
option of chrome driver is not working. This should stream the supplied video as video capture input device.
Follow this link: https://meetrix.io/blog/webrtc/jitsi/jitsi-meet-load-testing.html
So run these:
docker-compose up -d --scale node=2
docker-compose exec torture /bin/bash
Now add this in pom.xml file:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.6.5</version>
<scope>test</scope>
</dependency>
Then run these to install nodejs:
apt update
apt install nodejs
Finally run this:
./scripts/malleus.sh --conferences=1 --participants=2 --senders=2 --audio-senders=2 --duration=30 --room-name-prefix=test --hub-url=http://hub:4444/wd/hub/ --instance-url=https://pg3.vamooz.ir/Pazhouhan-Online-Class_22_1399-09-19?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJwZzMudmFtb296LmlyIiwiaXNzIjoick1CWXVwTE5WU1ltWUpmUlk0ZGFLR1VGanAyZ1BVUUMiLCJzdWIiOiJwZzMudmFtb296LmlyIiwicm9vbSI6IlBhemhvdWhhbi1PbmxpbmUtQ2xhc3NfMjJfMTM5OS0wOS0xOSJ9.JHy-XggDtTDaa0icUcZ12dkeF4L4nDldASa7U3U6Rq4#jitsi_meet_external_api_id=0&appData.localStorageContent=null