source: mod_gnutls/test/sample_fail.yml @ c33b0ea

asynciomainproxy-ticket
Last change on this file since c33b0ea was 1fe7cac, checked in by Fiona Klute <fiona.klute@…>, 3 years ago

TestReq10: Handle expected and unexpected connection failure

With this TestReq10 supports the same options as TestRequest?.

  • Property mode set to 100644
File size: 702 bytes
Line 
1- !connection
2  description: 'This TLS connection must fail with a certificate error.'
3  gnutls_params:
4    - x509cafile=rogueca/x509.pem
5  actions:
6    - !request
7      path: /
8      expect:
9        reset: yes
10- !connection
11  description: 'TLS connection succeeds, the request receives error 404.'
12  gnutls_params:
13    - x509cafile=authority/x509.pem
14  actions:
15    - !request
16      path: /missing-file.txt
17      expect:
18        status: 404
19- !connection
20  description: 'This TLS connection must fail with a certificate error.'
21  gnutls_params:
22    - x509cafile=rogueca/x509.pem
23  actions:
24    - !request10
25      path: /test.txt
26      headers:
27        Host: localhost
28      expect:
29        reset: yes
Note: See TracBrowser for help on using the repository browser.