Skip to content

Commit 2b698f9

Browse files
committed
Added test reports
Signed-off-by: slashexx <[email protected]>
1 parent 60b0839 commit 2b698f9

File tree

13 files changed

+562
-112
lines changed

13 files changed

+562
-112
lines changed

spring-boot-redis/keploy/test-set-0/mocks.yaml

Lines changed: 297 additions & 50 deletions
Large diffs are not rendered by default.

spring-boot-redis/keploy/test-set-0/tests/test-1.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,37 @@ spec:
1010
url: http://localhost:8080/products
1111
header:
1212
Accept: '*/*'
13-
Content-Length: "61"
13+
Content-Length: "55"
1414
Content-Type: application/json
1515
Host: localhost:8080
16-
User-Agent: curl/8.10.1
16+
User-Agent: curl/8.11.0
1717
body: |-
1818
{
19-
"id": "1",
20-
"name": "Product1",
21-
"price": 99.99
19+
"id": "1",
20+
"name": "Laptop",
21+
"price": 1200.00
2222
}
23-
timestamp: 2024-10-31T19:09:57.169025051+05:30
23+
timestamp: 2024-11-29T12:53:38.068366874+05:30
2424
resp:
2525
status_code: 200
2626
header:
2727
Content-Type: application/json
28-
Date: Thu, 31 Oct 2024 13:39:59 GMT
29-
body: '{"id":"1","name":"Product1","price":99.99}'
28+
Date: Fri, 29 Nov 2024 07:23:40 GMT
29+
body: '{"id":"1","name":"Laptop","price":1200.0}'
3030
status_message: OK
3131
proto_major: 0
3232
proto_minor: 0
33-
timestamp: 2024-10-31T19:10:02.136543888+05:30
33+
timestamp: 2024-11-29T12:53:43.066130612+05:30
3434
objects: []
3535
assertions:
3636
noise:
3737
header.Date: []
38-
created: 1730382002
38+
created: 1732865023
3939
curl: |-
4040
curl --request POST \
4141
--url http://localhost:8080/products \
42+
--header 'User-Agent: curl/8.11.0' \
4243
--header 'Accept: */*' \
4344
--header 'Content-Type: application/json' \
4445
--header 'Host: localhost:8080' \
45-
--header 'User-Agent: curl/8.10.1' \
46-
--data "{\n \"id\": \"1\",\n \"name\": \"Product1\",\n \"price\": 99.99\n}"
46+
--data "{\n \"id\": \"1\",\n \"name\": \"Laptop\",\n \"price\": 1200.00\n}"
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: api.keploy.io/v1beta1
2+
kind: Http
3+
name: test-10
4+
spec:
5+
metadata: {}
6+
req:
7+
method: GET
8+
proto_major: 1
9+
proto_minor: 1
10+
url: http://localhost:8080/products
11+
header:
12+
Accept: '*/*'
13+
Host: localhost:8080
14+
User-Agent: curl/8.11.0
15+
body: ""
16+
timestamp: 2024-11-29T12:55:20.019992312+05:30
17+
resp:
18+
status_code: 200
19+
header:
20+
Content-Type: application/json
21+
Date: Fri, 29 Nov 2024 07:25:20 GMT
22+
body: '[{"id":"2","name":"Mobile phone","price":500.0},{"id":"3","name":"Charger","price":50.0}]'
23+
status_message: OK
24+
proto_major: 0
25+
proto_minor: 0
26+
timestamp: 2024-11-29T12:55:22.051832396+05:30
27+
objects: []
28+
assertions:
29+
noise:
30+
header.Date: []
31+
created: 1732865122
32+
curl: |
33+
curl --request GET \
34+
--url http://localhost:8080/products \
35+
--header 'Host: localhost:8080' \
36+
--header 'User-Agent: curl/8.11.0' \
37+
--header 'Accept: */*' \

spring-boot-redis/keploy/test-set-0/tests/test-2.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@ spec:
1111
header:
1212
Accept: '*/*'
1313
Host: localhost:8080
14-
User-Agent: curl/8.10.1
14+
User-Agent: curl/8.11.0
1515
body: ""
16-
timestamp: 2024-10-31T19:10:10.077452417+05:30
16+
timestamp: 2024-11-29T12:53:48.01595248+05:30
1717
resp:
1818
status_code: 200
1919
header:
2020
Content-Type: application/json
21-
Date: Thu, 31 Oct 2024 13:40:10 GMT
22-
body: '{"id":"1","name":"Product1","price":99.99}'
21+
Date: Fri, 29 Nov 2024 07:23:48 GMT
22+
body: '{"id":"1","name":"Laptop","price":1200.0}'
2323
status_message: OK
2424
proto_major: 0
2525
proto_minor: 0
26-
timestamp: 2024-10-31T19:10:13.214744183+05:30
26+
timestamp: 2024-11-29T12:53:51.13729979+05:30
2727
objects: []
2828
assertions:
2929
noise:
3030
header.Date: []
31-
created: 1730382013
31+
created: 1732865031
3232
curl: |
3333
curl --request GET \
3434
--url http://localhost:8080/products/1 \
35-
--header 'User-Agent: curl/8.10.1' \
36-
--header 'Accept: */*' \
3735
--header 'Host: localhost:8080' \
36+
--header 'User-Agent: curl/8.11.0' \
37+
--header 'Accept: */*' \

