Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions tests/gold_tests/cache/replay/bg_fill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,9 @@ meta:
version: '1.0'
sessions:
- protocol:
- name: http
version: 2
- name: tls
sni: test_sni
- name: tcp
- name: ip
version: 4
stack: http2
tls:
sni: test_sni
transactions:
- client-request:
frames:
Expand Down Expand Up @@ -65,13 +61,9 @@ sessions:
size: 11

- protocol:
- name: http
version: 2
- name: tls
sni: test_sni
- name: tcp
- name: ip
version: 4
stack: http2
tls:
sni: test_sni
transactions:
- client-request:
delay: 3s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,7 @@ sessions:
size: 32

- protocol:
- name: http
version: 1
- name: tls
- name: tcp
- name: ip

stack: https
transactions:
- client-request:
method: "GET"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ sessions:
# HTTP/2 - dechunk

- protocol:
- name: http
version: 2
stack: http2
transactions:
- client-request:
headers:
Expand Down
56 changes: 18 additions & 38 deletions tests/gold_tests/client_connection/http2_slow_origins.replay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,9 @@ meta:
sessions:

- protocol:
- name: http
version: 2
- name: tls
sni: test_sni
- name: tcp
- name: ip

stack: http2
tls:
sni: test_sni
transactions:

- client-request:
Expand Down Expand Up @@ -75,13 +71,9 @@ sessions:
- [ X-Response, {value: 'first-response', as: equal } ]

- protocol:
- name: http
version: 2
- name: tls
sni: test_sni
- name: tcp
- name: ip

stack: http2
tls:
sni: test_sni
transactions:

- client-request:
Expand Down Expand Up @@ -117,13 +109,9 @@ sessions:
- [ X-Response, {value: 'second-response', as: equal } ]

- protocol:
- name: http
version: 2
- name: tls
sni: test_sni
- name: tcp
- name: ip

stack: http2
tls:
sni: test_sni
transactions:

- client-request:
Expand Down Expand Up @@ -160,16 +148,12 @@ sessions:


- protocol:
- name: http
version: 2
- name: tls
sni: test_sni
- name: tcp
- name: ip

# Make sure this is the last attempted transaction by giving the above
# three transactions, all executed in parallel, a one second head start.
# This connection should be aborted.
# Make sure this is the last attempted transaction by giving the above
# three transactions, all executed in parallel, a one second head start.
# This connection should be aborted.
stack: http2
tls:
sni: test_sni
delay: 1s

transactions:
Expand Down Expand Up @@ -198,13 +182,9 @@ sessions:
# Note that this will delay after the previous 1s delay, so this is really
# a delay of 3s.
- protocol:
- name: http
version: 2
- name: tls
sni: test_sni
- name: tcp
- name: ip

stack: http2
tls:
sni: test_sni
delay: 2s

transactions:
Expand Down
46 changes: 18 additions & 28 deletions tests/gold_tests/client_connection/https_slow_origins.replay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ meta:
sessions:

- protocol:
- name: tls
sni: test_sni
- name: tcp
- name: ip

stack: https
tls:
sni: test_sni
transactions:

- client-request:
Expand Down Expand Up @@ -75,11 +73,9 @@ sessions:
- [ X-Response, {value: 'first-response', as: equal } ]

- protocol:
- name: tls
sni: test_sni
- name: tcp
- name: ip

stack: https
tls:
sni: test_sni
transactions:

- client-request:
Expand Down Expand Up @@ -117,11 +113,9 @@ sessions:
- [ X-Response, {value: 'second-response', as: equal } ]

- protocol:
- name: tls
sni: test_sni
- name: tcp
- name: ip

stack: https
tls:
sni: test_sni
transactions:

- client-request:
Expand Down Expand Up @@ -160,14 +154,12 @@ sessions:


- protocol:
- name: tls
sni: test_sni
- name: tcp
- name: ip

# Make sure this is the last attempted transaction by giving the above
# three transactions, all executed in parallel, a one second head start.
# This connection should be aborted.
# Make sure this is the last attempted transaction by giving the above
# three transactions, all executed in parallel, a one second head start.
# This connection should be aborted.
stack: https
tls:
sni: test_sni
delay: 1s

transactions:
Expand Down Expand Up @@ -198,11 +190,9 @@ sessions:
# Note that this will delay after the previous 1s delay, so this is really
# a delay of 3s.
- protocol:
- name: tls
sni: test_sni
- name: tcp
- name: ip

stack: https
tls:
sni: test_sni
delay: 2s

transactions:
Expand Down
8 changes: 2 additions & 6 deletions tests/gold_tests/connect/replays/connect_h2.replay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,9 @@ meta:

sessions:
- protocol:
- name: http
version: 2
- name: tls
stack: http2
tls:
sni: www.example.com
- name: tcp
- name: ip

transactions:
- client-request:
frames:
Expand Down
9 changes: 2 additions & 7 deletions tests/gold_tests/h2/expect_100_continue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,10 @@ meta:

sessions:
- protocol:
- name: http
version: '2'
- name: tls
stack: http2
tls:
version: TLSv1.3
sni: data.brian.example.com
- name: tcp
- name: ip
version: '4'

transactions:
- client-request:
headers:
Expand Down
10 changes: 3 additions & 7 deletions tests/gold_tests/h2/h2get_with_body.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,9 @@ meta:
version: '1.0'
sessions:
- protocol:
- name: http
version: 2
- name: tls
sni: test_sni
- name: tcp
- name: ip
version: 4
stack: http2
tls:
sni: test_sni
transactions:
- client-request:
frames:
Expand Down
10 changes: 3 additions & 7 deletions tests/gold_tests/h2/http2_close_connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,9 @@ meta:
version: '1.0'
sessions:
- protocol:
- name: http
version: 2
- name: tls
sni: test_sni
- name: tcp
- name: ip
version: 4
stack: http2
tls:
sni: test_sni
transactions:
- client-request:
frames:
Expand Down
10 changes: 3 additions & 7 deletions tests/gold_tests/h2/http2_flow_control.replay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,9 @@ meta:
sessions:

- protocol:
- name: http
version: 2
- name: tls
sni: www.example.com
- name: tcp
- name: ip

stack: http2
tls:
sni: www.example.com
transactions:

- client-request:
Expand Down
10 changes: 3 additions & 7 deletions tests/gold_tests/h2/http2_flow_control_chunked.replay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,9 @@ meta:
sessions:

- protocol:
- name: http
version: 2
- name: tls
sni: www.example.com
- name: tcp
- name: ip

stack: http2
tls:
sni: www.example.com
transactions:

- client-request:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,9 @@ meta:

sessions:
- protocol:
- name: http
version: 2
- name: tls
sni: test_sni
- name: tcp
- name: ip
stack: http2
tls:
sni: test_sni
transactions:
# Stream 1
- client-request:
Expand Down
Loading