Skip to content

kStress is a implementation of Locust to test Kaltura's eCDN KES nodes

License

Notifications You must be signed in to change notification settings

supermasita/kstress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kStress

kStress is a implementation of Locust to test Kaltura's eCDN KES nodes.

Note:

This code is not created nor supported by Kaltura.

Features:

  • Test multiple entries at the same time (VOD and LIVE)
  • LIVE: mimic player behaviour when pulling new segments
  • Easy configuration
  • Locust will hit a KES based on the eCDN delivery rules, as normal user would do
    • Parent-child supported
    • "API gateway" not yet supported

Requirements:

How to use (single server):

  • Install Locust
  • Install Kaltura's Python client library
  • Clone this code
  • Rename config.py.template to config.py and edit as needed (PID, secret, entries)
  • Run Locust, specifying the file:
    $ locust -f kstress.py 
    
  • Connect to Locust WebUI (ex: http://127.0.0.1:8089) and start stressing!

How to use (multi server):

  • On all servers:
    • Install Locust
    • Install Kaltura's Python client library
    • Clone this code
    • Rename config.py.template to config.py and edit as needed (PID, secret, entries)
  • On master server:
    • Run Locust, specifying the file and master:
    $ locust -f kstress.py --master
    
  • On slave servers:
    • Run Locust, specifying the file and master:
    $ locust -f kstress.py --master-host={IP_OF_THE_MASTER_SERVER}
    
  • Connect to Locust WebUI on master (ex: http://127.0.0.1:8089) and start stressing!

Screenshots:

screenshot01 screenshot02 screenshot03 screenshot04 screenshot05

About

kStress is a implementation of Locust to test Kaltura's eCDN KES nodes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages