# Cenos7下的WebSocket壓力測試工具 (Node.js) [![hackmd-github-sync-badge](https://hackmd.io/Liy-vYOGT2qoLbb7AfCVfQ)](https://hackmd.io/Liy-vYOGT2qoLbb7AfCVfQ) ###### tags: `WebSocket` ## 安裝 ``` npm i websocket-pressure-test ``` ## 執行 ``` /** * ./node_modules/.bin/websocket-pressure-test 地址 併發數 */ ./node_modules/.bin/websocket-pressure-test ws://127.0.0.1:9502 10000 ```