模拟基于HTTP协议的嵌入式客户端,协议该怎么选
客户端是一台设备,使用公司自研的基于HTTP协议开发的安防协议,跟服务端通讯。现在要模拟这个客户端,我在New Virtual User应该如何选择协议进行脚本开发?请求报文如下
GET /iclock/getrequest?SN=xxxxxxxxxx HTTP/1.1
Cookie: token=xxxxxxxxxxxxxxxxxxxxxxxxxxx
Host: 127.0.0.1:xxxx
User-Agent: iClock Proxy/1.09
Connection: starting
Accept: application/xxxx
Accept-Charset: UTF-8
Accept-Language: zh-CN
响应报文如下
HTTP/1.1 200 OK
Server: Apache-xxxxx/1.1
Content-Type: text/plain;charset=utf-8
Content-Length: x
Date: Mon, 12 Dec 2016 09:26:11 GMT
OK
http不行吗
页:
[1]