テストQt WebSockets
Autobahn|Testsuite は、WebSocket Protocol(RFC 6455) の標準テストスイートで、Qt WebSockets の適合性テストに使用できます。Autobahn|Testsuite のインストール・ドキュメントを参照して、テスト・スイートをセットアップしてください。
Autobahn|Testsuite によるQt WebSockets のテスト
wstest - ファジングサーバーモード
cd your_build_dir/tests/manual/compliance qmake your_src_dir/tests/manual/compliance/compliance.pro make cd ~ wstest -m fuzzingserver
次に、別のターミナルで
cd your_build_dir/tests/manual/compliance ./tst_compliance
テスト結果は ~/reports/clients ディレクトリの下に生成されます。ブラウザーを~/reports/clients/index.htmlに向ける。
wstest - ファジングクライアントモード
cd your_build_dir/examples/websockets/echoserver qmake your_src_dir/examples/websockets/echoserver/echoserver.pro make ./echoserver -p 9001
次に、別のターミナルで
cd ~ wstest -m fuzzingclient
テスト結果は~/reports/serversディレクトリの下に生成されます。ブラウザーを~/reports/servers/index.htmlに向ける。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.