spring-boot-redis/keploy/test-set-0/tests/test-3.yaml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,43 @@ name: test-3
44
spec:
55
metadata: {}
66
req:
7-
method: GET
7+
method: POST
88
proto_major: 1
99
proto_minor: 1
1010
url: http://localhost:8080/products
1111
header:
1212
Accept: '*/*'
13+
Content-Length: "60"
14+
Content-Type: application/json
1315
Host: localhost:8080
14-
User-Agent: curl/8.10.1
15-
body: ""
16-
timestamp: 2024-10-31T19:10:17.147714809+05:30
16+
User-Agent: curl/8.11.0
17+
body: |-
18+
{
19+
"id": "2",
20+
"name": "Mobile phone",
21+
"price": 500.00
22+
}
23+
timestamp: 2024-11-29T12:54:14.689053739+05:30
1724
resp:
1825
status_code: 200
1926
header:
2027
Content-Type: application/json
21-
Date: Thu, 31 Oct 2024 13:40:17 GMT
22-
body: '[{"id":"1","name":"Product1","price":99.99},{"id":"ee432ba0-ea0b-4165-9487-9a08efc694e4","name":"Product1","price":100.0}]'
28+
Date: Fri, 29 Nov 2024 07:24:14 GMT
29+
body: '{"id":"2","name":"Mobile phone","price":500.0}'
2330
status_message: OK
2431
proto_major: 0
2532
proto_minor: 0
26-
timestamp: 2024-10-31T19:10:19.257006361+05:30
33+
timestamp: 2024-11-29T12:54:17.793066517+05:30
2734
objects: []
2835
assertions:
2936
noise:
3037
header.Date: []
31-
created: 1730382019
32-
curl: |
33-
curl --request GET \
38+
created: 1732865057
39+
curl: |-
40+
curl --request POST \
3441
--url http://localhost:8080/products \
3542
--header 'Accept: */*' \
43+
--header 'Content-Type: application/json' \
3644
--header 'Host: localhost:8080' \
37-
--header 'User-Agent: curl/8.10.1' \
45+
--header 'User-Agent: curl/8.11.0' \
46+
--data "{\n \"id\": \"2\",\n \"name\": \"Mobile phone\",\n \"price\": 500.00\n}"

spring-boot-redis/keploy/test-set-0/tests/test-4.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,43 +4,43 @@ name: test-4
44
spec:
55
metadata: {}
66
req:
7-
method: PUT
7+
method: POST
88
proto_major: 1
99
proto_minor: 1
10-
url: http://localhost:8080/products/1
10+
url: http://localhost:8080/products
1111
header:
1212
Accept: '*/*'
13-
Content-Length: "69"
13+
Content-Length: "54"
1414
Content-Type: application/json
1515
Host: localhost:8080
16-
User-Agent: curl/8.10.1
16+
User-Agent: curl/8.11.0
1717
body: |-
1818
{
19-
"id": "1",
20-
"name": "Updated Product1",
21-
"price": 89.99
19+
"id": "3",
20+
"name": "Charger",
21+
"price": 50.00
2222
}
23-
timestamp: 2024-10-31T19:10:24.321102796+05:30
23+
timestamp: 2024-11-29T12:54:29.102518702+05:30
2424
resp:
2525
status_code: 200
2626
header:
2727
Content-Type: application/json
28-
Date: Thu, 31 Oct 2024 13:40:24 GMT
29-
body: '{"id":"1","name":"Updated Product1","price":89.99}'
28+
Date: Fri, 29 Nov 2024 07:24:29 GMT
29+
body: '{"id":"3","name":"Charger","price":50.0}'
3030
status_message: OK
3131
proto_major: 0
3232
proto_minor: 0
33-
timestamp: 2024-10-31T19:10:27.409136678+05:30
33+
timestamp: 2024-11-29T12:54:32.171361093+05:30
3434
objects: []
3535
assertions:
3636
noise:
3737
header.Date: []
38-
created: 1730382027
38+
created: 1732865072
3939
curl: |-
40-
curl --request PUT \
41-
--url http://localhost:8080/products/1 \
42-
--header 'Host: localhost:8080' \
43-
--header 'User-Agent: curl/8.10.1' \
40+
curl --request POST \
41+
--url http://localhost:8080/products \
42+
--header 'User-Agent: curl/8.11.0' \
4443
--header 'Accept: */*' \
4544
--header 'Content-Type: application/json' \
46-
--data "{\n \"id\": \"1\",\n \"name\": \"Updated Product1\",\n \"price\": 89.99\n}"
45+
--header 'Host: localhost:8080' \
46+
--data "{\n \"id\": \"3\",\n \"name\": \"Charger\",\n \"price\": 50.00\n}"

