Performance testing 1:N sessions

How can i perform load testing of a single Media Node with below scenario
Test sessions with topologies, such as 1:M (1 Publisher and Multiple Subscribers. Only Publisher will be publishing Audio and Video with 320x240 resolution)
I have
- Openvidu server pro with 4 core
- Openvidu Media node with 8 core (C5.2X Large)

I want to check the capacity, how many concurrent subscribers in a single session one Media node can handle.

In this table i can see how many “subscribers streams” can be managed in a server at the same time: (Reference is taken from [this post])

If i could achieve somewhere around 500 - 600 subscribers with 8 core then it would be really great. Please suggest how can i do this?

Hello,

We performed test, the post you referenced, using openvidu-loadtest tool (https://github.com/OpenVidu/openvidu-loadtest)

In your use case, you should modify the webapp (https://github.com/OpenVidu/openvidu-loadtest/tree/master/webapp) to allow 1:M session

1 Like

Hello,

After modifying the app.js file (for 1:M support) do i need to change in Jenkins code or some where else to pick the latest changes code.
OR
No changes required in openvidu-loadtest tool. I will just change the weapp/app.js file as per my need and I will deploy the webapp somewhere independently and during Launch Test i will pass the APP URL (URL where i hosted the webapp client) in Configuration parameters.

Can i use the master version or the specific one related to webapp as mentioned below
https://github.com/OpenVidu/openvidu-loadtest/tree/webcomponent_loadtest

https://github.com/OpenVidu/openvidu-loadtest/tree/webcomponent_loadtest/selenium-test

The main difference between each branch is the webapp, so you can add your webpp in the branch you want and follow the README instructions.

2 Likes

Great, it meas i can host the “webapp code” somewhere else independently and can use the URL in command like this

cd /home/ubuntu/openvidu-loadtest/selenium-test
mvn -Dtest=OpenViduLoadTest -DCONFIGURATION_APP_URL=https://url-where-i-hosted-the-webapp:PORT/ test

Sure, you can do that

1 Like