Autobahn|Testsuite, a standard test suite for WebSocket Protocol (RFC 6455), can be used for testing the conformance of Qt WebSockets. Refer to Autobahn|Testsuite installation documentation to set up the test suite.
cd your_build_dir/tests/manual/compliance qmake your_src_dir/tests/manual/compliance/compliance.pro make cd ~ wstest -m fuzzingserver
Then, in another terminal:
cd your_build_dir/tests/manual/compliance ./tst_compliance
Test results will be generated under ~/reports/clients directory. Point your browser to ~/reports/clients/index.html.
cd your_build_dir/examples/websockets/echoserver qmake your_src_dir/examples/websockets/echoserver/echoserver.pro make ./echoserver -p 9001
Then, in another terminal:
cd ~ wstest -m fuzzingclient
Test results will be generated under ~/reports/servers directory. Point your browser to ~/reports/servers/index.html.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: