Skip to content

Commit 200c22c

Browse files
fix(dropwizard-dedup): match Spring fixture format for docker replay
The 200 dropwizard fixtures were captured with extra response headers (Vary, Content-Length) and the 127.0.0.1:8080 host that Python's http.client emits. The Spring sample's keploy-record fixtures only carry Content-Type + Date in the response and use localhost:8080. Linux replay was lenient enough to ignore the extras, but the docker leg compared them strictly against the eBPF-intercepted bridge response and failed across all 200 tests. Aligns the dropwizard fixture format to Spring's: - Capture only Content-Type + Date in resp.header. - Drop header.Vary noise entry (no longer needed, header isn't captured). - Use localhost:8080 in URLs and Host headers (matches Spring). 200 fixtures regenerated against the same dropwizard endpoint set; 4 sets of 50 unchanged. Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
1 parent cea0bec commit 200c22c

200 files changed

Lines changed: 1600 additions & 2122 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dropwizard-dedup/keploy/test-set-0/tests/test-1.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,32 @@ spec:
88
method: GET
99
proto_major: 1
1010
proto_minor: 1
11-
url: http://127.0.0.1:8080/healthz
11+
url: http://localhost:8080/healthz
1212
header:
13-
Host: '127.0.0.1:8080'
13+
Host: 'localhost:8080'
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T19:48:43Z
17+
timestamp: 2026-04-30T20:34:29Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 19:48:43 GMT'
21+
Date: 'Thu, 30 Apr 2026 20:34:29 GMT'
2222
Content-Type: application/json
23-
Vary: Accept-Encoding
24-
Content-Length: 16
2523
body: '{"healthy":true}'
2624
status_message: OK
2725
proto_major: 0
2826
proto_minor: 0
29-
timestamp: 2026-04-30T19:48:43Z
27+
timestamp: 2026-04-30T20:34:29Z
3028
objects: []
3129
assertions:
3230
noise:
3331
header.Date: []
34-
header.Vary: []
35-
created: 1777578523
32+
created: 1777581269
3633
app_port: 8080
3734
curl: |
3835
curl --request GET \
39-
--url http://127.0.0.1:8080/healthz \
40-
--header 'Host: 127.0.0.1:8080' \
36+
--url http://localhost:8080/healthz \
37+
--header 'Host: localhost:8080' \
4138
--header 'User-Agent: curl/8.19.0' \
4239
--header 'Accept: */*'

dropwizard-dedup/keploy/test-set-0/tests/test-10.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,32 @@ spec:
88
method: GET
99
proto_major: 1
1010
proto_minor: 1
11-
url: http://127.0.0.1:8080/catalog?category=books&limit=2
11+
url: http://localhost:8080/catalog?category=books&limit=2
1212
header:
13-
Host: '127.0.0.1:8080'
13+
Host: 'localhost:8080'
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T19:48:43Z
17+
timestamp: 2026-04-30T20:34:29Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 19:48:43 GMT'
21+
Date: 'Thu, 30 Apr 2026 20:34:29 GMT'
2222
Content-Type: application/json
23-
Vary: Accept-Encoding
24-
Content-Length: 257
2523
body: '{"category":"books","limit":2,"items":[{"sku":"BK-1","name":"Clean Architecture","category":"books","status":"available","price":"32.50"},{"sku":"BK-2","name":"Effective Java","category":"books","status":"available","price":"45.00"}],"source":"warehouse-a"}'
2624
status_message: OK
2725
proto_major: 0
2826
proto_minor: 0
29-
timestamp: 2026-04-30T19:48:43Z
27+
timestamp: 2026-04-30T20:34:29Z
3028
objects: []
3129
assertions:
3230
noise:
3331
header.Date: []
34-
header.Vary: []
35-
created: 1777578523
32+
created: 1777581269
3633
app_port: 8080
3734
curl: |
3835
curl --request GET \
39-
--url 'http://127.0.0.1:8080/catalog?category=books&limit=2' \
40-
--header 'Host: 127.0.0.1:8080' \
36+
--url 'http://localhost:8080/catalog?category=books&limit=2' \
37+
--header 'Host: localhost:8080' \
4138
--header 'User-Agent: curl/8.19.0' \
4239
--header 'Accept: */*'

dropwizard-dedup/keploy/test-set-0/tests/test-11.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,32 @@ spec:
88
method: GET
99
proto_major: 1
1010
proto_minor: 1
11-
url: http://127.0.0.1:8080/catalog?category=books&limit=3
11+
url: http://localhost:8080/catalog?category=books&limit=3
1212
header:
13-
Host: '127.0.0.1:8080'
13+
Host: 'localhost:8080'
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T19:48:43Z
17+
timestamp: 2026-04-30T20:34:29Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 19:48:43 GMT'
21+
Date: 'Thu, 30 Apr 2026 20:34:29 GMT'
2222
Content-Type: application/json
23-
Vary: Accept-Encoding
24-
Content-Length: 257
2523
body: '{"category":"books","limit":3,"items":[{"sku":"BK-1","name":"Clean Architecture","category":"books","status":"available","price":"32.50"},{"sku":"BK-2","name":"Effective Java","category":"books","status":"available","price":"45.00"}],"source":"warehouse-a"}'
2624
status_message: OK
2725
proto_major: 0
2826
proto_minor: 0
29-
timestamp: 2026-04-30T19:48:43Z
27+
timestamp: 2026-04-30T20:34:29Z
3028
objects: []
3129
assertions:
3230
noise:
3331
header.Date: []
34-
header.Vary: []
35-
created: 1777578523
32+
created: 1777581269
3633
app_port: 8080
3734
curl: |
3835
curl --request GET \
39-
--url 'http://127.0.0.1:8080/catalog?category=books&limit=3' \
40-
--header 'Host: 127.0.0.1:8080' \
36+
--url 'http://localhost:8080/catalog?category=books&limit=3' \
37+
--header 'Host: localhost:8080' \
4138
--header 'User-Agent: curl/8.19.0' \
4239
--header 'Accept: */*'

dropwizard-dedup/keploy/test-set-0/tests/test-12.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,32 @@ spec:
88
method: GET
99
proto_major: 1
1010
proto_minor: 1
11-
url: http://127.0.0.1:8080/catalog?category=books&limit=5
11+
url: http://localhost:8080/catalog?category=books&limit=5
1212
header:
13-
Host: '127.0.0.1:8080'
13+
Host: 'localhost:8080'
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T19:48:43Z
17+
timestamp: 2026-04-30T20:34:29Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 19:48:43 GMT'
21+
Date: 'Thu, 30 Apr 2026 20:34:29 GMT'
2222
Content-Type: application/json
23-
Vary: Accept-Encoding
24-
Content-Length: 257
2523
body: '{"category":"books","limit":5,"items":[{"sku":"BK-1","name":"Clean Architecture","category":"books","status":"available","price":"32.50"},{"sku":"BK-2","name":"Effective Java","category":"books","status":"available","price":"45.00"}],"source":"warehouse-a"}'
2624
status_message: OK
2725
proto_major: 0
2826
proto_minor: 0
29-
timestamp: 2026-04-30T19:48:43Z
27+
timestamp: 2026-04-30T20:34:29Z
3028
objects: []
3129
assertions:
3230
noise:
3331
header.Date: []
34-
header.Vary: []
35-
created: 1777578523
32+
created: 1777581269
3633
app_port: 8080
3734
curl: |
3835
curl --request GET \
39-
--url 'http://127.0.0.1:8080/catalog?category=books&limit=5' \
40-
--header 'Host: 127.0.0.1:8080' \
36+
--url 'http://localhost:8080/catalog?category=books&limit=5' \
37+
--header 'Host: localhost:8080' \
4138
--header 'User-Agent: curl/8.19.0' \
4239
--header 'Accept: */*'

