curl模拟测试 libwebsocket服务端程序
来源:互联网 发布:如何成为域名注册商 编辑:程序博客网 时间:2024/06/11 12:44
用cmake . make编译 libwebsocket的测试程序, 运行 bin/libwebsockets-test-server
用网页打开 http://192.168.1.194:7681/ 可以看到测试程序
用commview 抓包
CURL 模拟发送:
用网页打开 http://192.168.1.194:7681/ 可以看到测试程序
用commview 抓包
CURL 模拟发送:
curl -i -N \-H "GET /xxx HTTP/1.1" \-H "Host: 192.168.1.194:7681" \-H "Connection: Upgrade" \-H "Pragma: no-cache" \-H "Cache-Control: no-cache" \-H "Upgrade: websocket" \-H "Origin: http://192.168.1.194:7681" \-H "Sec-WebSocket-Version: 13" \-H "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36" \-H "Accept-Encoding: gzip, deflate, sdch" \-H "Accept-Language: zh-CN,zh;q=0.8" \-H "Cookie: test=LWS_1467015783_202369_COOKIE" \-H "Sec-WebSocket-Key: HQZPuX/AaPXjxPs4qms8ew==" \-H "Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits" \-H "Sec-WebSocket-Protocol: dumb-increment-protocol" \http://192.168.1.194:7681/xxx
0 0
- curl模拟测试 libwebsocket服务端程序
- 利用curl命令测试服务端
- libwebsocket
- curl模拟登录,并发测试
- curl模拟用户post测试
- 服务端通信程序测试
- SoapUI模拟服务端进行接口测试
- SoapUI模拟服务端进行接口测试
- vs2008+QT+asio tcp服务端测试程序
- curl模拟http发送get或post接口测试
- 服务端测试
- 服务端测试
- 服务端测试
- linux下curl 查看服务端
- java服务端程序部署服务器以及压力测试过程
- jetty模拟服务端作为测试桩进行接口测试详细介绍
- 服务端程序
- CURL模拟访问网页
- Mybatis源码学习(四)一级缓存机制
- 代码管理_SVN_搭建SVN_Server
- iOS9.0以上tableView reload刷新界面展示问题
- django 实例演示
- 使用SpreadJS迅速开发一套属于自己的欧洲杯赛程小工具
- curl模拟测试 libwebsocket服务端程序
- RO、RW、ZI和.text .bss .data
- DriverStudio开发PCI设备DMA数据传输
- centos6.5环境下tensoflow0.8.0的安装测试
- 走马灯 (滚动字幕效果)
- Monkey源码分析3—Monkey源码的整体设计结构
- java学习笔记
- 在 iOS 应用中直接跳转到 AppStore 的方法
- 泛型