test17
来自「THIS IS HTTP CURL Example」· 代码 · 共 55 行
TXT
55 行
<testcase><info><keywords>HTTPHTTP custom requestconfig file</keywords></info># Server-side<reply><data>HTTP/1.1 200 OKFunny-head: yesyesContent-Length: 27
This is the proof it works</data></reply># Client-side<client><server>http</server> <name>HTTP with config file on stdin </name> <stdin>## Use a silly request without '--':request MOOO## Set the user-agent using a short-option:-A "agent007 license to drill\t"## long option *with* '--':--max-time 180 </stdin> <command>-K - %HOSTIP:%HTTPPORT/that.site.com/17</command></client># Verify data after the test has been "shot"<verify><protocol>MOOO /that.site.com/17 HTTP/1.1
User-Agent: agent007 license to drill
Host: %HOSTIP:%HTTPPORT
Accept: */*
</protocol></verify></testcase>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?