Skip to content
Open
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
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,7 @@ typings/
# DS_Store
.DS_Store
report.json
reports/test-report.xml
reports/test-report.xml

# Docker slim
slim.report.json
4,396 changes: 4,396 additions & 0 deletions keploy/test-set-0/mocks.yaml

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions keploy/test-set-0/tests/test-1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
version: api.keploy.io/v1beta1
kind: Http
name: test-1
spec:
metadata: {}
req:
method: POST
proto_major: 1
proto_minor: 1
url: http://localhost:9000/graphql
header:
Accept: '*/*'
Content-Length: "326"
Content-Type: application/json
Host: localhost:9000
User-Agent: curl/8.1.2
body: '{"query":"query Product {\n product {\n id\n name\n category\n amount\n createdAt\n updatedAt\n deletedAt\n suppliers {\n edges {\n node {\n id\n name\n addressId\n createdAt\n updatedAt\n deletedAt\n }\n }\n }\n }\n}"}'
body_type: ""
timestamp: 2024-01-19T10:59:27.983615471Z
host: ""
resp:
status_code: 200
header:
Access-Control-Allow-Origin: '*'
Connection: keep-alive
Content-Length: "329"
Content-Type: application/json; charset=utf-8
Date: Fri, 19 Jan 2024 10:59:28 GMT
Etag: W/"149-O76D8d1e4xgvRF3Y7c5a3Zio4s0"
Keep-Alive: timeout=5
Vary: Origin
X-Powered-By: Express
body: |
{"data":{"product":{"id":"1","name":"test1","category":"category1","amount":10,"createdAt":"2024-01-19T10:40:37.020Z","updatedAt":null,"deletedAt":null,"suppliers":{"edges":[{"node":{"id":"736","name":"Runolfsson, Thiel and Abshire","addressId":120,"createdAt":"2024-01-19T10:40:42.544Z","updatedAt":null,"deletedAt":null}}]}}}}
body_type: ""
status_message: ""
proto_major: 0
proto_minor: 0
timestamp: 2024-01-19T10:59:28.35481138Z
objects: []
assertions:
noise:
body.data.product.createdAt: []
body.data.product.suppliers.edges.node.addressId: []
body.data.product.suppliers.edges.node.createdAt: []
header.Date: []
created: 1705661970
curl: |-
curl --request POST \
--url http://localhost:9000/graphql \
--header 'Content-Type: application/json' \
--header 'Host: localhost:9000' \
--header 'User-Agent: curl/8.1.2' \
--header 'Accept: */*' \
--data '{"query":"query Product {\n product {\n id\n name\n category\n amount\n createdAt\n updatedAt\n deletedAt\n suppliers {\n edges {\n node {\n id\n name\n addressId\n createdAt\n updatedAt\n deletedAt\n }\n }\n }\n }\n}"}'
53 changes: 53 additions & 0 deletions keploy/test-set-0/tests/test-2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
version: api.keploy.io/v1beta1
kind: Http
name: test-2
spec:
metadata: {}
req:
method: POST
proto_major: 1
proto_minor: 1
url: http://localhost:9000/graphql
header:
Accept: '*/*'
Content-Length: "137"
Content-Type: application/json
Host: localhost:9000
User-Agent: curl/8.1.2
body: '{"query":"query Product {\n product {\n id\n name\n category\n amount\n createdAt\n updatedAt\n deletedAt\n }\n}"}'
body_type: ""
timestamp: 2024-01-19T10:59:32.968357444Z
host: ""
resp:
status_code: 200
header:
Access-Control-Allow-Origin: '*'
Connection: keep-alive
Content-Length: "155"
Content-Type: application/json; charset=utf-8
Date: Fri, 19 Jan 2024 10:59:32 GMT
Etag: W/"9b-WiGumbnEIRLYg6pAhNW5uhshFko"
Keep-Alive: timeout=5
Vary: Origin
X-Powered-By: Express
body: |
{"data":{"product":{"id":"1","name":"test1","category":"category1","amount":10,"createdAt":"2024-01-19T10:40:37.020Z","updatedAt":null,"deletedAt":null}}}
body_type: ""
status_message: ""
proto_major: 0
proto_minor: 0
timestamp: 2024-01-19T10:59:32.980291642Z
objects: []
assertions:
noise:
body.data.product.createdAt: []
header.Date: []
created: 1705661974
curl: |-
curl --request POST \
--url http://localhost:9000/graphql \
--header 'Host: localhost:9000' \
--header 'User-Agent: curl/8.1.2' \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--data '{"query":"query Product {\n product {\n id\n name\n category\n amount\n createdAt\n updatedAt\n deletedAt\n }\n}"}'
54 changes: 54 additions & 0 deletions keploy/test-set-0/tests/test-3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
version: api.keploy.io/v1beta1
kind: Http
name: test-3
spec:
metadata: {}
req:
method: POST
proto_major: 1
proto_minor: 1
url: http://localhost:9000/graphql
header:
Accept: '*/*'
Content-Length: "367"
Content-Type: application/json
Host: localhost:9000
User-Agent: curl/8.1.2
body: '{"query":"query Product {\n address {\n id\n address1\n address2\n city\n country\n latitude\n longitude\n createdAt\n updatedAt\n deletedAt\n stores {\n edges {\n node {\n id\n name\n addressId\n createdAt\n updatedAt\n deletedAt\n }\n }\n }\n }\n}"}'
body_type: ""
timestamp: 2024-01-19T10:59:41.691766915Z
host: ""
resp:
status_code: 200
header:
Access-Control-Allow-Origin: '*'
Connection: keep-alive
Content-Length: "392"
Content-Type: application/json; charset=utf-8
Date: Fri, 19 Jan 2024 10:59:41 GMT
Etag: W/"188-cqMf81ipHvE8vdSReD0zAyomtl8"
Keep-Alive: timeout=5
Vary: Origin
X-Powered-By: Express
body: |
{"data":{"address":{"id":"1","address1":"Pacocha Corner","address2":"5165 Molly Isle","city":"East Annefort","country":"Monaco","latitude":-52.7322,"longitude":-10.0744,"createdAt":"2024-01-19T10:40:38.823Z","updatedAt":null,"deletedAt":null,"stores":{"edges":[{"node":{"id":"1","name":"testStore","addressId":1,"createdAt":"2024-01-19T10:40:40.643Z","updatedAt":null,"deletedAt":null}}]}}}}
body_type: ""
status_message: ""
proto_major: 0
proto_minor: 0
timestamp: 2024-01-19T10:59:41.838956354Z
objects: []
assertions:
noise:
body.data.address.createdAt: []
body.data.address.stores.edges.node.createdAt: []
header.Date: []
created: 1705661983
curl: |-
curl --request POST \
--url http://localhost:9000/graphql \
--header 'Host: localhost:9000' \
--header 'User-Agent: curl/8.1.2' \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--data '{"query":"query Product {\n address {\n id\n address1\n address2\n city\n country\n latitude\n longitude\n createdAt\n updatedAt\n deletedAt\n stores {\n edges {\n node {\n id\n name\n addressId\n createdAt\n updatedAt\n deletedAt\n }\n }\n }\n }\n}"}'
54 changes: 54 additions & 0 deletions keploy/test-set-0/tests/test-4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
version: api.keploy.io/v1beta1
kind: Http
name: test-4
spec:
metadata: {}
req:
method: POST
proto_major: 1
proto_minor: 1
url: http://localhost:9000/graphql
header:
Accept: '*/*'
Content-Length: "370"
Content-Type: application/json
Host: localhost:9000
User-Agent: curl/8.1.2
body: '{"query":"query Product {\n address {\n id\n address1\n address2\n city\n country\n latitude\n longitude\n createdAt\n updatedAt\n deletedAt\n suppliers {\n edges {\n node {\n id\n name\n addressId\n createdAt\n updatedAt\n deletedAt\n }\n }\n }\n }\n}"}'
body_type: ""
timestamp: 2024-01-19T10:59:46.907292991Z
host: ""
resp:
status_code: 200
header:
Access-Control-Allow-Origin: '*'
Connection: keep-alive
Content-Length: "545"
Content-Type: application/json; charset=utf-8
Date: Fri, 19 Jan 2024 10:59:46 GMT
Etag: W/"221-rYUJmJgOBJs+57nBFgG4feDIiM4"
Keep-Alive: timeout=5
Vary: Origin
X-Powered-By: Express
body: |
{"data":{"address":{"id":"1","address1":"Pacocha Corner","address2":"5165 Molly Isle","city":"East Annefort","country":"Monaco","latitude":-52.7322,"longitude":-10.0744,"createdAt":"2024-01-19T10:40:38.823Z","updatedAt":null,"deletedAt":null,"suppliers":{"edges":[{"node":{"id":"1","name":"testSupplier","addressId":1,"createdAt":"2024-01-19T10:40:42.544Z","updatedAt":null,"deletedAt":null}},{"node":{"id":"926","name":"Watsica, Dooley and Leuschke","addressId":1,"createdAt":"2024-01-19T10:40:42.544Z","updatedAt":null,"deletedAt":null}}]}}}}
body_type: ""
status_message: ""
proto_major: 0
proto_minor: 0
timestamp: 2024-01-19T10:59:46.966614789Z
objects: []
assertions:
noise:
body.data.address.createdAt: []
body.data.address.suppliers.edges.node.createdAt: []
header.Date: []
created: 1705661988
curl: |-
curl --request POST \
--url http://localhost:9000/graphql \
--header 'Host: localhost:9000' \
--header 'User-Agent: curl/8.1.2' \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--data '{"query":"query Product {\n address {\n id\n address1\n address2\n city\n country\n latitude\n longitude\n createdAt\n updatedAt\n deletedAt\n suppliers {\n edges {\n node {\n id\n name\n addressId\n createdAt\n updatedAt\n deletedAt\n }\n }\n }\n }\n}"}'
54 changes: 54 additions & 0 deletions keploy/test-set-0/tests/test-5.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
version: api.keploy.io/v1beta1
kind: Http
name: test-5
spec:
metadata: {}
req:
method: POST
proto_major: 1
proto_minor: 1
url: http://localhost:9000/graphql
header:
Accept: '*/*'
Content-Length: "392"
Content-Type: application/json
Host: localhost:9000
User-Agent: curl/8.1.2
body: '{"query":"query Product {\n store {\n id\n name\n addressId\n createdAt\n updatedAt\n deletedAt\n addresses {\n edges {\n node {\n id\n address1\n address2\n city\n country\n latitude\n longitude\n createdAt\n updatedAt\n deletedAt\n }\n }\n }\n }\n}"}'
body_type: ""
timestamp: 2024-01-19T10:59:50.979795597Z
host: ""
resp:
status_code: 200
header:
Access-Control-Allow-Origin: '*'
Connection: keep-alive
Content-Length: "393"
Content-Type: application/json; charset=utf-8
Date: Fri, 19 Jan 2024 10:59:51 GMT
Etag: W/"189-tG1V53nDJCm47DDG+t5NOzqNI8U"
Keep-Alive: timeout=5
Vary: Origin
X-Powered-By: Express
body: |
{"data":{"store":{"id":"1","name":"testStore","addressId":1,"createdAt":"2024-01-19T10:40:40.643Z","updatedAt":null,"deletedAt":null,"addresses":{"edges":[{"node":{"id":"1","address1":"Pacocha Corner","address2":"5165 Molly Isle","city":"East Annefort","country":"Monaco","latitude":-52.7322,"longitude":-10.0744,"createdAt":"2024-01-19T10:40:38.823Z","updatedAt":null,"deletedAt":null}}]}}}}
body_type: ""
status_message: ""
proto_major: 0
proto_minor: 0
timestamp: 2024-01-19T10:59:51.024769528Z
objects: []
assertions:
noise:
body.data.store.addresses.edges.node.createdAt: []
body.data.store.createdAt: []
header.Date: []
created: 1705661993
curl: |-
curl --request POST \
--url http://localhost:9000/graphql \
--header 'Host: localhost:9000' \
--header 'User-Agent: curl/8.1.2' \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--data '{"query":"query Product {\n store {\n id\n name\n addressId\n createdAt\n updatedAt\n deletedAt\n addresses {\n edges {\n node {\n id\n address1\n address2\n city\n country\n latitude\n longitude\n createdAt\n updatedAt\n deletedAt\n }\n }\n }\n }\n}"}'
55 changes: 55 additions & 0 deletions keploy/test-set-0/tests/test-6.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
version: api.keploy.io/v1beta1
kind: Http
name: test-6
spec:
metadata: {}
req:
method: POST
proto_major: 1
proto_minor: 1
url: http://localhost:9000/graphql
header:
Accept: '*/*'
Content-Length: "329"
Content-Type: application/json
Host: localhost:9000
User-Agent: curl/8.1.2
body: '{"query":"query Product {\n store {\n id\n name\n addressId\n createdAt\n updatedAt\n deletedAt\n products {\n edges {\n node {\n id\n name\n category\n amount\n createdAt\n updatedAt\n deletedAt\n }\n }\n }\n }\n}"}'
body_type: ""
timestamp: 2024-01-19T10:59:54.773115887Z
host: ""
resp:
status_code: 200
header:
Access-Control-Allow-Origin: '*'
Connection: keep-alive
Content-Length: "324"
Content-Type: application/json; charset=utf-8
Date: Fri, 19 Jan 2024 10:59:54 GMT
Etag: W/"144-X3rY3KJCjMMti9pMUYIyZY+1hrg"
Keep-Alive: timeout=5
Vary: Origin
X-Powered-By: Express
body: |
{"data":{"store":{"id":"1","name":"testStore","addressId":1,"createdAt":"2024-01-19T10:40:40.643Z","updatedAt":null,"deletedAt":null,"products":{"edges":[{"node":{"id":"139","name":"Ergonomic Cotton Table","category":"Computers","amount":86300,"createdAt":"2024-01-19T10:40:37.020Z","updatedAt":null,"deletedAt":null}}]}}}}
body_type: ""
status_message: ""
proto_major: 0
proto_minor: 0
timestamp: 2024-01-19T10:59:54.820184782Z
objects: []
assertions:
noise:
body.data.store.createdAt: []
body.data.store.products.edges.node.amount: []
body.data.store.products.edges.node.createdAt: []
header.Date: []
created: 1705661996
curl: |-
curl --request POST \
--url http://localhost:9000/graphql \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--header 'Host: localhost:9000' \
--header 'User-Agent: curl/8.1.2' \
--data '{"query":"query Product {\n store {\n id\n name\n addressId\n createdAt\n updatedAt\n deletedAt\n products {\n edges {\n node {\n id\n name\n category\n amount\n createdAt\n updatedAt\n deletedAt\n }\n }\n }\n }\n}"}'
53 changes: 53 additions & 0 deletions keploy/test-set-0/tests/test-7.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
version: api.keploy.io/v1beta1
kind: Http
name: test-7
spec:
metadata: {}
req:
method: POST
proto_major: 1
proto_minor: 1
url: http://localhost:9000/graphql
header:
Accept: '*/*'
Content-Length: "332"
Content-Type: application/json
Host: localhost:9000
User-Agent: curl/8.1.2
body: '{"query":"query Product {\n supplier {\n id\n name\n addressId\n createdAt\n updatedAt\n deletedAt\n products {\n edges {\n node {\n id\n name\n category\n amount\n createdAt\n updatedAt\n deletedAt\n }\n }\n }\n }\n}"}'
body_type: ""
timestamp: 2024-01-19T10:59:58.590625416Z
host: ""
resp:
status_code: 200
header:
Access-Control-Allow-Origin: '*'
Connection: keep-alive
Content-Length: "166"
Content-Type: application/json; charset=utf-8
Date: Fri, 19 Jan 2024 10:59:58 GMT
Etag: W/"a6-B4pajT4UaRZgzQsB13zBYtk2sco"
Keep-Alive: timeout=5
Vary: Origin
X-Powered-By: Express
body: |
{"data":{"supplier":{"id":"1","name":"testSupplier","addressId":1,"createdAt":"2024-01-19T10:40:42.544Z","updatedAt":null,"deletedAt":null,"products":{"edges":[]}}}}
body_type: ""
status_message: ""
proto_major: 0
proto_minor: 0
timestamp: 2024-01-19T10:59:58.653386707Z
objects: []
assertions:
noise:
body.data.supplier.createdAt: []
header.Date: []
created: 1705662000
curl: |-
curl --request POST \
--url http://localhost:9000/graphql \
--header 'Content-Type: application/json' \
--header 'Host: localhost:9000' \
--header 'User-Agent: curl/8.1.2' \
--header 'Accept: */*' \
--data '{"query":"query Product {\n supplier {\n id\n name\n addressId\n createdAt\n updatedAt\n deletedAt\n products {\n edges {\n node {\n id\n name\n category\n amount\n createdAt\n updatedAt\n deletedAt\n }\n }\n }\n }\n}"}'
Loading