~ps10gel/ubuntu/xenial/trafficserver/6.2.0

« back to all changes in this revision

Viewing changes to example/thread-pool/test/SynTest/Tests/Psi/1.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Arno Toell
  • Date: 2011-01-13 11:49:18 UTC
  • Revision ID: james.westby@ubuntu.com-20110113114918-vu422h8dknrgkj15
Tags: upstream-2.1.5-unstable
ImportĀ upstreamĀ versionĀ 2.1.5-unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[test]
 
2
Description: PSI Plugin - Include tag at the beginning of doc 
 
3
 
 
4
### request
 
5
 
 
6
[client-request]
 
7
request: {
 
8
        GET http://$(SVR_HOST):$(SVR_PORT)/ http/1.0
 
9
        Host: http://$(SVR_HOST):$(SVR_PORT)/
 
10
        User-Agent: HTTP Protocol Tester Client 1.0
 
11
        Content-Length: 0
 
12
}
 
13
 
 
14
### response
 
15
 
 
16
[server-response]
 
17
http-response: {
 
18
        HTTP/1.1 200 OK
 
19
        Date: +0
 
20
        Server: HTTP Protocol Tester 1.0
 
21
        Content-Type: text/html
 
22
        X-Psi: true
 
23
}
 
24
content-file: ./Tests/Psi/psi_files/tc1_file.txt
 
25
 
 
26
### verification
 
27
[output]
 
28
# As syntest can't do this, we need to visually inspect bodies... :-(
 
29
print-headers: false
 
30
print-body: true
 
31
 
 
32
[proxy-request]
 
33
verify-header-valid: true
 
34
 
 
35
[server-response]
 
36
Must-have: {
 
37
        Status == 200
 
38
        Version == HTTP/1.1
 
39
}
 
40
verify-header-valid: true
 
41
 
 
42
[proxy-response]
 
43
Must-have: {
 
44
        Status == 200
 
45
        Server: HTTP Protocol Tester 1.0
 
46
        Content-Type: text/html
 
47
}
 
48
verify-header-valid: true
 
49
 
 
50