Skip to content

dMAC95/locust_socketio_websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

I found it tricky to implement testing for sockets in locust, but got it working through persistence. With this example resource you should be able to use locust with websockets / socketio relatively easy. You can comment out or delete the websocket / socketio class you don't need. The MyUser class is required for socketio testing in this implementation. This code is very minimal and is supplied as a working base example to build from, it could use more error handling.

This example was built with locust version 2.15.1

About

Example code for websocket and socketio testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages