test6

来自「THIS IS HTTP CURL Example」· 代码 · 共 50 行

TXT
50
字号
<testcase><info><keywords>HTTPHTTP GETHTTP set cookiecookies</keywords></info># Server-side<reply><data>HTTP/1.1 200 OKDate: Thu, 09 Nov 2010 14:49:00 GMTServer: test-server/fakeContent-Type: text/htmlFunny-head: yesyesswsclose: booo</data></reply># Client-side<client><server>http</server> <name>HTTP with simple cookie send </name> <command>http://%HOSTIP:%HTTPPORT/we/want/that/page/6 -b "name=contents;name2=content2"</command></client># Verify data after the test has been "shot"<verify><strip>^User-Agent:.*</strip><protocol>GET /we/want/that/page/6 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Cookie: name=contents;name2=content2

</protocol></verify></testcase>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?