test193
来自「THIS IS HTTP CURL Example」· 代码 · 共 74 行
TXT
74 行
<testcase>## Server-side<reply><data nocheck="1">HTTP/1.1 302 OK swsbounce swscloseDate: Thu, 09 Nov 2010 14:49:00 GMTContent-Length: 8Connection: closeLocation: ./193monster</data><data1 nocheck="1">HTTP/1.1 200 OKDate: Thu, 09 Nov 2010 14:49:00 GMTContent-Length: 8Connection: closemonster</data1></reply>## Client-side<client><server>http</server> <name>HTTP GET -w num_connects with redirected fetch (2 connects) </name> <command>http://%HOSTIP:%HTTPPORT/193 -w "%{num_connects}\n" -L</command></client>## Verify data after the test has been "shot"<verify><strip>^User-Agent:.*</strip><protocol>GET /193 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
GET /193 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
</protocol><stdout>HTTP/1.1 302 OK swsbounce swscloseDate: Thu, 09 Nov 2010 14:49:00 GMTContent-Length: 8Connection: closeLocation: ./193HTTP/1.1 200 OKDate: Thu, 09 Nov 2010 14:49:00 GMTContent-Length: 8Connection: closemonster2</stdout></verify></testcase>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?