source: mod_gnutls/test/sample_test.yml @ d2f2f62

proxy-ticket
Last change on this file since d2f2f62 was 1fe7cac, checked in by Fiona Klute <fiona.klute@…>, 10 months ago

TestReq10: Handle expected and unexpected connection failure

With this TestReq10 supports the same options as TestRequest?.

  • Property mode set to 100644
File size: 697 bytes
Line 
1!connection
2gnutls_params:
3  - x509cafile=authority/x509.pem
4actions:
5  - !request
6    path: /
7    headers:
8      Host: localhost
9    expect:
10      status: 404
11  - !request
12    method: GET
13    path: /test.txt
14    expect:
15      status: 200
16      body:
17        exactly: |
18          test
19  - !request
20    path: /status?auto
21    expect:
22      status: 200
23      headers:
24        Content-Type: 'text/plain; charset=ISO-8859-1'
25        X-Forbidden-Header: null
26      body:
27        contains:
28          - 'Using GnuTLS version: '
29          - 'Current TLS session: (TLS1.3)'
30  - !request10
31    path: /test.txt
32    headers:
33      Host: localhost
34    expect:
35      headers:
36        Content-Type: 'text/plain'
Note: See TracBrowser for help on using the repository browser.