이 페이지에서

테스트 Qt WebSockets

WebSocket 프로토콜(RFC 6455)의 표준 테스트 스위트인Autobahn|Testsuite를 사용하여 Qt WebSockets 의 규격 준수 여부를 테스트할 수 있습니다. 테스트 스위트를 설정하려면 Autobahn|Testsuite 설치 문서를 참조하십시오.

Autobahn|Testsuite를 사용하여 Qt WebSockets 테스트하기

wstest - fuzzingserver 모드

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로 접속하십시오.

© 2026 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.