Annotation of embedaddon/curl/tests/data/test2032, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: HTTP
! 5: HTTP GET
! 6: HTTP Basic auth
! 7: HTTP NTLM auth
! 8: flaky
! 9: </keywords>
! 10: </info>
! 11: # Server-side
! 12: <reply>
! 13:
! 14: <!-- Basic auth -->
! 15: <data100>
! 16: HTTP/1.1 401 Need Basic or NTLM auth
! 17: Server: Microsoft-IIS/5.0
! 18: Content-Type: text/html; charset=iso-8859-1
! 19: Content-Length: 29
! 20: WWW-Authenticate: NTLM
! 21: WWW-Authenticate: Basic realm="testrealm"
! 22:
! 23: This is a bad password page!
! 24: </data100>
! 25:
! 26: <!-- NTLM auth -->
! 27: <data200>
! 28: HTTP/1.1 401 Need Basic or NTLM auth (2)
! 29: Server: Microsoft-IIS/5.0
! 30: Content-Type: text/html; charset=iso-8859-1
! 31: Content-Length: 27
! 32: WWW-Authenticate: NTLM
! 33: WWW-Authenticate: Basic realm="testrealm"
! 34:
! 35: This is not the real page!
! 36: </data200>
! 37:
! 38: <data1201>
! 39: HTTP/1.1 401 NTLM intermediate (2)
! 40: Server: Microsoft-IIS/5.0
! 41: Content-Type: text/html; charset=iso-8859-1
! 42: Content-Length: 33
! 43: WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADAAAACGgAEAq6U1NAWaJCIAAAAAAAAAAAAAAAA4AAAATlRMTUF1dGg=
! 44:
! 45: This is still not the real page!
! 46: </data1201>
! 47:
! 48: <data1202>
! 49: HTTP/1.1 200 Things are fine in server land
! 50: Server: Microsoft-IIS/5.0
! 51: Content-Type: text/html; charset=iso-8859-1
! 52: Content-Length: 32
! 53:
! 54: Finally, this is the real page!
! 55: </data1202>
! 56:
! 57: <datacheck>
! 58: Data connection 0: 228
! 59: Data connection 1: 228
! 60: Data connection 2: 402
! 61: </datacheck>
! 62:
! 63: </reply>
! 64:
! 65: # Client-side
! 66: <client>
! 67: <features>
! 68: NTLM
! 69: SSL
! 70: !SSPI
! 71: </features>
! 72: <server>
! 73: http
! 74: </server>
! 75: <tool>
! 76: libntlmconnect
! 77: </tool>
! 78:
! 79: <name>
! 80: NTLM connection mapping
! 81: </name>
! 82: <setenv>
! 83: # we force our own host name, in order to make the test machine independent
! 84: CURL_GETHOSTNAME=curlhost
! 85: # we try to use the LD_PRELOAD hack, if not a debug build
! 86: LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
! 87: </setenv>
! 88: <command>
! 89: http://%HOSTIP:%HTTPPORT/2032
! 90: </command>
! 91: <precheck>
! 92: chkhostname curlhost
! 93: </precheck>
! 94: </client>
! 95:
! 96: # Verify data after the test has been "shot"
! 97: <verify>
! 98: <strip>
! 99: ^User-Agent:.*
! 100: </strip>
! 101: <protocol>
! 102: GET /20320100 HTTP/1.1
! 103: Host: %HOSTIP:%HTTPPORT
! 104: Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
! 105: Accept: */*
! 106:
! 107: GET /20320100 HTTP/1.1
! 108: Host: %HOSTIP:%HTTPPORT
! 109: Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
! 110: Accept: */*
! 111:
! 112: GET /20320200 HTTP/1.1
! 113: Host: %HOSTIP:%HTTPPORT
! 114: Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
! 115: Accept: */*
! 116:
! 117: GET /20320200 HTTP/1.1
! 118: Host: %HOSTIP:%HTTPPORT
! 119: Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoABAI+/Fp9IERAQ74OsdNPbBpg7o8CVwLSO4DtFyIcZHUMKVktWIu92s2892OVpd2JzqnRlc3R1c2VyY3VybGhvc3Q=
! 120: Accept: */*
! 121:
! 122: </protocol>
! 123: </verify>
! 124: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>