⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test8

📁 THIS IS HTTP CURL Example
💻
字号:
<testcase><info><keywords>HTTPHTTP GETcookies</keywords></info># Server-side<reply><data>HTTP/1.1 200 OK swscloseDate: Thu, 09 Nov 2010 14:49:00 GMTServer: test-server/fake</data></reply># Client-side<client><server>http</server> <name>HTTP with cookie parsing from header file </name> <command>http://%HOSTIP:%HTTPPORT/we/want/8 -b log/heads8.txt</command># We create this file before the command is invoked!<file name="log/heads8.txt">HTTP/1.1 200 OKDate: Thu, 09 Nov 2010 14:49:00 GMTServer: test-server/fakeContent-Type: text/htmlFunny-head: yesyesSet-Cookie: foobar=name; domain=127.0.0.1; path=/;Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";Set-Cookie: partmatch=present; domain=.0.0.1; path=/;Set-Cookie: cookie=yes; path=/we;Set-Cookie: nocookie=yes; path=/WE;</file></client># Verify data after the test has been "shot"<verify><strip>^User-Agent:.*</strip><protocol>GET /we/want/8 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Cookie: cookie=yes; partmatch=present; foobar=name

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

⌨️ 快捷键说明

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