asyncioproxy-ticket
Last change
on this file since eb84747 was
eb84747,
checked in by Fiona Klute <fiona.klute@…>, 2 years ago
|
TestConnection?: Add optional "description" attribute for logging
|
-
Property mode set to
100644
|
File size:
698 bytes
|
Line | |
---|
1 | - !connection |
---|
2 | description: 'Plain HTTP connection that must be redirected to HTTPS' |
---|
3 | transport: plain |
---|
4 | host: '${TEST_HOST}' |
---|
5 | port: '${TEST_HTTP_PORT}' |
---|
6 | actions: |
---|
7 | - !request |
---|
8 | path: /status?auto |
---|
9 | expect: |
---|
10 | status: 301 |
---|
11 | headers: |
---|
12 | Location: 'https://${TEST_HOST}:${TEST_PORT}/status?auto' |
---|
13 | body: |
---|
14 | contains: 'Moved Permanently' |
---|
15 | |
---|
16 | - !connection |
---|
17 | description: 'Check that the redirection target works' |
---|
18 | host: '${TEST_HOST}' |
---|
19 | port: '${TEST_PORT}' |
---|
20 | gnutls_params: |
---|
21 | - x509cafile=authority/x509.pem |
---|
22 | actions: |
---|
23 | - !request |
---|
24 | path: /status?auto |
---|
25 | expect: |
---|
26 | status: 200 |
---|
27 | body: |
---|
28 | contains: 'Current TLS session: (TLS' |
---|
Note: See
TracBrowser
for help on using the repository browser.