spring-boot-redis/keploy/test-set-0/tests/test-5.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,34 @@ name: test-5
44
spec:
55
metadata: {}
66
req:
7-
method: DELETE
7+
method: GET
88
proto_major: 1
99
proto_minor: 1
10-
url: http://localhost:8080/products/1
10+
url: http://localhost:8080/products/2
1111
header:
1212
Accept: '*/*'
1313
Host: localhost:8080
14-
User-Agent: curl/8.10.1
14+
User-Agent: curl/8.11.0
1515
body: ""
16-
timestamp: 2024-10-31T19:10:29.103684302+05:30
16+
timestamp: 2024-11-29T12:54:45.000120495+05:30
1717
resp:
1818
status_code: 200
1919
header:
20-
Content-Length: "0"
21-
Date: Thu, 31 Oct 2024 13:40:29 GMT
22-
body: ""
20+
Content-Type: application/json
21+
Date: Fri, 29 Nov 2024 07:24:45 GMT
22+
body: '{"id":"2","name":"Mobile phone","price":500.0}'
2323
status_message: OK
2424
proto_major: 0
2525
proto_minor: 0
26-
timestamp: 2024-10-31T19:10:32.13659207+05:30
26+
timestamp: 2024-11-29T12:54:48.054587523+05:30
2727
objects: []
2828
assertions:
2929
noise:
3030
header.Date: []
31-
created: 1730382032
31+
created: 1732865088
3232
curl: |
33-
curl --request DELETE \
34-
--url http://localhost:8080/products/1 \
35-
--header 'Accept: */*' \
33+
curl --request GET \
34+
--url http://localhost:8080/products/2 \
3635
--header 'Host: localhost:8080' \
37-
--header 'User-Agent: curl/8.10.1' \
36+
--header 'User-Agent: curl/8.11.0' \
37+
--header 'Accept: */*' \
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: api.keploy.io/v1beta1
2+
kind: Http
3+
name: test-6
4+
spec:
5+
metadata: {}
6+
req:
7+
method: GET
8+
proto_major: 1
9+
proto_minor: 1
10+
url: http://localhost:8080/products/3
11+
header:
12+
Accept: '*/*'
13+
Host: localhost:8080
14+
User-Agent: curl/8.11.0
15+
body: ""
16+
timestamp: 2024-11-29T12:54:47.176043456+05:30
17+
resp:
18+
status_code: 200
19+
header:
20+
Content-Type: application/json
21+
Date: Fri, 29 Nov 2024 07:24:47 GMT
22+
body: '{"id":"3","name":"Charger","price":50.0}'
23+
status_message: OK
24+
proto_major: 0
25+
proto_minor: 0
26+
timestamp: 2024-11-29T12:54:50.275635991+05:30
27+
objects: []
28+
assertions:
29+
noise:
30+
header.Date: []
31+
created: 1732865090
32+
curl: |
33+
curl --request GET \
34+
--url http://localhost:8080/products/3 \
35+
--header 'Host: localhost:8080' \
36+
--header 'User-Agent: curl/8.11.0' \
37+
--header 'Accept: */*' \
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: api.keploy.io/v1beta1
2+
kind: Http
3+
name: test-7
4+
spec:
5+
metadata: {}
6+
req:
7+
method: GET
8+
proto_major: 1
9+
proto_minor: 1
10+
url: http://localhost:8080/products
11+
header:
12+
Accept: '*/*'
13+
Host: localhost:8080
14+
User-Agent: curl/8.11.0
15+
body: ""
16+
timestamp: 2024-11-29T12:54:55.608808464+05:30
17+
resp:
18+
status_code: 200
19+
header:
20+
Content-Type: application/json
21+
Date: Fri, 29 Nov 2024 07:24:55 GMT
22+
body: '[{"id":"1","name":"Laptop","price":1200.0},{"id":"2","name":"Mobile phone","price":500.0},{"id":"3","name":"Charger","price":50.0}]'
23+
status_message: OK
24+
proto_major: 0
25+
proto_minor: 0
26+
timestamp: 2024-11-29T12:54:58.733172038+05:30
27+
objects: []
28+
assertions:
29+
noise:
30+
header.Date: []
31+
created: 1732865098
32+
curl: |
33+
curl --request GET \
34+
--url http://localhost:8080/products \
35+
--header 'Host: localhost:8080' \
36+
--header 'User-Agent: curl/8.11.0' \
37+
--header 'Accept: */*' \

0 commit comments

Comments
 (0)