Example to write custom load tests for testing WebSockets.
Files Required
- Custom Test Class : https://github.com/redline13/custom-loadtests/blob/master/WebSocketLoadTest.php
- composer.json to include dependencies : https://github.com/redline13/custom-loadtests/blob/master/composer.json
WebSockets Client package
- https://github.com/Textalk/websocket-php
- from Fredrik Liljegren @ TextTalk
Running Test
- Select CustomTest
- Add Custom Test Class
- Add composer.json with dependencies
- Enable the composer plugin for Custom tests
- Select Your # Users and Cloud Options
- Run your Test
- Example Test https://www.redline13.com/share/testplan/26555
1 Comment
Comments are closed.