test2
来自「THIS IS HTTP CURL Example」· 代码 · 共 54 行
TXT
54 行
<testcase><info><keywords>HTTPHTTP GETHTTP Basic auth</keywords></info>## Server-side<reply><data>HTTP/1.1 200 OKDate: Thu, 09 Nov 2010 14:49:00 GMTServer: test-server/fake swscloseContent-Type: text/htmlFunny-head: yesyes</data></reply>## Client-side<client><server>http</server> <name>HTTP GET with user and password </name> <command> -u fake:user http://%HOSTIP:%HTTPPORT/2</command></client>## Verify data after the test has been "shot"<verify><strip>^User-Agent:.*</strip><protocol>GET /2 HTTP/1.1
Authorization: Basic ZmFrZTp1c2Vy
Host: %HOSTIP:%HTTPPORT
Accept: */*
</protocol><data>[insert full protocol verifiction dump here]</data></verify></testcase>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?