dropwizard-dedup/keploy/test-set-0/tests/test-13.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,32 @@ spec:
88
method: GET
99
proto_major: 1
1010
proto_minor: 1
11-
url: http://127.0.0.1:8080/catalog?category=electronics&limit=1
11+
url: http://localhost:8080/catalog?category=electronics&limit=1
1212
header:
13-
Host: '127.0.0.1:8080'
13+
Host: 'localhost:8080'
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T19:48:43Z
17+
timestamp: 2026-04-30T20:34:29Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 19:48:43 GMT'
21+
Date: 'Thu, 30 Apr 2026 20:34:29 GMT'
2222
Content-Type: application/json
23-
Vary: Accept-Encoding
24-
Content-Length: 184
2523
body: '{"category":"electronics","limit":1,"items":[{"sku":"EL-1","name":"Noise Cancelling Headphones","category":"electronics","status":"backorder","price":"199.99"}],"source":"warehouse-b"}'
2624
status_message: OK
2725
proto_major: 0
2826
proto_minor: 0
29-
timestamp: 2026-04-30T19:48:43Z
27+
timestamp: 2026-04-30T20:34:29Z
3028
objects: []
3129
assertions:
3230
noise:
3331
header.Date: []
34-
header.Vary: []
35-
created: 1777578523
32+
created: 1777581269
3633
app_port: 8080
3734
curl: |
3835
curl --request GET \
39-
--url 'http://127.0.0.1:8080/catalog?category=electronics&limit=1' \
40-
--header 'Host: 127.0.0.1:8080' \
36+
--url 'http://localhost:8080/catalog?category=electronics&limit=1' \
37+
--header 'Host: localhost:8080' \
4138
--header 'User-Agent: curl/8.19.0' \
4239
--header 'Accept: */*'

dropwizard-dedup/keploy/test-set-0/tests/test-14.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,32 @@ spec:
88
method: GET
99
proto_major: 1
1010
proto_minor: 1
11-
url: http://127.0.0.1:8080/catalog?category=electronics&limit=2
11+
url: http://localhost:8080/catalog?category=electronics&limit=2
1212
header:
13-
Host: '127.0.0.1:8080'
13+
Host: 'localhost:8080'
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T19:48:43Z
17+
timestamp: 2026-04-30T20:34:29Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 19:48:43 GMT'
21+
Date: 'Thu, 30 Apr 2026 20:34:29 GMT'
2222
Content-Type: application/json
23-
Vary: Accept-Encoding
24-
Content-Length: 281
2523
body: '{"category":"electronics","limit":2,"items":[{"sku":"EL-1","name":"Noise Cancelling Headphones","category":"electronics","status":"backorder","price":"199.99"},{"sku":"EL-2","name":"USB-C Dock","category":"electronics","status":"available","price":"89.00"}],"source":"warehouse-b"}'
2624
status_message: OK
2725
proto_major: 0
2826
proto_minor: 0
29-
timestamp: 2026-04-30T19:48:43Z
27+
timestamp: 2026-04-30T20:34:29Z
3028
objects: []
3129
assertions:
3230
noise:
3331
header.Date: []
34-
header.Vary: []
35-
created: 1777578523
32+
created: 1777581269
3633
app_port: 8080
3734
curl: |
3835
curl --request GET \
39-
--url 'http://127.0.0.1:8080/catalog?category=electronics&limit=2' \
40-
--header 'Host: 127.0.0.1:8080' \
36+
--url 'http://localhost:8080/catalog?category=electronics&limit=2' \
37+
--header 'Host: localhost:8080' \
4138
--header 'User-Agent: curl/8.19.0' \
4239
--header 'Accept: */*'

dropwizard-dedup/keploy/test-set-0/tests/test-15.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,32 @@ spec:
88
method: GET
99
proto_major: 1
1010
proto_minor: 1
11-
url: http://127.0.0.1:8080/catalog?category=electronics&limit=3
11+
url: http://localhost:8080/catalog?category=electronics&limit=3
1212
header:
13-
Host: '127.0.0.1:8080'
13+
Host: 'localhost:8080'
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T19:48:43Z
17+
timestamp: 2026-04-30T20:34:29Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 19:48:43 GMT'
21+
Date: 'Thu, 30 Apr 2026 20:34:29 GMT'
2222
Content-Type: application/json
23-
Vary: Accept-Encoding
24-
Content-Length: 281
2523
body: '{"category":"electronics","limit":3,"items":[{"sku":"EL-1","name":"Noise Cancelling Headphones","category":"electronics","status":"backorder","price":"199.99"},{"sku":"EL-2","name":"USB-C Dock","category":"electronics","status":"available","price":"89.00"}],"source":"warehouse-b"}'
2624
status_message: OK
2725
proto_major: 0
2826
proto_minor: 0
29-
timestamp: 2026-04-30T19:48:43Z
27+
timestamp: 2026-04-30T20:34:29Z
3028
objects: []
3129
assertions:
3230
noise:
3331
header.Date: []
34-
header.Vary: []
35-
created: 1777578523
32+
created: 1777581269
3633
app_port: 8080
3734
curl: |
3835
curl --request GET \
39-
--url 'http://127.0.0.1:8080/catalog?category=electronics&limit=3' \
40-
--header 'Host: 127.0.0.1:8080' \
36+
--url 'http://localhost:8080/catalog?category=electronics&limit=3' \
37+
--header 'Host: localhost:8080' \
4138
--header 'User-Agent: curl/8.19.0' \
4239
--header 'Accept: */*'

