Annotation of embedaddon/curl/tests/data/test430, revision 1.1.1.1
1.1 misho 1: <testcase>
2: # Derived from on https://github.com/curl/curl/issues/5120
3: <info>
4: <keywords>
5: --next
6: --config
7: POST
8: </keywords>
9: </info>
10:
11: #
12: # Server-side
13: <reply>
14: <data1>
15: HTTP/1.1 200 OK
16: Content-Length: 6
17: Content-Type: text/1
18:
19: -foo-
20: </data1>
21: <data2>
22: HTTP/1.1 200 OK
23: Content-Length: 6
24: Content-Type: text/2
25:
26: -foo-
27: </data2>
28: <data3>
29: HTTP/1.1 200 OK
30: Content-Length: 6
31: Content-Type: text/3
32:
33: -foo-
34: </data3>
35: </reply>
36:
37: #
38: # Client-side
39: <client>
40: <file1 name="log/config430-a">
41: --next
42: url = %HOSTIP:%HTTPPORT/4300001
43: header = "a: a"
44: data = "a"
45: </file1>
46: <file2 name="log/config430-b">
47: --next
48: url = %HOSTIP:%HTTPPORT/4300002
49: header = "b: b"
50: data = "b"
51: </file2>
52: <file3 name="log/config430-c">
53: --next
54: url = %HOSTIP:%HTTPPORT/4300003
55: header = "c: c"
56: data = "c"
57: </file3>
58:
59: <server>
60: http
61: </server>
62: <name>
63: Three -K uses with --next and --data in each
64: </name>
65: <command>
66: -K log/config430-a -K log/config430-b -K log/config430-c
67: </command>
68: </client>
69:
70: #
71: # Verify data after the test has been "shot"
72: <verify>
73: <strip>
74: ^User-Agent:.*
75: </strip>
76: <protocol nonewline="yes">
77: POST /4300001 HTTP/1.1
78: Host: %HOSTIP:%HTTPPORT
79: Accept: */*
80: a: a
81: Content-Length: 1
82: Content-Type: application/x-www-form-urlencoded
83:
84: aPOST /4300002 HTTP/1.1
85: Host: %HOSTIP:%HTTPPORT
86: Accept: */*
87: b: b
88: Content-Length: 1
89: Content-Type: application/x-www-form-urlencoded
90:
91: bPOST /4300003 HTTP/1.1
92: Host: %HOSTIP:%HTTPPORT
93: Accept: */*
94: c: c
95: Content-Length: 1
96: Content-Type: application/x-www-form-urlencoded
97:
98: c
99: </protocol>
100: </verify>
101: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>