source: mod_gnutls/test/sample_test.yml @ a47c201

asyncioproxy-ticket
Last change on this file since a47c201 was bbc9b03, checked in by Fiona Klute <fiona.klute@…>, 21 months ago

Detailed documentation on test.yml and mgstest.tests

  • Property mode set to 100644
File size: 532 bytes
RevLine 
[d5f5356]1!connection
2gnutls_params:
3  - x509cafile=authority/x509.pem
4actions:
5  - !request
6    path: /
[a4e136a]7    headers:
8      Host: localhost
[d5f5356]9    expect:
10      status: 404
11  - !request
12    method: GET
13    path: /test.txt
14    expect:
15      status: 200
[096859f]16      body:
17        exactly: |
18          test
19  - !request
[09d923b]20    path: /status?auto
[096859f]21    expect:
22      status: 200
[7054040]23      headers:
24        Content-Type: 'text/plain; charset=ISO-8859-1'
[096859f]25      body:
26        contains:
[bbc9b03]27          - 'Using GnuTLS version: '
[09d923b]28          - 'Current TLS session: (TLS1.3)'
Note: See TracBrowser for help on using the repository browser.