dropwizard-dedup/keploy/test-set-0/tests/test-16.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,32 @@ spec:
88
method: GET
99
proto_major: 1
1010
proto_minor: 1
11-
url: http://127.0.0.1:8080/catalog?category=electronics&limit=5
11+
url: http://localhost:8080/catalog?category=electronics&limit=5
1212
header:
13-
Host: '127.0.0.1:8080'
13+
Host: 'localhost:8080'
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T19:48:43Z
17+
timestamp: 2026-04-30T20:34:29Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 19:48:43 GMT'
21+
Date: 'Thu, 30 Apr 2026 20:34:29 GMT'
2222
Content-Type: application/json
23-
Vary: Accept-Encoding
24-
Content-Length: 281
2523
body: '{"category":"electronics","limit":5,"items":[{"sku":"EL-1","name":"Noise Cancelling Headphones","category":"electronics","status":"backorder","price":"199.99"},{"sku":"EL-2","name":"USB-C Dock","category":"electronics","status":"available","price":"89.00"}],"source":"warehouse-b"}'
2624
status_message: OK
2725
proto_major: 0
2826
proto_minor: 0
29-
timestamp: 2026-04-30T19:48:43Z
27+
timestamp: 2026-04-30T20:34:29Z
3028
objects: []
3129
assertions:
3230
noise:
3331
header.Date: []
34-
header.Vary: []
35-
created: 1777578523
32+
created: 1777581269
3633
app_port: 8080
3734
curl: |
3835
curl --request GET \
39-
--url 'http://127.0.0.1:8080/catalog?category=electronics&limit=5' \
40-
--header 'Host: 127.0.0.1:8080' \
36+
--url 'http://localhost:8080/catalog?category=electronics&limit=5' \
37+
--header 'Host: localhost:8080' \
4138
--header 'User-Agent: curl/8.19.0' \
4239
--header 'Accept: */*'

dropwizard-dedup/keploy/test-set-0/tests/test-17.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,32 @@ spec:
88
method: GET
99
proto_major: 1
1010
proto_minor: 1
11-
url: http://127.0.0.1:8080/catalog?category=home&limit=1
11+
url: http://localhost:8080/catalog?category=home&limit=1
1212
header:
13-
Host: '127.0.0.1:8080'
13+
Host: 'localhost:8080'
1414
User-Agent: curl/8.19.0
1515
Accept: '*/*'
1616
body: ''
17-
timestamp: 2026-04-30T19:48:43Z
17+
timestamp: 2026-04-30T20:34:29Z
1818
resp:
1919
status_code: 200
2020
header:
21-
Date: 'Thu, 30 Apr 2026 19:48:43 GMT'
21+
Date: 'Thu, 30 Apr 2026 20:34:29 GMT'
2222
Content-Type: application/json
23-
Vary: Accept-Encoding
24-
Content-Length: 161
2523
body: '{"category":"home","limit":1,"items":[{"sku":"BK-1","name":"Clean Architecture","category":"books","status":"available","price":"32.50"}],"source":"warehouse-a"}'
2624
status_message: OK
2725
proto_major: 0
2826
proto_minor: 0
29-
timestamp: 2026-04-30T19:48:43Z
27+
timestamp: 2026-04-30T20:34:29Z
3028
objects: []
3129
assertions:
3230
noise:
3331
header.Date: []
34-
header.Vary: []
35-
created: 1777578523
32+
created: 1777581269
3633
app_port: 8080
3734
curl: |
3835
curl --request GET \
39-
--url 'http://127.0.0.1:8080/catalog?category=home&limit=1' \
40-
--header 'Host: 127.0.0.1:8080' \
36+
--url 'http://localhost:8080/catalog?category=home&limit=1' \
37+
--header 'Host: localhost:8080' \
4138
--header 'User-Agent: curl/8.19.0' \
4239
--header 'Accept: */*'

0 commit comments

Comments
 (0)