1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6HTTP proxy 7HTTP proxy Basic auth 8HTTP proxy NTLM auth 9</keywords> 10</info> 11# Server-side 12<reply> 13 14<data> 15HTTP/1.1 407 We only deal with NTLM my friend 16Server: Microsoft-IIS/5.0 17Content-Type: text/html; charset=iso-8859-1 18Content-Length: 34 19Proxy-Authenticate: NTLM 20 21This is not the real page either! 22</data> 23 24</reply> 25 26# Client-side 27<client> 28<features> 29proxy 30</features> 31<server> 32http 33</server> 34<name> 35HTTP with proxy requiring NTLM, but we send Basic 36</name> 37<command> 38http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy-user testuser:testpass -x http://%HOSTIP:%HTTPPORT 39</command> 40</client> 41 42# Verify data after the test has been "shot" 43<verify> 44<protocol> 45GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER HTTP/1.1 46Host: %HOSTIP:%HTTPPORT 47Proxy-Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M= 48User-Agent: curl/%VERSION 49Accept: */* 50Proxy-Connection: Keep-Alive 51 52</protocol> 53</verify> 54</testcase> 55