diff --git a/spring-boot-mongo/keploy-config.yaml b/spring-boot-mongo/keploy-config.yaml deleted file mode 100755 index c7e3e02..0000000 --- a/spring-boot-mongo/keploy-config.yaml +++ /dev/null @@ -1,64 +0,0 @@ -record: - path: "" - # mandatory - command: "" - proxyport: 0 - containerName: "" - networkName: "" - delay: 5 - passThroughPorts: [] -test: - path: "" - # mandatory - command: "" - proxyport: 0 - containerName: "" - networkName: "" - testSets: [] - globalNoise: |- - { - "global": { - "body": {}, - "header": {} - }, - "test-sets": { - "test-set-name": { - "body": {}, - "header": {} - } - } - } - delay: 5 - apiTimeout: 5 - passThroughPorts: [] - # - # Example on using globalNoise - # globalNoise: |- - # { - # "global": { - # "body": { - # # to ignore some values for a field, - # # pass regex patterns to the corresponding array value - # "url": ["https?://\S+", "http://\S+"], - # }, - # "header": { - # # to ignore the entire field, pass an empty array - # "Date: [], - # } - # }, - # # to ignore fields or the corresponding values for a specific test-set, - # # pass the test-set-name as a key to the "test-sets" object and - # # populate the corresponding "body" and "header" objects - # "test-sets": { - # "test-set-1": { - # "body": { - # # ignore all the values for the "url" field - # "url": [] - # }, - # "header": { - # # we can also pass the exact value to ignore for a field - # "User-Agent": ["PostmanRuntime/7.34.0"] - # } - # } - # } - # } diff --git a/spring-boot-mongo/keploy/test-set-0/mocks.yaml b/spring-boot-mongo/keploy/test-set-0/mocks.yaml deleted file mode 100755 index 1a48014..0000000 --- a/spring-boot-mongo/keploy/test-set-0/mocks.yaml +++ /dev/null @@ -1,279 +0,0 @@ -version: api.keploy.io/v1beta1 -kind: Mongo -name: mocks -spec: - metadata: - operation: '{ OpQuery flags: [], fullCollectionName: admin.$cmd, numberToSkip: 0, numberToReturn: -1, query: {"isMaster": {"$numberInt":"1"},"helloOk": true,"client": {"driver": {"name": "mongo-java-driver|sync|spring-boot","version": "4.9.1"},"os": {"type": "Linux","name": "Linux","architecture": "amd64","version": "6.2.0-35-generic"},"platform": "Java/Oracle Corporation/21.0.1+12-LTS-29"}}, returnFieldsSelector: }' - type: config - requests: - - header: - length: 308 - requestId: 2 - responseTo: 0 - Opcode: 2004 - message: - flags: 0 - collection_name: admin.$cmd - number_to_skip: 0 - number_to_return: -1 - query: '{"isMaster":{"$numberInt":"1"},"helloOk":true,"client":{"driver":{"name":"mongo-java-driver|sync|spring-boot","version":"4.9.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"6.2.0-35-generic"},"platform":"Java/Oracle Corporation/21.0.1+12-LTS-29"}}' - return_fields_selector: "" - responses: - - header: - length: 329 - requestId: 31 - responseTo: 2 - Opcode: 1 - message: - response_flags: 8 - cursor_id: 0 - starting_from: 0 - number_returned: 1 - documents: - - '{"helloOk":true,"ismaster":true,"topologyVersion":{"processId":{"$oid":"6565df4efc463c1b8b542282"},"counter":{"$numberLong":"0"}},"maxBsonObjectSize":{"$numberInt":"16777216"},"maxMessageSizeBytes":{"$numberInt":"48000000"},"maxWriteBatchSize":{"$numberInt":"100000"},"localTime":{"$date":{"$numberLong":"1701175492459"}},"logicalSessionTimeoutMinutes":{"$numberInt":"30"},"connectionId":{"$numberInt":"4"},"minWireVersion":{"$numberInt":"0"},"maxWireVersion":{"$numberInt":"21"},"readOnly":false,"ok":{"$numberDouble":"1.0"}}' - read_delay: 69873639 - created: 1701175492 - reqTimestampMock: 2023-11-28T18:14:52.392721073+05:30 - resTimestampMock: 2023-11-28T18:14:52.463447382+05:30 ---- -version: api.keploy.io/v1beta1 -kind: Mongo -name: mocks -spec: - metadata: - operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"hello":{"$numberInt":"1"},"$db":"admin"} }], checksum: 0 }' - type: config - requests: - - header: - length: 52 - requestId: 4 - responseTo: 0 - Opcode: 2013 - message: - flagBits: 0 - sections: - - '{ SectionSingle msg: {"hello":{"$numberInt":"1"},"$db":"admin"} }' - checksum: 0 - read_delay: 10009264303 - responses: - - header: - length: 313 - requestId: 32 - responseTo: 4 - Opcode: 2013 - message: - flagBits: 0 - sections: - - '{ SectionSingle msg: {"isWritablePrimary":true,"topologyVersion":{"processId":{"$oid":"6565df4efc463c1b8b542282"},"counter":{"$numberLong":"0"}},"maxBsonObjectSize":{"$numberInt":"16777216"},"maxMessageSizeBytes":{"$numberInt":"48000000"},"maxWriteBatchSize":{"$numberInt":"100000"},"localTime":{"$date":{"$numberLong":"1701175502472"}},"logicalSessionTimeoutMinutes":{"$numberInt":"30"},"connectionId":{"$numberInt":"4"},"minWireVersion":{"$numberInt":"0"},"maxWireVersion":{"$numberInt":"21"},"readOnly":false,"ok":{"$numberDouble":"1.0"}} }' - checksum: 0 - read_delay: 754714 - created: 1701175502 - reqTimestampMock: 2023-11-28T18:15:02.472177183+05:30 - resTimestampMock: 2023-11-28T18:15:02.477144943+05:30 ---- -version: api.keploy.io/v1beta1 -kind: Mongo -name: mocks -spec: - metadata: - operation: '{ OpMsg flags: 65536, sections: [{ SectionSingle msg: {"hello":{"$numberInt":"1"},"helloOk":true,"topologyVersion":{"processId":{"$oid":"6565df4efc463c1b8b542282"},"counter":{"$numberLong":"0"}},"maxAwaitTimeMS":{"$numberLong":"10000"},"$db":"admin","$readPreference":{"mode":"primaryPreferred"}} }], checksum: 0 }' - type: config - requests: - - header: - length: 197 - requestId: 3 - responseTo: 0 - Opcode: 2013 - message: - flagBits: 65536 - sections: - - '{ SectionSingle msg: {"hello":{"$numberInt":"1"},"helloOk":true,"topologyVersion":{"processId":{"$oid":"6565df4efc463c1b8b542282"},"counter":{"$numberLong":"0"}},"maxAwaitTimeMS":{"$numberLong":"10000"},"$db":"admin","$readPreference":{"mode":"primaryPreferred"}} }' - checksum: 0 - read_delay: 12811131 - responses: - - header: - length: 323 - requestId: 33 - responseTo: 3 - Opcode: 2013 - message: - flagBits: 2 - sections: - - '{ SectionSingle msg: {"helloOk":true,"isWritablePrimary":true,"topologyVersion":{"processId":{"$oid":"6565df4efc463c1b8b542282"},"counter":{"$numberLong":"0"}},"maxBsonObjectSize":{"$numberInt":"16777216"},"maxMessageSizeBytes":{"$numberInt":"48000000"},"maxWriteBatchSize":{"$numberInt":"100000"},"localTime":{"$date":{"$numberLong":"1701175502484"}},"logicalSessionTimeoutMinutes":{"$numberInt":"30"},"connectionId":{"$numberInt":"5"},"minWireVersion":{"$numberInt":"0"},"maxWireVersion":{"$numberInt":"21"},"readOnly":false,"ok":{"$numberDouble":"1.0"}} }' - checksum: 0 - read_delay: 10009928942 - created: 1701175502 - reqTimestampMock: 2023-11-28T18:14:52.475518345+05:30 - resTimestampMock: 2023-11-28T18:15:02.485971613+05:30 ---- -version: api.keploy.io/v1beta1 -kind: Mongo -name: mocks -spec: - metadata: - operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"find":"PotionsDB","filter":{},"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"PtzVFH3oT/KR3q3lk2y+5w==","subType":"04"}}}} }], checksum: 0 }' - requests: - - header: - length: 111 - requestId: 78 - responseTo: 0 - Opcode: 2013 - message: - flagBits: 0 - sections: - - '{ SectionSingle msg: {"find":"PotionsDB","filter":{},"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"PtzVFH3oT/KR3q3lk2y+5w==","subType":"04"}}}} }' - checksum: 0 - read_delay: 12948947 - responses: - - header: - length: 313 - requestId: 186 - responseTo: 78 - Opcode: 2013 - message: - flagBits: 0 - sections: - - '{ SectionSingle msg: {"cursor":{"firstBatch":[{"_id":{"$binary":{"base64":"W0LJya188mIAGiAmzabwkQ==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"}],"id":{"$numberLong":"0"},"ns":"Keploy.PotionsDB"},"ok":{"$numberDouble":"1.0"}} }' - checksum: 0 - read_delay: 25459163 - created: 1701176230 - reqTimestampMock: 2023-11-28T18:27:10.000095428+05:30 - resTimestampMock: 2023-11-28T18:27:10.025755621+05:30 ---- -version: api.keploy.io/v1beta1 -kind: Mongo -name: mocks -spec: - metadata: - operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"PtzVFH3oT/KR3q3lk2y+5w==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"Sk1sjIvF+iEprksyNAD4vg==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"Sk1sjIvF+iEprksyNAD4vg==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' - requests: - - header: - length: 379 - requestId: 83 - responseTo: 0 - Opcode: 2013 - message: - flagBits: 0 - sections: - - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"PtzVFH3oT/KR3q3lk2y+5w==","subType":"04"}}}} }' - - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"Sk1sjIvF+iEprksyNAD4vg==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"Sk1sjIvF+iEprksyNAD4vg==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' - checksum: 0 - read_delay: 38229495241 - responses: - - header: - length: 120 - requestId: 195 - responseTo: 83 - Opcode: 2013 - message: - flagBits: 0 - sections: - - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"Sk1sjIvF+iEprksyNAD4vg==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' - checksum: 0 - read_delay: 11976054 - created: 1701176268 - reqTimestampMock: 2023-11-28T18:27:48.255588234+05:30 - resTimestampMock: 2023-11-28T18:27:48.267898306+05:30 ---- -version: api.keploy.io/v1beta1 -kind: Mongo -name: mocks -spec: - metadata: - operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"find":"PotionsDB","filter":{"_id":{"$binary":{"base64":"Sk1sjIvF+iEprksyNAD4vg==","subType":"03"}}},"limit":{"$numberInt":"1"},"singleBatch":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"PtzVFH3oT/KR3q3lk2y+5w==","subType":"04"}}}} }], checksum: 0 }' - requests: - - header: - length: 162 - requestId: 86 - responseTo: 0 - Opcode: 2013 - message: - flagBits: 0 - sections: - - '{ SectionSingle msg: {"find":"PotionsDB","filter":{"_id":{"$binary":{"base64":"Sk1sjIvF+iEprksyNAD4vg==","subType":"03"}}},"limit":{"$numberInt":"1"},"singleBatch":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"PtzVFH3oT/KR3q3lk2y+5w==","subType":"04"}}}} }' - checksum: 0 - read_delay: 23778941556 - responses: - - header: - length: 313 - requestId: 200 - responseTo: 86 - Opcode: 2013 - message: - flagBits: 0 - sections: - - '{ SectionSingle msg: {"cursor":{"firstBatch":[{"_id":{"$binary":{"base64":"Sk1sjIvF+iEprksyNAD4vg==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"}],"id":{"$numberLong":"0"},"ns":"Keploy.PotionsDB"},"ok":{"$numberDouble":"1.0"}} }' - checksum: 0 - read_delay: 5027561 - created: 1701176292 - reqTimestampMock: 2023-11-28T18:28:12.046850384+05:30 - resTimestampMock: 2023-11-28T18:28:12.052099227+05:30 ---- -version: api.keploy.io/v1beta1 -kind: Mongo -name: mocks -spec: - metadata: - operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"find":"PotionsDB","filter":{"_id":{"$binary":{"base64":"Sk1sjIvF+iEprksyNAD4vg==","subType":"03"}}},"limit":{"$numberInt":"1"},"singleBatch":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"PtzVFH3oT/KR3q3lk2y+5w==","subType":"04"}}}} }], checksum: 0 }' - requests: - - header: - length: 162 - requestId: 89 - responseTo: 0 - Opcode: 2013 - message: - flagBits: 0 - sections: - - '{ SectionSingle msg: {"find":"PotionsDB","filter":{"_id":{"$binary":{"base64":"Sk1sjIvF+iEprksyNAD4vg==","subType":"03"}}},"limit":{"$numberInt":"1"},"singleBatch":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"PtzVFH3oT/KR3q3lk2y+5w==","subType":"04"}}}} }' - checksum: 0 - read_delay: 12047390629 - responses: - - header: - length: 313 - requestId: 205 - responseTo: 89 - Opcode: 2013 - message: - flagBits: 0 - sections: - - '{ SectionSingle msg: {"cursor":{"firstBatch":[{"_id":{"$binary":{"base64":"Sk1sjIvF+iEprksyNAD4vg==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"}],"id":{"$numberLong":"0"},"ns":"Keploy.PotionsDB"},"ok":{"$numberDouble":"1.0"}} }' - checksum: 0 - read_delay: 831507 - created: 1701176304 - reqTimestampMock: 2023-11-28T18:28:24.099601634+05:30 - resTimestampMock: 2023-11-28T18:28:24.100756416+05:30 ---- -version: api.keploy.io/v1beta1 -kind: Mongo -name: mocks -spec: - metadata: - operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"delete":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"PtzVFH3oT/KR3q3lk2y+5w==","subType":"04"}}}} }, { SectionSingle identifier: deletes , msgs: [ {"q":{"_id":{"$binary":{"base64":"Sk1sjIvF+iEprksyNAD4vg==","subType":"03"}}},"limit":{"$numberInt":"1"}} ] }], checksum: 0 }' - requests: - - header: - length: 173 - requestId: 90 - responseTo: 0 - Opcode: 2013 - message: - flagBits: 0 - sections: - - '{ SectionSingle msg: {"delete":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"PtzVFH3oT/KR3q3lk2y+5w==","subType":"04"}}}} }' - - '{ SectionSingle identifier: deletes , msgs: [ {"q":{"_id":{"$binary":{"base64":"Sk1sjIvF+iEprksyNAD4vg==","subType":"03"}}},"limit":{"$numberInt":"1"}} ] }' - checksum: 0 - read_delay: 13817859 - responses: - - header: - length: 45 - requestId: 206 - responseTo: 90 - Opcode: 2013 - message: - flagBits: 0 - sections: - - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"ok":{"$numberDouble":"1.0"}} }' - checksum: 0 - read_delay: 1532098 - created: 1701176304 - reqTimestampMock: 2023-11-28T18:28:24.114623918+05:30 - resTimestampMock: 2023-11-28T18:28:24.116346769+05:30 diff --git a/spring-boot-mongo/keploy/test-set-0/tests/test-1.yaml b/spring-boot-mongo/keploy/test-set-0/tests/test-1.yaml deleted file mode 100755 index c89fb41..0000000 --- a/spring-boot-mongo/keploy/test-set-0/tests/test-1.yaml +++ /dev/null @@ -1,40 +0,0 @@ -version: api.keploy.io/v1beta1 -kind: Http -name: test-1 -spec: - metadata: {} - req: - method: GET - proto_major: 1 - proto_minor: 1 - url: http://localhost:8080/potions - header: - Accept: '*/*' - Host: localhost:8080 - User-Agent: curl/7.81.0 - body: "" - body_type: "" - timestamp: 2023-11-28T18:27:09.657931672+05:30 - resp: - status_code: 200 - header: - Content-Type: application/json - Date: Tue, 28 Nov 2023 12:57:10 GMT - body: '[{"id":"62f27cad-c9c9-425b-91f0-a6cd26201a00","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' - body_type: "" - status_message: "" - proto_major: 0 - proto_minor: 0 - timestamp: 2023-11-28T18:27:13.791686894+05:30 - objects: [] - assertions: - noise: - body.quantity: [] - header.Date: [] - created: 1701176233 -curl: | - curl --request GET \ - --url http://localhost:8080/potions \ - --header 'Host: localhost:8080' \ - --header 'User-Agent: curl/7.81.0' \ - --header 'Accept: */*' \ diff --git a/spring-boot-mongo/keploy/test-set-0/tests/test-3.yaml b/spring-boot-mongo/keploy/test-set-0/tests/test-3.yaml deleted file mode 100755 index dd40519..0000000 --- a/spring-boot-mongo/keploy/test-set-0/tests/test-3.yaml +++ /dev/null @@ -1,40 +0,0 @@ -version: api.keploy.io/v1beta1 -kind: Http -name: test-3 -spec: - metadata: {} - req: - method: GET - proto_major: 1 - proto_minor: 1 - url: http://localhost:8080/potions/21fac58b-8c6c-4d4a-bef8-0034324bae29 - header: - Accept: '*/*' - Host: localhost:8080 - User-Agent: curl/7.81.0 - body: "" - body_type: "" - timestamp: 2023-11-28T18:28:12.036393267+05:30 - resp: - status_code: 200 - header: - Content-Type: application/json - Date: Tue, 28 Nov 2023 12:58:12 GMT - body: '{"id":"21fac58b-8c6c-4d4a-bef8-0034324bae29","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' - body_type: "" - status_message: "" - proto_major: 0 - proto_minor: 0 - timestamp: 2023-11-28T18:28:15.914028567+05:30 - objects: [] - assertions: - noise: - body.quantity: [] - header.Date: [] - created: 1701176295 -curl: | - curl --request GET \ - --url http://localhost:8080/potions/21fac58b-8c6c-4d4a-bef8-0034324bae29 \ - --header 'Host: localhost:8080' \ - --header 'User-Agent: curl/7.81.0' \ - --header 'Accept: */*' \ diff --git a/spring-boot-mongo/keploy/test-set-0/tests/test-4.yaml b/spring-boot-mongo/keploy/test-set-0/tests/test-4.yaml deleted file mode 100755 index e85695c..0000000 --- a/spring-boot-mongo/keploy/test-set-0/tests/test-4.yaml +++ /dev/null @@ -1,39 +0,0 @@ -version: api.keploy.io/v1beta1 -kind: Http -name: test-4 -spec: - metadata: {} - req: - method: DELETE - proto_major: 1 - proto_minor: 1 - url: http://localhost:8080/potions/21fac58b-8c6c-4d4a-bef8-0034324bae29 - header: - Accept: '*/*' - Host: localhost:8080 - User-Agent: curl/7.81.0 - body: "" - body_type: "" - timestamp: 2023-11-28T18:28:24.09510735+05:30 - resp: - status_code: 200 - header: - Content-Type: application/json - Date: Tue, 28 Nov 2023 12:58:24 GMT - body: '"OK"' - body_type: "" - status_message: "" - proto_major: 0 - proto_minor: 0 - timestamp: 2023-11-28T18:28:27.678879794+05:30 - objects: [] - assertions: - noise: - header.Date: [] - created: 1701176307 -curl: | - curl --request DELETE \ - --url http://localhost:8080/potions/21fac58b-8c6c-4d4a-bef8-0034324bae29 \ - --header 'Accept: */*' \ - --header 'Host: localhost:8080' \ - --header 'User-Agent: curl/7.81.0' \ diff --git a/spring-boot-mongo/keploy/test-set-2/mocks.yaml b/spring-boot-mongo/keploy/test-set-2/mocks.yaml new file mode 100755 index 0000000..75d42a4 --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/mocks.yaml @@ -0,0 +1,1853 @@ +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-0 +spec: + metadata: + operation: '{ OpQuery flags: [], fullCollectionName: admin.$cmd, numberToSkip: 0, numberToReturn: -1, query: {"isMaster": {"$numberInt":"1"},"helloOk": true,"client": {"driver": {"name": "mongo-java-driver|sync|spring-boot","version": "4.9.1"},"os": {"type": "Linux","name": "Linux","architecture": "aarch64","version": "6.1.0-18-cloud-arm64"},"platform": "Java/Debian/17.0.10+7-Debian-1deb12u1"}}, returnFieldsSelector: }' + type: config + requests: + - header: + length: 311 + requestId: 2 + responseTo: 0 + Opcode: 2004 + message: + flags: 0 + collection_name: admin.$cmd + number_to_skip: 0 + number_to_return: -1 + query: '{"isMaster":{"$numberInt":"1"},"helloOk":true,"client":{"driver":{"name":"mongo-java-driver|sync|spring-boot","version":"4.9.1"},"os":{"type":"Linux","name":"Linux","architecture":"aarch64","version":"6.1.0-18-cloud-arm64"},"platform":"Java/Debian/17.0.10+7-Debian-1deb12u1"}}' + return_fields_selector: "" + responses: + - header: + length: 329 + requestId: 4 + responseTo: 2 + Opcode: 1 + message: + response_flags: 8 + cursor_id: 0 + starting_from: 0 + number_returned: 1 + documents: + - '{"helloOk":true,"ismaster":true,"topologyVersion":{"processId":{"$oid":"660403a3d51e110d440ddd8a"},"counter":{"$numberLong":"0"}},"maxBsonObjectSize":{"$numberInt":"16777216"},"maxMessageSizeBytes":{"$numberInt":"48000000"},"maxWriteBatchSize":{"$numberInt":"100000"},"localTime":{"$date":{"$numberLong":"1711539121248"}},"logicalSessionTimeoutMinutes":{"$numberInt":"30"},"connectionId":{"$numberInt":"2"},"minWireVersion":{"$numberInt":"0"},"maxWireVersion":{"$numberInt":"21"},"readOnly":false,"ok":{"$numberDouble":"1.0"}}' + read_delay: 4384104 + created: 1711539121 + reqTimestampMock: 2024-03-27T11:32:01.245975468Z + resTimestampMock: 2024-03-27T11:32:01.251719156Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-1 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"hello":{"$numberInt":"1"},"$db":"admin"} }], checksum: 0 }' + type: config + requests: + - header: + length: 52 + requestId: 4 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"hello":{"$numberInt":"1"},"$db":"admin"} }' + checksum: 0 + read_delay: 10022524144 + responses: + - header: + length: 313 + requestId: 5 + responseTo: 4 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"isWritablePrimary":true,"topologyVersion":{"processId":{"$oid":"660403a3d51e110d440ddd8a"},"counter":{"$numberLong":"0"}},"maxBsonObjectSize":{"$numberInt":"16777216"},"maxMessageSizeBytes":{"$numberInt":"48000000"},"maxWriteBatchSize":{"$numberInt":"100000"},"localTime":{"$date":{"$numberLong":"1711539131274"}},"logicalSessionTimeoutMinutes":{"$numberInt":"30"},"connectionId":{"$numberInt":"2"},"minWireVersion":{"$numberInt":"0"},"maxWireVersion":{"$numberInt":"21"},"readOnly":false,"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 1220493 + created: 1711539131 + reqTimestampMock: 2024-03-27T11:32:11.273894278Z + resTimestampMock: 2024-03-27T11:32:11.277694722Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-2 +spec: + metadata: + operation: '{ OpMsg flags: 65536, sections: [{ SectionSingle msg: {"hello":{"$numberInt":"1"},"helloOk":true,"topologyVersion":{"processId":{"$oid":"660403a3d51e110d440ddd8a"},"counter":{"$numberLong":"0"}},"maxAwaitTimeMS":{"$numberLong":"10000"},"$db":"admin","$readPreference":{"mode":"primaryPreferred"}} }], checksum: 0 }' + type: config + requests: + - header: + length: 197 + requestId: 3 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 65536 + sections: + - '{ SectionSingle msg: {"hello":{"$numberInt":"1"},"helloOk":true,"topologyVersion":{"processId":{"$oid":"660403a3d51e110d440ddd8a"},"counter":{"$numberLong":"0"}},"maxAwaitTimeMS":{"$numberLong":"10000"},"$db":"admin","$readPreference":{"mode":"primaryPreferred"}} }' + checksum: 0 + read_delay: 68988976 + responses: + - header: + length: 323 + requestId: 6 + responseTo: 3 + Opcode: 2013 + message: + flagBits: 2 + sections: + - '{ SectionSingle msg: {"helloOk":true,"isWritablePrimary":true,"topologyVersion":{"processId":{"$oid":"660403a3d51e110d440ddd8a"},"counter":{"$numberLong":"0"}},"maxBsonObjectSize":{"$numberInt":"16777216"},"maxMessageSizeBytes":{"$numberInt":"48000000"},"maxWriteBatchSize":{"$numberInt":"100000"},"localTime":{"$date":{"$numberLong":"1711539131327"}},"logicalSessionTimeoutMinutes":{"$numberInt":"30"},"connectionId":{"$numberInt":"1"},"minWireVersion":{"$numberInt":"0"},"maxWireVersion":{"$numberInt":"21"},"readOnly":false,"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 10009424876 + created: 1711539131 + reqTimestampMock: 2024-03-27T11:32:01.318702925Z + resTimestampMock: 2024-03-27T11:32:11.328395817Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-3 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:21 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539201 + reqTimestampMock: 2024-03-27T11:33:21.346197074Z + resTimestampMock: 2024-03-27T11:33:21.36401022Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-4 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "59" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:21 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539201 + reqTimestampMock: 2024-03-27T11:33:21.367618485Z + resTimestampMock: 2024-03-27T11:33:21.367822873Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-5 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"JEAr28spj7PQ5v7y63tvgQ==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"JEAr28spj7PQ5v7y63tvgQ==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 13 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"JEAr28spj7PQ5v7y63tvgQ==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"JEAr28spj7PQ5v7y63tvgQ==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 41256224 + responses: + - header: + length: 120 + requestId: 22 + responseTo: 13 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"JEAr28spj7PQ5v7y63tvgQ==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 32684484 + created: 1711539201 + reqTimestampMock: 2024-03-27T11:33:21.913864966Z + resTimestampMock: 2024-03-27T11:33:21.949109567Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-6 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:40 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539220 + reqTimestampMock: 2024-03-27T11:33:39.996475323Z + resTimestampMock: 2024-03-27T11:33:40.003683812Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-7 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "116" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:40 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539220 + reqTimestampMock: 2024-03-27T11:33:40.006907845Z + resTimestampMock: 2024-03-27T11:33:40.007272201Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-8 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"AkBtzWYh+RUPVx1aFXqnog==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"AkBtzWYh+RUPVx1aFXqnog==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 15 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"AkBtzWYh+RUPVx1aFXqnog==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"AkBtzWYh+RUPVx1aFXqnog==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 18069326992 + responses: + - header: + length: 120 + requestId: 25 + responseTo: 15 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"AkBtzWYh+RUPVx1aFXqnog==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 4560616 + created: 1711539220 + reqTimestampMock: 2024-03-27T11:33:40.016296052Z + resTimestampMock: 2024-03-27T11:33:40.021658801Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-9 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:41 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539221 + reqTimestampMock: 2024-03-27T11:33:41.156570422Z + resTimestampMock: 2024-03-27T11:33:41.157092996Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-10 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "173" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:41 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539221 + reqTimestampMock: 2024-03-27T11:33:41.16750485Z + resTimestampMock: 2024-03-27T11:33:41.168212103Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-11 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"Nk4MTZkjzALMblw6N1enqA==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"Nk4MTZkjzALMblw6N1enqA==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 16 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"Nk4MTZkjzALMblw6N1enqA==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"Nk4MTZkjzALMblw6N1enqA==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 1150463835 + responses: + - header: + length: 120 + requestId: 26 + responseTo: 16 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"Nk4MTZkjzALMblw6N1enqA==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 1945579 + created: 1711539221 + reqTimestampMock: 2024-03-27T11:33:41.172039632Z + resTimestampMock: 2024-03-27T11:33:41.174199682Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-12 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:41 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539221 + reqTimestampMock: 2024-03-27T11:33:41.935590269Z + resTimestampMock: 2024-03-27T11:33:41.935723277Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-13 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "230" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:41 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539221 + reqTimestampMock: 2024-03-27T11:33:41.93619639Z + resTimestampMock: 2024-03-27T11:33:41.936533202Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-14 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"+kAEk0Z/FAB3oND68BW+qg==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"+kAEk0Z/FAB3oND68BW+qg==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 18 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"+kAEk0Z/FAB3oND68BW+qg==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"+kAEk0Z/FAB3oND68BW+qg==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 764130089 + responses: + - header: + length: 120 + requestId: 29 + responseTo: 18 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"+kAEk0Z/FAB3oND68BW+qg==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 632831 + created: 1711539221 + reqTimestampMock: 2024-03-27T11:33:41.938299978Z + resTimestampMock: 2024-03-27T11:33:41.939100195Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-15 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:42 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539222 + reqTimestampMock: 2024-03-27T11:33:42.638621071Z + resTimestampMock: 2024-03-27T11:33:42.638787748Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-16 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "287" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:42 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539222 + reqTimestampMock: 2024-03-27T11:33:42.640052285Z + resTimestampMock: 2024-03-27T11:33:42.640203461Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-17 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"v0Y+ow7dIM992Ye+M39Flw==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"v0Y+ow7dIM992Ye+M39Flw==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 19 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"v0Y+ow7dIM992Ye+M39Flw==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"v0Y+ow7dIM992Ye+M39Flw==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 702774620 + responses: + - header: + length: 120 + requestId: 30 + responseTo: 19 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"v0Y+ow7dIM992Ye+M39Flw==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 741671 + created: 1711539222 + reqTimestampMock: 2024-03-27T11:33:42.64188269Z + resTimestampMock: 2024-03-27T11:33:42.643036428Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-18 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:43 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539223 + reqTimestampMock: 2024-03-27T11:33:43.313897111Z + resTimestampMock: 2024-03-27T11:33:43.315912402Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-19 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "344" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:43 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539223 + reqTimestampMock: 2024-03-27T11:33:43.316566276Z + resTimestampMock: 2024-03-27T11:33:43.316687534Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-20 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"jUGQXmXxud2cnKVPKbsrgg==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"jUGQXmXxud2cnKVPKbsrgg==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 20 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"jUGQXmXxud2cnKVPKbsrgg==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"jUGQXmXxud2cnKVPKbsrgg==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 675837700 + responses: + - header: + length: 120 + requestId: 31 + responseTo: 20 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"jUGQXmXxud2cnKVPKbsrgg==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 585078 + created: 1711539223 + reqTimestampMock: 2024-03-27T11:33:43.318967508Z + resTimestampMock: 2024-03-27T11:33:43.319698804Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-21 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:44 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539224 + reqTimestampMock: 2024-03-27T11:33:44.028275076Z + resTimestampMock: 2024-03-27T11:33:44.029902593Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-22 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "401" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:44 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539224 + reqTimestampMock: 2024-03-27T11:33:44.03388359Z + resTimestampMock: 2024-03-27T11:33:44.036511795Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-23 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"vUMsMuum70gHA5kYlWtRjg==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"vUMsMuum70gHA5kYlWtRjg==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 21 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"vUMsMuum70gHA5kYlWtRjg==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"vUMsMuum70gHA5kYlWtRjg==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 722119862 + responses: + - header: + length: 120 + requestId: 32 + responseTo: 21 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"vUMsMuum70gHA5kYlWtRjg==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 618872 + created: 1711539224 + reqTimestampMock: 2024-03-27T11:33:44.041931839Z + resTimestampMock: 2024-03-27T11:33:44.044397784Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-24 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:44 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539224 + reqTimestampMock: 2024-03-27T11:33:44.814160768Z + resTimestampMock: 2024-03-27T11:33:44.814405033Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-25 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "458" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:44 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539224 + reqTimestampMock: 2024-03-27T11:33:44.815397511Z + resTimestampMock: 2024-03-27T11:33:44.81567807Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-26 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"9E4RHuIR+gD5DuoKzyy/vw==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"9E4RHuIR+gD5DuoKzyy/vw==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 22 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"9E4RHuIR+gD5DuoKzyy/vw==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"9E4RHuIR+gD5DuoKzyy/vw==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 774566699 + responses: + - header: + length: 120 + requestId: 33 + responseTo: 22 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"9E4RHuIR+gD5DuoKzyy/vw==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 22334 + created: 1711539224 + reqTimestampMock: 2024-03-27T11:33:44.819633441Z + resTimestampMock: 2024-03-27T11:33:44.819841995Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-27 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:45 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539225 + reqTimestampMock: 2024-03-27T11:33:45.49486148Z + resTimestampMock: 2024-03-27T11:33:45.495015447Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-28 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "515" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:45 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539225 + reqTimestampMock: 2024-03-27T11:33:45.495368261Z + resTimestampMock: 2024-03-27T11:33:45.495485977Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-29 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"30Z9GwV4ba9ObhwN4FULog==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"30Z9GwV4ba9ObhwN4FULog==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 23 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"30Z9GwV4ba9ObhwN4FULog==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"30Z9GwV4ba9ObhwN4FULog==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 676914519 + responses: + - header: + length: 120 + requestId: 34 + responseTo: 23 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"30Z9GwV4ba9ObhwN4FULog==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 11543 + created: 1711539225 + reqTimestampMock: 2024-03-27T11:33:45.497263253Z + resTimestampMock: 2024-03-27T11:33:45.497610733Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-30 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:46 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539226 + reqTimestampMock: 2024-03-27T11:33:46.253933135Z + resTimestampMock: 2024-03-27T11:33:46.254056851Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-31 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "572" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:46 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539226 + reqTimestampMock: 2024-03-27T11:33:46.255307345Z + resTimestampMock: 2024-03-27T11:33:46.255408518Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-32 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"dkEVFrUNxMd/Oxg30fhklQ==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"dkEVFrUNxMd/Oxg30fhklQ==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 24 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"dkEVFrUNxMd/Oxg30fhklQ==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"dkEVFrUNxMd/Oxg30fhklQ==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 761095781 + responses: + - header: + length: 120 + requestId: 35 + responseTo: 24 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"dkEVFrUNxMd/Oxg30fhklQ==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 10293 + created: 1711539226 + reqTimestampMock: 2024-03-27T11:33:46.259269549Z + resTimestampMock: 2024-03-27T11:33:46.261038742Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-33 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:46 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539226 + reqTimestampMock: 2024-03-27T11:33:46.980262886Z + resTimestampMock: 2024-03-27T11:33:46.98072629Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-34 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "629" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:46 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539226 + reqTimestampMock: 2024-03-27T11:33:46.981954783Z + resTimestampMock: 2024-03-27T11:33:46.982303721Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-35 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"b0QVb+Uc3IvmF4Zardj5jw==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"b0QVb+Uc3IvmF4Zardj5jw==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 25 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"b0QVb+Uc3IvmF4Zardj5jw==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"b0QVb+Uc3IvmF4Zardj5jw==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 725273893 + responses: + - header: + length: 120 + requestId: 36 + responseTo: 25 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"b0QVb+Uc3IvmF4Zardj5jw==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 407858 + created: 1711539226 + reqTimestampMock: 2024-03-27T11:33:46.984828753Z + resTimestampMock: 2024-03-27T11:33:46.98548346Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-36 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:47 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539227 + reqTimestampMock: 2024-03-27T11:33:47.741176908Z + resTimestampMock: 2024-03-27T11:33:47.741323625Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-37 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "686" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:47 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539227 + reqTimestampMock: 2024-03-27T11:33:47.745177281Z + resTimestampMock: 2024-03-27T11:33:47.745388585Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-38 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"0EHXWFyI46j7v9CDz3bfnw==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"0EHXWFyI46j7v9CDz3bfnw==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 26 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"0EHXWFyI46j7v9CDz3bfnw==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"0EHXWFyI46j7v9CDz3bfnw==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 762453492 + responses: + - header: + length: 120 + requestId: 37 + responseTo: 26 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"0EHXWFyI46j7v9CDz3bfnw==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 689293 + created: 1711539227 + reqTimestampMock: 2024-03-27T11:33:47.748031333Z + resTimestampMock: 2024-03-27T11:33:47.748874177Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-39 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:48 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539228 + reqTimestampMock: 2024-03-27T11:33:48.761462557Z + resTimestampMock: 2024-03-27T11:33:48.761662653Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-40 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "743" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:48 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539228 + reqTimestampMock: 2024-03-27T11:33:48.763204957Z + resTimestampMock: 2024-03-27T11:33:48.763435971Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-41 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"y0x7+R/pAff4ckXNXcevtw==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"y0x7+R/pAff4ckXNXcevtw==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 27 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"y0x7+R/pAff4ckXNXcevtw==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"y0x7+R/pAff4ckXNXcevtw==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 1018302360 + responses: + - header: + length: 120 + requestId: 38 + responseTo: 27 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"y0x7+R/pAff4ckXNXcevtw==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 13793 + created: 1711539228 + reqTimestampMock: 2024-03-27T11:33:48.768126887Z + resTimestampMock: 2024-03-27T11:33:48.768859557Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-42 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:49 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539229 + reqTimestampMock: 2024-03-27T11:33:49.458419864Z + resTimestampMock: 2024-03-27T11:33:49.458765219Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-43 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "800" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:49 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539229 + reqTimestampMock: 2024-03-27T11:33:49.459550601Z + resTimestampMock: 2024-03-27T11:33:49.459953751Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-44 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"ek1fNvkJIuBs8XDJhAqDtw==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"ek1fNvkJIuBs8XDJhAqDtw==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 28 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"ek1fNvkJIuBs8XDJhAqDtw==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"ek1fNvkJIuBs8XDJhAqDtw==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 694021000 + responses: + - header: + length: 120 + requestId: 39 + responseTo: 28 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"ek1fNvkJIuBs8XDJhAqDtw==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 33335 + created: 1711539229 + reqTimestampMock: 2024-03-27T11:33:49.463611686Z + resTimestampMock: 2024-03-27T11:33:49.463799864Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-45 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:50 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539230 + reqTimestampMock: 2024-03-27T11:33:50.153898663Z + resTimestampMock: 2024-03-27T11:33:50.154037755Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-46 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "857" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:50 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539230 + reqTimestampMock: 2024-03-27T11:33:50.154379359Z + resTimestampMock: 2024-03-27T11:33:50.154476199Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-47 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"m05f/mWyZrjW1WjjiidMnA==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"m05f/mWyZrjW1WjjiidMnA==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 29 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"m05f/mWyZrjW1WjjiidMnA==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"m05f/mWyZrjW1WjjiidMnA==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 696356687 + responses: + - header: + length: 120 + requestId: 40 + responseTo: 29 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"m05f/mWyZrjW1WjjiidMnA==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 844385 + created: 1711539230 + reqTimestampMock: 2024-03-27T11:33:50.160180677Z + resTimestampMock: 2024-03-27T11:33:50.161418671Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-48 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:33:50 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539230 + reqTimestampMock: 2024-03-27T11:33:50.844819597Z + resTimestampMock: 2024-03-27T11:33:50.845280167Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-49 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "914" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:50 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539230 + reqTimestampMock: 2024-03-27T11:33:50.84767444Z + resTimestampMock: 2024-03-27T11:33:50.847835159Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-50 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"oEv9+Qlrwd/bFHH3S8/xqQ==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"oEv9+Qlrwd/bFHH3S8/xqQ==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 30 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"oEv9+Qlrwd/bFHH3S8/xqQ==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"oEv9+Qlrwd/bFHH3S8/xqQ==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 694575244 + responses: + - header: + length: 120 + requestId: 41 + responseTo: 30 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"oEv9+Qlrwd/bFHH3S8/xqQ==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 75629 + created: 1711539230 + reqTimestampMock: 2024-03-27T11:33:50.856747086Z + resTimestampMock: 2024-03-27T11:33:50.857377209Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-51 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"endSessions":[{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}],"$db":"admin","$readPreference":{"mode":"primaryPreferred"}} }], checksum: 0 }' + requests: + - header: + length: 141 + requestId: 33 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"endSessions":[{"id":{"$binary":{"base64":"MrMIOb6sRT6D0lre60H8Cw==","subType":"04"}}}],"$db":"admin","$readPreference":{"mode":"primaryPreferred"}} }' + checksum: 0 + read_delay: 14031687750 + responses: + - header: + length: 38 + requestId: 46 + responseTo: 33 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 3176197 + created: 1711539244 + reqTimestampMock: 2024-03-27T11:34:04.889027748Z + resTimestampMock: 2024-03-27T11:34:04.894896071Z diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-1.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-1.yaml new file mode 100755 index 0000000..251b306 --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-1.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-1 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:20.910789296Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:22 GMT + body: '{"id":"b38f29cb-db2b-4024-816f-7bebf2fee6d0","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:24.889064623Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539204 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8080' \ + --header 'User-Agent: curl/7.88.1' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-10.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-10.yaml new file mode 100755 index 0000000..3c138ad --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-10.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-10 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:46.247935555Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:45 GMT + body: '{"id":"c7c40db5-1615-4176-9564-f8d137183b7f","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:52.491040905Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539232 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8080' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-11.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-11.yaml new file mode 100755 index 0000000..a5a8865 --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-11.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-11 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:49.456137014Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:48 GMT + body: '{"id":"e02209f9-365f-4d7a-b783-0a84c970f16c","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:53.535258712Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539233 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8080' \ + --header 'User-Agent: curl/7.88.1' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-12.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-12.yaml new file mode 100755 index 0000000..ecfb9b2 --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-12.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-12 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:47.739882827Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:46 GMT + body: '{"id":"a8e3885c-58d7-41d0-9fdf-76cf83d0bffb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:54.589064657Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539234 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8080' \ + --header 'User-Agent: curl/7.88.1' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-13.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-13.yaml new file mode 100755 index 0000000..28c6563 --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-13.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-13 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:48.759607775Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:48 GMT + body: '{"id":"f701e91f-f97b-4ccb-b7af-c75dcd4572f8","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:55.63639191Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539235 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8080' \ + --header 'User-Agent: curl/7.88.1' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-14.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-14.yaml new file mode 100755 index 0000000..12dad46 --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-14.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-14 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:46.978549821Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:46 GMT + body: '{"id":"8bdc1ce5-6f15-446f-8ff9-d8ad5a8617e6","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:56.775238549Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539236 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8080' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-15.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-15.yaml new file mode 100755 index 0000000..38a40df --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-15.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-15 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:50.151886329Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:50 GMT + body: '{"id":"b866b265-fe5f-4e9b-9c4c-278ae368d5d6","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:58.720901153Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539238 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8080' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-16.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-16.yaml new file mode 100755 index 0000000..7a38bb0 --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-16.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-16 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:50.840243479Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:50 GMT + body: '{"id":"dfc16b09-f9fd-4ba0-a9f1-cf4bf77114db","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:59.7832178Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539239 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8080' \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-0/tests/test-2.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-2.yaml similarity index 78% rename from spring-boot-mongo/keploy/test-set-0/tests/test-2.yaml rename to spring-boot-mongo/keploy/test-set-2/tests/test-2.yaml index b24c6dc..baf5930 100755 --- a/spring-boot-mongo/keploy/test-set-0/tests/test-2.yaml +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-2.yaml @@ -13,7 +13,7 @@ spec: Content-Length: "195" Content-Type: application/json Host: localhost:8080 - User-Agent: curl/7.81.0 + User-Agent: curl/7.88.1 body: |4- { "name": "Strength Potion v2", @@ -21,30 +21,28 @@ spec: "bottle": 3, "quantity": 150 } - body_type: "" - timestamp: 2023-11-28T18:27:48.174482586+05:30 + timestamp: 2024-03-27T11:33:39.984418033Z resp: status_code: 200 header: Content-Type: application/json - Date: Tue, 28 Nov 2023 12:57:48 GMT - body: '{"id":"21fac58b-8c6c-4d4a-bef8-0034324bae29","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' - body_type: "" - status_message: "" + Date: Wed, 27 Mar 2024 11:33:40 GMT + body: '{"id":"15f92166-cd6d-4002-a2a7-7a155a1d570f","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK proto_major: 0 proto_minor: 0 - timestamp: 2023-11-28T18:27:51.486206401+05:30 + timestamp: 2024-03-27T11:33:43.058830502Z objects: [] assertions: noise: body.quantity: [] header.Date: [] - created: 1701176271 + created: 1711539223 curl: |- curl --request POST \ --url http://localhost:8080/potions \ --header 'Host: localhost:8080' \ - --header 'User-Agent: curl/7.81.0' \ + --header 'User-Agent: curl/7.88.1' \ --header 'Accept: */*' \ --header 'Content-Type: application/json' \ --data ' { diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-3.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-3.yaml new file mode 100755 index 0000000..b064221 --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-3.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-3 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:41.153304136Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:41 GMT + body: '{"id":"02cc2399-4d0c-4e36-a8a7-57373a5c6ecc","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:44.101130719Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539224 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8080' \ + --header 'User-Agent: curl/7.88.1' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-4.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-4.yaml new file mode 100755 index 0000000..224648a --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-4.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-4 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:41.934130428Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:41 GMT + body: '{"id":"00147f46-9304-40fa-aabe-15f0fad0a077","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:45.232672429Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539225 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'Host: localhost:8080' \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-5.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-5.yaml new file mode 100755 index 0000000..88e941f --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-5.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-5 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:42.636623655Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:42 GMT + body: '{"id":"cf20dd0e-a33e-46bf-9745-7f33be87d97d","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:47.191381187Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539227 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8080' \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-6.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-6.yaml new file mode 100755 index 0000000..fb85709 --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-6.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-6 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:43.311846233Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:42 GMT + body: '{"id":"ddb9f165-5e90-418d-822b-bb294fa59c9c","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:48.227139212Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539228 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8080' \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-7.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-7.yaml new file mode 100755 index 0000000..b93e268 --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-7.yaml @@ -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:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:44.02569504Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:44 GMT + body: '{"id":"48efa6eb-322c-43bd-8e51-6b9518990307","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:49.263761458Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539229 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8080' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-8.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-8.yaml new file mode 100755 index 0000000..ea75241 --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-8.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-8 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:45.4930412Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:45 GMT + body: '{"id":"af6d7805-1b7d-46df-a20b-55e00d1c6e4e","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:50.413588394Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539230 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'Host: localhost:8080' \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-2/tests/test-9.yaml b/spring-boot-mongo/keploy/test-set-2/tests/test-9.yaml new file mode 100755 index 0000000..f7b4a3d --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-2/tests/test-9.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-9 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:44.804791561Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:44 GMT + body: '{"id":"00fa11e2-1e11-4ef4-bfbf-2ccf0aea0ef9","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:51.456630791Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539231 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'Host: localhost:8080' \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-3/mocks.yaml b/spring-boot-mongo/keploy/test-set-3/mocks.yaml new file mode 100755 index 0000000..168e969 --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-3/mocks.yaml @@ -0,0 +1,355 @@ +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-0 +spec: + metadata: + operation: '{ OpQuery flags: [], fullCollectionName: admin.$cmd, numberToSkip: 0, numberToReturn: -1, query: {"isMaster": {"$numberInt":"1"},"helloOk": true,"client": {"driver": {"name": "mongo-java-driver|sync|spring-boot","version": "4.9.1"},"os": {"type": "Linux","name": "Linux","architecture": "aarch64","version": "6.1.0-18-cloud-arm64"},"platform": "Java/Debian/17.0.10+7-Debian-1deb12u1"}}, returnFieldsSelector: }' + type: config + requests: + - header: + length: 311 + requestId: 2 + responseTo: 0 + Opcode: 2004 + message: + flags: 0 + collection_name: admin.$cmd + number_to_skip: 0 + number_to_return: -1 + query: '{"isMaster":{"$numberInt":"1"},"helloOk":true,"client":{"driver":{"name":"mongo-java-driver|sync|spring-boot","version":"4.9.1"},"os":{"type":"Linux","name":"Linux","architecture":"aarch64","version":"6.1.0-18-cloud-arm64"},"platform":"Java/Debian/17.0.10+7-Debian-1deb12u1"}}' + return_fields_selector: "" + responses: + - header: + length: 329 + requestId: 52 + responseTo: 2 + Opcode: 1 + message: + response_flags: 8 + cursor_id: 0 + starting_from: 0 + number_returned: 1 + documents: + - '{"helloOk":true,"ismaster":true,"topologyVersion":{"processId":{"$oid":"660403a3d51e110d440ddd8a"},"counter":{"$numberLong":"0"}},"maxBsonObjectSize":{"$numberInt":"16777216"},"maxMessageSizeBytes":{"$numberInt":"48000000"},"maxWriteBatchSize":{"$numberInt":"100000"},"localTime":{"$date":{"$numberLong":"1711539547254"}},"logicalSessionTimeoutMinutes":{"$numberInt":"30"},"connectionId":{"$numberInt":"7"},"minWireVersion":{"$numberInt":"0"},"maxWireVersion":{"$numberInt":"21"},"readOnly":false,"ok":{"$numberDouble":"1.0"}}' + read_delay: 28907302 + created: 1711539547 + reqTimestampMock: 2024-03-27T11:39:07.233950083Z + resTimestampMock: 2024-03-27T11:39:07.26419901Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-1 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"hello":{"$numberInt":"1"},"$db":"admin"} }], checksum: 0 }' + type: config + requests: + - header: + length: 52 + requestId: 4 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"hello":{"$numberInt":"1"},"$db":"admin"} }' + checksum: 0 + read_delay: 10089556390 + responses: + - header: + length: 313 + requestId: 54 + responseTo: 4 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"isWritablePrimary":true,"topologyVersion":{"processId":{"$oid":"660403a3d51e110d440ddd8a"},"counter":{"$numberLong":"0"}},"maxBsonObjectSize":{"$numberInt":"16777216"},"maxMessageSizeBytes":{"$numberInt":"48000000"},"maxWriteBatchSize":{"$numberInt":"100000"},"localTime":{"$date":{"$numberLong":"1711539557371"}},"logicalSessionTimeoutMinutes":{"$numberInt":"30"},"connectionId":{"$numberInt":"8"},"minWireVersion":{"$numberInt":"0"},"maxWireVersion":{"$numberInt":"21"},"readOnly":false,"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 12529656 + created: 1711539557 + reqTimestampMock: 2024-03-27T11:39:17.360430484Z + resTimestampMock: 2024-03-27T11:39:17.37763414Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-2 +spec: + metadata: + operation: '{ OpMsg flags: 65536, sections: [{ SectionSingle msg: {"hello":{"$numberInt":"1"},"helloOk":true,"topologyVersion":{"processId":{"$oid":"660403a3d51e110d440ddd8a"},"counter":{"$numberLong":"0"}},"maxAwaitTimeMS":{"$numberLong":"10000"},"$db":"admin","$readPreference":{"mode":"primaryPreferred"}} }], checksum: 0 }' + type: config + requests: + - header: + length: 197 + requestId: 3 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 65536 + sections: + - '{ SectionSingle msg: {"hello":{"$numberInt":"1"},"helloOk":true,"topologyVersion":{"processId":{"$oid":"660403a3d51e110d440ddd8a"},"counter":{"$numberLong":"0"}},"maxAwaitTimeMS":{"$numberLong":"10000"},"$db":"admin","$readPreference":{"mode":"primaryPreferred"}} }' + checksum: 0 + read_delay: 101134971 + responses: + - header: + length: 323 + requestId: 55 + responseTo: 3 + Opcode: 2013 + message: + flagBits: 2 + sections: + - '{ SectionSingle msg: {"helloOk":true,"isWritablePrimary":true,"topologyVersion":{"processId":{"$oid":"660403a3d51e110d440ddd8a"},"counter":{"$numberLong":"0"}},"maxBsonObjectSize":{"$numberInt":"16777216"},"maxMessageSizeBytes":{"$numberInt":"48000000"},"maxWriteBatchSize":{"$numberInt":"100000"},"localTime":{"$date":{"$numberLong":"1711539557378"}},"logicalSessionTimeoutMinutes":{"$numberInt":"30"},"connectionId":{"$numberInt":"7"},"minWireVersion":{"$numberInt":"0"},"maxWireVersion":{"$numberInt":"21"},"readOnly":false,"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 10014279864 + created: 1711539557 + reqTimestampMock: 2024-03-27T11:39:07.364471636Z + resTimestampMock: 2024-03-27T11:39:17.378982682Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-3 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:39:28 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539568 + reqTimestampMock: 2024-03-27T11:39:28.29260728Z + resTimestampMock: 2024-03-27T11:39:28.303108268Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-4 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "59" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:39:28 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539568 + reqTimestampMock: 2024-03-27T11:39:28.312083036Z + resTimestampMock: 2024-03-27T11:39:28.312503854Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-5 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"YTTng14JSCeZLGnfBsdmyA==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"FE9DLSIKRRxAf2GChn7utA==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"FE9DLSIKRRxAf2GChn7utA==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 7 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"YTTng14JSCeZLGnfBsdmyA==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"FE9DLSIKRRxAf2GChn7utA==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"FE9DLSIKRRxAf2GChn7utA==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 216775600 + responses: + - header: + length: 120 + requestId: 59 + responseTo: 7 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"FE9DLSIKRRxAf2GChn7utA==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 408011275 + created: 1711539569 + reqTimestampMock: 2024-03-27T11:39:28.944382963Z + resTimestampMock: 2024-03-27T11:39:29.408233636Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-6 +spec: + metadata: + name: Http + operation: POST + type: HTTP_CLIENT + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + Content-Length: "51" + Content-Type: application/json + User-Agent: Java/17.0.10 + body: '{"title": "Harry Potter", "author": "J.K. Rowling"}' + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 201 + header: + Content-Length: "0" + Date: Wed, 27 Mar 2024 11:40:00 GMT + body: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539600 + reqTimestampMock: 2024-03-27T11:40:00.955995066Z + resTimestampMock: 2024-03-27T11:40:00.968827325Z +--- +version: api.keploy.io/v1beta1 +kind: Http +name: mock-7 +spec: + metadata: + name: Http + operation: GET + type: HTTP_CLIENT + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: /books + header: + Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 + Connection: keep-alive + User-Agent: Java/17.0.10 + body: "" + timestamp: 0001-01-01T00:00:00Z + resp: + status_code: 200 + header: + Content-Length: "116" + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:40:00 GMT + body: | + [{"id":"","title":"Harry Potter","author":"J.K. Rowling"},{"id":"","title":"Harry Potter","author":"J.K. Rowling"}] + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + objects: [] + created: 1711539600 + reqTimestampMock: 2024-03-27T11:40:00.971653918Z + resTimestampMock: 2024-03-27T11:40:00.972809157Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-8 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"YTTng14JSCeZLGnfBsdmyA==","subType":"04"}}}} }, { SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"xk/1w3co0J0N8uAntDv5tg==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"xk/1w3co0J0N8uAntDv5tg==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }], checksum: 0 }' + requests: + - header: + length: 379 + requestId: 11 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"update":"PotionsDB","ordered":true,"$db":"Keploy","lsid":{"id":{"$binary":{"base64":"YTTng14JSCeZLGnfBsdmyA==","subType":"04"}}}} }' + - '{ SectionSingle identifier: updates , msgs: [ {"q":{"_id":{"$binary":{"base64":"xk/1w3co0J0N8uAntDv5tg==","subType":"03"}}},"u":{"_id":{"$binary":{"base64":"xk/1w3co0J0N8uAntDv5tg==","subType":"03"}},"name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":{"$numberInt":"3"},"quantity":{"$numberInt":"150"},"_class":"com.example.potionsapi.model.Potion"},"upsert":true} ] }' + checksum: 0 + read_delay: 31602894201 + responses: + - header: + length: 120 + requestId: 66 + responseTo: 11 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"n":{"$numberInt":"1"},"upserted":[{"index":{"$numberInt":"0"},"_id":{"$binary":{"base64":"xk/1w3co0J0N8uAntDv5tg==","subType":"03"}}}],"nModified":{"$numberInt":"0"},"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 21562720 + created: 1711539601 + reqTimestampMock: 2024-03-27T11:40:00.987397484Z + resTimestampMock: 2024-03-27T11:40:01.011425191Z +--- +version: api.keploy.io/v1beta1 +kind: Mongo +name: mock-9 +spec: + metadata: + operation: '{ OpMsg flags: 0, sections: [{ SectionSingle msg: {"endSessions":[{"id":{"$binary":{"base64":"YTTng14JSCeZLGnfBsdmyA==","subType":"04"}}}],"$db":"admin","$readPreference":{"mode":"primaryPreferred"}} }], checksum: 0 }' + requests: + - header: + length: 141 + requestId: 14 + responseTo: 0 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"endSessions":[{"id":{"$binary":{"base64":"YTTng14JSCeZLGnfBsdmyA==","subType":"04"}}}],"$db":"admin","$readPreference":{"mode":"primaryPreferred"}} }' + checksum: 0 + read_delay: 17749425046 + responses: + - header: + length: 38 + requestId: 71 + responseTo: 14 + Opcode: 2013 + message: + flagBits: 0 + sections: + - '{ SectionSingle msg: {"ok":{"$numberDouble":"1.0"}} }' + checksum: 0 + read_delay: 5952622 + created: 1711539618 + reqTimestampMock: 2024-03-27T11:40:18.759681664Z + resTimestampMock: 2024-03-27T11:40:18.77157674Z diff --git a/spring-boot-mongo/keploy/test-set-3/tests/test-1.yaml b/spring-boot-mongo/keploy/test-set-3/tests/test-1.yaml new file mode 100755 index 0000000..1527e3e --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-3/tests/test-1.yaml @@ -0,0 +1,53 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-1 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:39:27.893132829Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:39:30 GMT + body: '{"id":"1c450a22-2d43-4f14-b4ee-7e8682617f40","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:39:33.11570678Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539573 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'Host: localhost:8080' \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/test-set-3/tests/test-2.yaml b/spring-boot-mongo/keploy/test-set-3/tests/test-2.yaml new file mode 100755 index 0000000..19670aa --- /dev/null +++ b/spring-boot-mongo/keploy/test-set-3/tests/test-2.yaml @@ -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:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:40:00.932919002Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:40:01 GMT + body: '{"id":"9dd02877-c3f5-4fc6-b6f9-3bb427e0f20d","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:40:04.126811855Z + objects: [] + assertions: + noise: + body.quantity: [] + header.Date: [] + created: 1711539604 +curl: |- + curl --request POST \ + --url http://localhost:8080/potions \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8080' \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ + --data ' { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + }' diff --git a/spring-boot-mongo/keploy/testReports/test-run-10/report-1.yaml b/spring-boot-mongo/keploy/testReports/test-run-10/report-1.yaml new file mode 100755 index 0000000..c69505c --- /dev/null +++ b/spring-boot-mongo/keploy/testReports/test-run-10/report-1.yaml @@ -0,0 +1,1128 @@ +version: api.keploy.io/v1beta1 +name: report-1 +status: FAILED +success: 0 +failure: 16 +total: 16 +tests: + - kind: Http + name: report-1 + status: FAILED + started: 1711539345 + completed: 1711539346 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-1 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:20.910789296Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:22 GMT + body: '{"id":"b38f29cb-db2b-4024-816f-7bebf2fee6d0","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:24.889064623Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:22 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:46 GMT + body_result: + - normal: false + expected: '{"id":"b38f29cb-db2b-4024-816f-7bebf2fee6d0","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"dffac4bb-df7a-4855-929a-e998169bf314","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539346 + completed: 1711539346 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-2 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:39.984418033Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:40 GMT + body: '{"id":"15f92166-cd6d-4002-a2a7-7a155a1d570f","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:43.058830502Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:40 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:46 GMT + body_result: + - normal: false + expected: '{"id":"15f92166-cd6d-4002-a2a7-7a155a1d570f","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"1ed6abf7-57d4-4231-89ab-3f3a123cc1f8","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539346 + completed: 1711539346 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-3 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:41.153304136Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:41 GMT + body: '{"id":"02cc2399-4d0c-4e36-a8a7-57373a5c6ecc","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:44.101130719Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:41 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:46 GMT + body_result: + - normal: false + expected: '{"id":"02cc2399-4d0c-4e36-a8a7-57373a5c6ecc","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"1b049c20-b446-4b03-8de8-e3196a5db82e","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539346 + completed: 1711539346 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-4 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:41.934130428Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:41 GMT + body: '{"id":"00147f46-9304-40fa-aabe-15f0fad0a077","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:45.232672429Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:41 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:46 GMT + body_result: + - normal: false + expected: '{"id":"00147f46-9304-40fa-aabe-15f0fad0a077","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"c38c3944-d5e9-4e7d-bc57-59d7ad3dc319","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539346 + completed: 1711539346 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-5 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:42.636623655Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:42 GMT + body: '{"id":"cf20dd0e-a33e-46bf-9745-7f33be87d97d","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:47.191381187Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:42 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:46 GMT + body_result: + - normal: false + expected: '{"id":"cf20dd0e-a33e-46bf-9745-7f33be87d97d","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"0db9b441-dbd6-490f-82e7-658cbc11aa25","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539346 + completed: 1711539346 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-6 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:43.311846233Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:42 GMT + body: '{"id":"ddb9f165-5e90-418d-822b-bb294fa59c9c","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:48.227139212Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:42 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:46 GMT + body_result: + - normal: false + expected: '{"id":"ddb9f165-5e90-418d-822b-bb294fa59c9c","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"e5f0e5f4-630d-4bcc-a6e0-62edee878b8e","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539346 + completed: 1711539347 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-7 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:44.02569504Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:44 GMT + body: '{"id":"48efa6eb-322c-43bd-8e51-6b9518990307","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:49.263761458Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:44 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:46 GMT + body_result: + - normal: false + expected: '{"id":"48efa6eb-322c-43bd-8e51-6b9518990307","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"a5fa3fa9-4d82-40b0-9c73-c582f3f10e91","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539347 + completed: 1711539347 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-9 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:44.804791561Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:44 GMT + body: '{"id":"00fa11e2-1e11-4ef4-bfbf-2ccf0aea0ef9","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:51.456630791Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:44 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:46 GMT + body_result: + - normal: false + expected: '{"id":"00fa11e2-1e11-4ef4-bfbf-2ccf0aea0ef9","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"8d2d1621-5469-4afe-bb79-aa9d0df4d867","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539347 + completed: 1711539347 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-8 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:45.4930412Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:45 GMT + body: '{"id":"af6d7805-1b7d-46df-a20b-55e00d1c6e4e","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:50.413588394Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:45 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:46 GMT + body_result: + - normal: false + expected: '{"id":"af6d7805-1b7d-46df-a20b-55e00d1c6e4e","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"14dfc1cc-54e7-4f7a-a098-b5bc607dbe00","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539347 + completed: 1711539347 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-10 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:46.247935555Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:45 GMT + body: '{"id":"c7c40db5-1615-4176-9564-f8d137183b7f","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:52.491040905Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:45 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:47 GMT + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + body_result: + - normal: false + expected: '{"id":"c7c40db5-1615-4176-9564-f8d137183b7f","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"037a2472-fe31-425a-8b64-fa92e7699c47","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539347 + completed: 1711539347 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-14 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:46.978549821Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:46 GMT + body: '{"id":"8bdc1ce5-6f15-446f-8ff9-d8ad5a8617e6","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:56.775238549Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:46 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:47 GMT + body_result: + - normal: false + expected: '{"id":"8bdc1ce5-6f15-446f-8ff9-d8ad5a8617e6","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"a224b2b6-4ab8-48fd-9bee-ede3585e78a8","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539347 + completed: 1711539347 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-12 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:47.739882827Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:46 GMT + body: '{"id":"a8e3885c-58d7-41d0-9fdf-76cf83d0bffb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:54.589064657Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:46 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:47 GMT + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + body_result: + - normal: false + expected: '{"id":"a8e3885c-58d7-41d0-9fdf-76cf83d0bffb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"01136b3c-28ac-49c9-93a6-51979b529b44","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539347 + completed: 1711539347 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-13 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:48.759607775Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:48 GMT + body: '{"id":"f701e91f-f97b-4ccb-b7af-c75dcd4572f8","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:55.63639191Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:48 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:47 GMT + body_result: + - normal: false + expected: '{"id":"f701e91f-f97b-4ccb-b7af-c75dcd4572f8","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"db0f1bde-67d3-4627-8982-9d602b5dd18c","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539347 + completed: 1711539347 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-11 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:49.456137014Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:48 GMT + body: '{"id":"e02209f9-365f-4d7a-b783-0a84c970f16c","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:53.535258712Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:48 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:47 GMT + body_result: + - normal: false + expected: '{"id":"e02209f9-365f-4d7a-b783-0a84c970f16c","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"e99404c3-aae3-481d-91d7-05bcae5a76bc","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539347 + completed: 1711539347 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-15 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:50.151886329Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:50 GMT + body: '{"id":"b866b265-fe5f-4e9b-9c4c-278ae368d5d6","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:58.720901153Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:50 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:47 GMT + body_result: + - normal: false + expected: '{"id":"b866b265-fe5f-4e9b-9c4c-278ae368d5d6","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"b158c95d-6ad2-4f20-ac92-905342eb11c0","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539347 + completed: 1711539347 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-2/mocks.yaml + test_case_id: test-16 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:33:50.840243479Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:33:50 GMT + body: '{"id":"dfc16b09-f9fd-4ba0-a9f1-cf4bf77114db","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:33:59.7832178Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:33:50 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:35:47 GMT + body_result: + - normal: false + expected: '{"id":"dfc16b09-f9fd-4ba0-a9f1-cf4bf77114db","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"c86b8c19-677e-4b1b-897a-c0571293639b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] +test_set: test-set-2 diff --git a/spring-boot-mongo/keploy/testReports/test-run-11/report-1.yaml b/spring-boot-mongo/keploy/testReports/test-run-11/report-1.yaml new file mode 100755 index 0000000..27e4c4f --- /dev/null +++ b/spring-boot-mongo/keploy/testReports/test-run-11/report-1.yaml @@ -0,0 +1,148 @@ +version: api.keploy.io/v1beta1 +name: report-1 +status: FAILED +success: 0 +failure: 2 +total: 2 +tests: + - kind: Http + name: report-1 + status: FAILED + started: 1711539656 + completed: 1711539657 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-3 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-3/mocks.yaml + test_case_id: test-1 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:39:27.893132829Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:39:30 GMT + body: '{"id":"1c450a22-2d43-4f14-b4ee-7e8682617f40","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:39:33.11570678Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:39:30 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:40:57 GMT + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + body_result: + - normal: false + expected: '{"id":"1c450a22-2d43-4f14-b4ee-7e8682617f40","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"04c14edd-4e91-48fe-978c-5953f9d7327b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539657 + completed: 1711539657 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-3 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-3/mocks.yaml + test_case_id: test-2 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:40:00.932919002Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:40:01 GMT + body: '{"id":"9dd02877-c3f5-4fc6-b6f9-3bb427e0f20d","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:40:04.126811855Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:40:01 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:40:57 GMT + body_result: + - normal: false + expected: '{"id":"9dd02877-c3f5-4fc6-b6f9-3bb427e0f20d","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"be326b33-4ecd-425d-a4b6-6688ff5371c2","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] +test_set: test-set-3 diff --git a/spring-boot-mongo/keploy/testReports/test-run-12/report-1.yaml b/spring-boot-mongo/keploy/testReports/test-run-12/report-1.yaml new file mode 100755 index 0000000..b0abfc4 --- /dev/null +++ b/spring-boot-mongo/keploy/testReports/test-run-12/report-1.yaml @@ -0,0 +1,148 @@ +version: api.keploy.io/v1beta1 +name: report-1 +status: FAILED +success: 0 +failure: 2 +total: 2 +tests: + - kind: Http + name: report-1 + status: FAILED + started: 1711539729 + completed: 1711539730 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-3 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-3/mocks.yaml + test_case_id: test-1 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:39:27.893132829Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:39:30 GMT + body: '{"id":"1c450a22-2d43-4f14-b4ee-7e8682617f40","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:39:33.11570678Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:39:30 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:42:10 GMT + body_result: + - normal: false + expected: '{"id":"1c450a22-2d43-4f14-b4ee-7e8682617f40","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"7d95fcbb-cb2c-4211-9b4d-a208839ac240","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539730 + completed: 1711539730 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-3 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-3/mocks.yaml + test_case_id: test-2 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:40:00.932919002Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:40:01 GMT + body: '{"id":"9dd02877-c3f5-4fc6-b6f9-3bb427e0f20d","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:40:04.126811855Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:40:01 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:42:10 GMT + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + body_result: + - normal: false + expected: '{"id":"9dd02877-c3f5-4fc6-b6f9-3bb427e0f20d","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"cf708aec-210b-4755-b5c0-712ce6af9f54","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] +test_set: test-set-3 diff --git a/spring-boot-mongo/keploy/testReports/test-run-13/report-1.yaml b/spring-boot-mongo/keploy/testReports/test-run-13/report-1.yaml new file mode 100755 index 0000000..b0ed358 --- /dev/null +++ b/spring-boot-mongo/keploy/testReports/test-run-13/report-1.yaml @@ -0,0 +1,148 @@ +version: api.keploy.io/v1beta1 +name: report-1 +status: FAILED +success: 0 +failure: 2 +total: 2 +tests: + - kind: Http + name: report-1 + status: FAILED + started: 1711539829 + completed: 1711539830 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-3 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-3/mocks.yaml + test_case_id: test-1 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:39:27.893132829Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:39:30 GMT + body: '{"id":"1c450a22-2d43-4f14-b4ee-7e8682617f40","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:39:33.11570678Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:39:30 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:43:50 GMT + body_result: + - normal: false + expected: '{"id":"1c450a22-2d43-4f14-b4ee-7e8682617f40","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"b91724e5-e723-41a9-86ba-be9dc6cac68a","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711539830 + completed: 1711539830 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-3 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-3/mocks.yaml + test_case_id: test-2 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T11:40:00.932919002Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 11:40:01 GMT + body: '{"id":"9dd02877-c3f5-4fc6-b6f9-3bb427e0f20d","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T11:40:04.126811855Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 11:40:01 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 11:43:50 GMT + body_result: + - normal: false + expected: '{"id":"9dd02877-c3f5-4fc6-b6f9-3bb427e0f20d","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"b02fdffb-9430-4e7b-a6ad-11522b0c9f92","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] +test_set: test-set-3 diff --git a/spring-boot-mongo/keploy/testReports/test-run-2/report-1.yaml b/spring-boot-mongo/keploy/testReports/test-run-2/report-1.yaml new file mode 100755 index 0000000..4e5deb1 --- /dev/null +++ b/spring-boot-mongo/keploy/testReports/test-run-2/report-1.yaml @@ -0,0 +1,263 @@ +version: api.keploy.io/v1beta1 +name: report-1 +status: FAILED +success: 3 +failure: 1 +total: 4 +tests: + - kind: Http + name: report-1 + status: PASSED + started: 1711534528 + completed: 1711534528 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-0 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-0/mocks.yaml + test_case_id: test-1 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.81.0 + body: "" + timestamp: 2023-11-28T18:27:09.657931672+05:30 + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Tue, 28 Nov 2023 12:57:10 GMT + body: '[{"id":"62f27cad-c9c9-425b-91f0-a6cd26201a00","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 2023-11-28T18:27:13.791686894+05:30 + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Tue, 28 Nov 2023 12:57:10 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:15:28 GMT + body_result: + - normal: true + expected: '[{"id":"62f27cad-c9c9-425b-91f0-a6cd26201a00","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"62f27cad-c9c9-425b-91f0-a6cd26201a00","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711534528 + completed: 1711534531 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-0 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-0/mocks.yaml + test_case_id: test-2 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.81.0 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2023-11-28T18:27:48.174482586+05:30 + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Tue, 28 Nov 2023 12:57:48 GMT + body: '{"id":"21fac58b-8c6c-4d4a-bef8-0034324bae29","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 2023-11-28T18:27:51.486206401+05:30 + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: false + expected: 200 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Tue, 28 Nov 2023 12:57:48 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:15:31 GMT + body_result: + - normal: false + expected: '{"id":"21fac58b-8c6c-4d4a-bef8-0034324bae29","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"b9e10e8a-b077-495c-9257-8f1f65df3081","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711534531 + completed: 1711534531 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-0 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-0/mocks.yaml + test_case_id: test-3 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions/21fac58b-8c6c-4d4a-bef8-0034324bae29 + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.81.0 + body: "" + timestamp: 2023-11-28T18:28:12.036393267+05:30 + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Tue, 28 Nov 2023 12:58:12 GMT + body: '{"id":"21fac58b-8c6c-4d4a-bef8-0034324bae29","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 2023-11-28T18:28:15.914028567+05:30 + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Tue, 28 Nov 2023 12:58:12 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:15:31 GMT + body_result: + - normal: true + expected: '{"id":"21fac58b-8c6c-4d4a-bef8-0034324bae29","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"21fac58b-8c6c-4d4a-bef8-0034324bae29","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711534531 + completed: 1711534531 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-0 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-0/mocks.yaml + test_case_id: test-4 + req: + method: DELETE + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions/21fac58b-8c6c-4d4a-bef8-0034324bae29 + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.81.0 + body: "" + timestamp: 2023-11-28T18:28:24.09510735+05:30 + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Tue, 28 Nov 2023 12:58:24 GMT + body: '"OK"' + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 2023-11-28T18:28:27.678879794+05:30 + noise: + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Tue, 28 Nov 2023 12:58:24 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:15:31 GMT + body_result: + - normal: true + expected: '"OK"' + actual: '"OK"' + type: JSON + dep_result: [] +test_set: test-set-0 diff --git a/spring-boot-mongo/keploy/testReports/test-run-2/report-2.yaml b/spring-boot-mongo/keploy/testReports/test-run-2/report-2.yaml new file mode 100755 index 0000000..5ba1f33 --- /dev/null +++ b/spring-boot-mongo/keploy/testReports/test-run-2/report-2.yaml @@ -0,0 +1,412 @@ +version: api.keploy.io/v1beta1 +name: report-2 +status: FAILED +success: 2 +failure: 4 +total: 6 +tests: + - kind: Http + name: report-2 + status: FAILED + started: 1711534542 + completed: 1711534545 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-1 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:12:54.574769463Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:12:59 GMT + body: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:01.640226925Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:12:59 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:15:45 GMT + body_result: + - normal: false + expected: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"19a82f7e-d1a3-407e-9bc5-188578bdb705","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-2 + status: PASSED + started: 1711534545 + completed: 1711534545 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-2 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:34.679302671Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:34 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:37.802077401Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:34 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:15:45 GMT + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-2 + status: PASSED + started: 1711534545 + completed: 1711534545 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-3 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:41.336467844Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:41 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:44.364336116Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:41 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:15:45 GMT + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-2 + status: FAILED + started: 1711534545 + completed: 1711534548 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-4 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:13:43.289867755Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:47 GMT + body: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:50.349111782Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:47 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:15:48 GMT + body_result: + - normal: false + expected: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"c00ef16e-11b7-46ee-b7e3-a12154ea679c","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-2 + status: FAILED + started: 1711534548 + completed: 1711534551 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-5 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:04.461434998Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:07 GMT + body: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:09.484299876Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:07 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:15:51 GMT + body_result: + - normal: false + expected: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"b3f0d274-03d0-4669-84be-00eef70de25b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-2 + status: FAILED + started: 1711534551 + completed: 1711534554 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-6 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:11.25780049Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:14 GMT + body: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:17.290363968Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:14 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:15:54 GMT + body_result: + - normal: false + expected: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"6ab72e69-b354-4194-981f-1b8be13d4d04","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] +test_set: test-set-1 diff --git a/spring-boot-mongo/keploy/testReports/test-run-3/report-1.yaml b/spring-boot-mongo/keploy/testReports/test-run-3/report-1.yaml new file mode 100755 index 0000000..c84eb1d --- /dev/null +++ b/spring-boot-mongo/keploy/testReports/test-run-3/report-1.yaml @@ -0,0 +1,7 @@ +version: api.keploy.io/v1beta1 +name: report-1 +status: USER_ABORT +success: 0 +failure: 0 +total: 0 +test_set: test-set-1 diff --git a/spring-boot-mongo/keploy/testReports/test-run-4/report-1.yaml b/spring-boot-mongo/keploy/testReports/test-run-4/report-1.yaml new file mode 100755 index 0000000..bd1f5a4 --- /dev/null +++ b/spring-boot-mongo/keploy/testReports/test-run-4/report-1.yaml @@ -0,0 +1,412 @@ +version: api.keploy.io/v1beta1 +name: report-1 +status: FAILED +success: 2 +failure: 4 +total: 6 +tests: + - kind: Http + name: report-1 + status: FAILED + started: 1711534653 + completed: 1711534655 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-1 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:12:54.574769463Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:12:59 GMT + body: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:01.640226925Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:12:59 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:17:35 GMT + body_result: + - normal: false + expected: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"b0088026-d4ad-4dd5-a536-4ea3bc329447","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711534655 + completed: 1711534655 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-2 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:34.679302671Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:34 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:37.802077401Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:34 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:17:35 GMT + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711534655 + completed: 1711534655 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-3 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:41.336467844Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:41 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:44.364336116Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:41 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:17:35 GMT + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711534655 + completed: 1711534656 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-4 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:13:43.289867755Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:47 GMT + body: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:50.349111782Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:47 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:17:36 GMT + body_result: + - normal: false + expected: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"1c8fbc23-2d68-4ba7-82a5-8f5bb8ca87b5","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711534656 + completed: 1711534657 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-5 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:04.461434998Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:07 GMT + body: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:09.484299876Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:07 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:17:37 GMT + body_result: + - normal: false + expected: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"6cf02444-40ee-493b-a2e9-185a6719ba22","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711534657 + completed: 1711534658 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-6 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:11.25780049Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:14 GMT + body: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:17.290363968Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:14 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:17:38 GMT + body_result: + - normal: false + expected: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"ffb6384e-2f9a-429c-9929-2f51d8d2573f","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] +test_set: test-set-1 diff --git a/spring-boot-mongo/keploy/testReports/test-run-5/report-1.yaml b/spring-boot-mongo/keploy/testReports/test-run-5/report-1.yaml new file mode 100755 index 0000000..7ff7dfd --- /dev/null +++ b/spring-boot-mongo/keploy/testReports/test-run-5/report-1.yaml @@ -0,0 +1,412 @@ +version: api.keploy.io/v1beta1 +name: report-1 +status: FAILED +success: 2 +failure: 4 +total: 6 +tests: + - kind: Http + name: report-1 + status: FAILED + started: 1711534762 + completed: 1711534767 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-1 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:12:54.574769463Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:12:59 GMT + body: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:01.640226925Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:12:59 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:19:27 GMT + body_result: + - normal: false + expected: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"5ef3c003-aa66-4b8c-b1de-b7492813a9ed","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711534767 + completed: 1711534767 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-2 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:34.679302671Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:34 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:37.802077401Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:34 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:19:27 GMT + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711534767 + completed: 1711534767 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-3 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:41.336467844Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:41 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:44.364336116Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:41 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:19:27 GMT + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711534767 + completed: 1711534768 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-4 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:13:43.289867755Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:47 GMT + body: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:50.349111782Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:47 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:19:28 GMT + body_result: + - normal: false + expected: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"dd0b4e02-0ef4-4c3d-a186-3d4d4a6b3b1d","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711534769 + completed: 1711534770 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-5 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:04.461434998Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:07 GMT + body: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:09.484299876Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:07 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:19:30 GMT + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + body_result: + - normal: false + expected: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"df874751-642c-4317-bccf-bc5ad0b22527","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711534770 + completed: 1711534771 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-6 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:11.25780049Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:14 GMT + body: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:17.290363968Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:14 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:19:31 GMT + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + body_result: + - normal: false + expected: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"2d9badb4-0888-4177-b202-6791c9d69a2c","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] +test_set: test-set-1 diff --git a/spring-boot-mongo/keploy/testReports/test-run-6/report-1.yaml b/spring-boot-mongo/keploy/testReports/test-run-6/report-1.yaml new file mode 100755 index 0000000..7462e97 --- /dev/null +++ b/spring-boot-mongo/keploy/testReports/test-run-6/report-1.yaml @@ -0,0 +1,412 @@ +version: api.keploy.io/v1beta1 +name: report-1 +status: FAILED +success: 2 +failure: 4 +total: 6 +tests: + - kind: Http + name: report-1 + status: FAILED + started: 1711535930 + completed: 1711535932 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-1 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:12:54.574769463Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:12:59 GMT + body: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:01.640226925Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:12:59 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:38:52 GMT + body_result: + - normal: false + expected: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"78f870a0-b1e5-40a8-a6c3-15aed09e46d1","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711535932 + completed: 1711535932 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-2 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:34.679302671Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:34 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:37.802077401Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:34 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:38:52 GMT + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711535932 + completed: 1711535932 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-3 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:41.336467844Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:41 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:44.364336116Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:41 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:38:52 GMT + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711535932 + completed: 1711535933 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-4 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:13:43.289867755Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:47 GMT + body: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:50.349111782Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:47 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:38:53 GMT + body_result: + - normal: false + expected: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"93475c1d-8d77-4152-b823-813daf48563d","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711535933 + completed: 1711535934 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-5 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:04.461434998Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:07 GMT + body: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:09.484299876Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:07 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:38:54 GMT + body_result: + - normal: false + expected: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"4b6564fa-d16e-4a14-a0f9-6fda5473e895","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711535934 + completed: 1711535935 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-6 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:11.25780049Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:14 GMT + body: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:17.290363968Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:14 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:38:55 GMT + body_result: + - normal: false + expected: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"18636913-6643-411c-8b35-21f9605b441d","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] +test_set: test-set-1 diff --git a/spring-boot-mongo/keploy/testReports/test-run-7/report-1.yaml b/spring-boot-mongo/keploy/testReports/test-run-7/report-1.yaml new file mode 100755 index 0000000..7947e9e --- /dev/null +++ b/spring-boot-mongo/keploy/testReports/test-run-7/report-1.yaml @@ -0,0 +1,412 @@ +version: api.keploy.io/v1beta1 +name: report-1 +status: FAILED +success: 2 +failure: 4 +total: 6 +tests: + - kind: Http + name: report-1 + status: FAILED + started: 1711535990 + completed: 1711535992 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-1 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:12:54.574769463Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:12:59 GMT + body: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:01.640226925Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:12:59 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:39:52 GMT + body_result: + - normal: false + expected: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"d5c32265-6c94-4d1d-ad6a-7c7716d911b0","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711535992 + completed: 1711535992 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-2 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:34.679302671Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:34 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:37.802077401Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:34 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:39:52 GMT + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711535992 + completed: 1711535992 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-3 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:41.336467844Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:41 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:44.364336116Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:41 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:39:52 GMT + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711535992 + completed: 1711535993 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-4 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:13:43.289867755Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:47 GMT + body: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:50.349111782Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:47 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:39:53 GMT + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + body_result: + - normal: false + expected: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"f35807b7-78ee-468f-a990-6ce45112c1e5","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711535993 + completed: 1711535995 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-5 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:04.461434998Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:07 GMT + body: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:09.484299876Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:07 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:39:55 GMT + body_result: + - normal: false + expected: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"6b677d21-6d14-444b-b7a7-149376391613","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711535995 + completed: 1711535996 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-6 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:11.25780049Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:14 GMT + body: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:17.290363968Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:14 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:39:56 GMT + body_result: + - normal: false + expected: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"b312d390-25aa-47a1-878c-8f64e7647a85","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] +test_set: test-set-1 diff --git a/spring-boot-mongo/keploy/testReports/test-run-8/report-1.yaml b/spring-boot-mongo/keploy/testReports/test-run-8/report-1.yaml new file mode 100755 index 0000000..9fc32ef --- /dev/null +++ b/spring-boot-mongo/keploy/testReports/test-run-8/report-1.yaml @@ -0,0 +1,412 @@ +version: api.keploy.io/v1beta1 +name: report-1 +status: FAILED +success: 2 +failure: 4 +total: 6 +tests: + - kind: Http + name: report-1 + status: FAILED + started: 1711536157 + completed: 1711536159 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-1 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:12:54.574769463Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:12:59 GMT + body: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:01.640226925Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:12:59 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:42:39 GMT + body_result: + - normal: false + expected: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"6bbfde4a-82da-412f-9978-3becffc82136","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711536159 + completed: 1711536159 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-2 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:34.679302671Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:34 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:37.802077401Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:34 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:42:39 GMT + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711536159 + completed: 1711536159 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-3 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:41.336467844Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:41 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:44.364336116Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:41 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:42:39 GMT + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711536159 + completed: 1711536160 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-4 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:13:43.289867755Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:47 GMT + body: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:50.349111782Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:47 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:42:40 GMT + body_result: + - normal: false + expected: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"abcc3fee-14f7-458b-84a6-d82338895da1","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711536160 + completed: 1711536161 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-5 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:04.461434998Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:07 GMT + body: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:09.484299876Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:07 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:42:41 GMT + body_result: + - normal: false + expected: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"4dba38ce-aa94-4c25-9dbd-86bdd6f772a1","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711536161 + completed: 1711536162 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-6 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:11.25780049Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:14 GMT + body: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:17.290363968Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:14 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:42:42 GMT + body_result: + - normal: false + expected: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"c37c45eb-8832-4e3b-8e51-5026fd55123c","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] +test_set: test-set-1 diff --git a/spring-boot-mongo/keploy/testReports/test-run-9/report-1.yaml b/spring-boot-mongo/keploy/testReports/test-run-9/report-1.yaml new file mode 100755 index 0000000..f851070 --- /dev/null +++ b/spring-boot-mongo/keploy/testReports/test-run-9/report-1.yaml @@ -0,0 +1,412 @@ +version: api.keploy.io/v1beta1 +name: report-1 +status: FAILED +success: 2 +failure: 4 +total: 6 +tests: + - kind: Http + name: report-1 + status: FAILED + started: 1711536217 + completed: 1711536219 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-1 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:12:54.574769463Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:12:59 GMT + body: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:01.640226925Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:12:59 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:43:39 GMT + body_result: + - normal: false + expected: '{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"2600a8c2-c36a-4f11-b79c-09e004661613","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711536219 + completed: 1711536219 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-2 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:34.679302671Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:34 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:37.802077401Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:34 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:43:39 GMT + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1711536219 + completed: 1711536219 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-3 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2024-03-27T10:13:41.336467844Z + resp: + status_code: 200 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:41 GMT + body: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:44.364336116Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:41 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:43:39 GMT + body_result: + - normal: true + expected: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + actual: '[{"id":"53b50e47-472e-4336-91e3-7b37acc6af16","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150},{"id":"f746bd94-8b7f-43f0-8c33-808fab48f6bb","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}]' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711536219 + completed: 1711536220 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-4 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:13:43.289867755Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:13:47 GMT + body: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:13:50.349111782Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:13:47 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:43:40 GMT + body_result: + - normal: false + expected: '{"id":"2d2a6754-8a73-4051-a207-9a86a493f663","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"f753e5dc-943e-4dbd-abc8-1b85b2d237f3","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711536220 + completed: 1711536221 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-5 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:04.461434998Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:07 GMT + body: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:09.484299876Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:07 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:43:41 GMT + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + body_result: + - normal: false + expected: '{"id":"25b7605c-ff1d-4b62-8498-f6d0fae47f4b","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"f0cc345b-431c-442f-8985-7ed769d88c8c","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] + - kind: Http + name: report-1 + status: FAILED + started: 1711536221 + completed: 1711536222 + test_case_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1 + mock_path: /Users/sarthak_1/Documents/Keploy/Lima-workspace/beta/samples-java/spring-boot-mongo/keploy/test-set-1/mocks.yaml + test_case_id: test-6 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8080/potions + header: + Accept: '*/*' + Content-Length: "195" + Content-Type: application/json + Host: localhost:8080 + User-Agent: curl/7.88.1 + body: |4- + { + "name": "Strength Potion v2", + "description": "Enhances the drinker's physical strength temporarily.", + "bottle": 3, + "quantity": 150 + } + timestamp: 2024-03-27T10:14:11.25780049Z + resp: + status_code: 500 + header: + Content-Type: application/json + Date: Wed, 27 Mar 2024 10:14:14 GMT + body: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + status_message: Internal Server Error + proto_major: 0 + proto_minor: 0 + timestamp: 2024-03-27T10:14:17.290363968Z + noise: + body.quantity: [] + header.Date: [] + result: + status_code: + normal: true + expected: 500 + actual: 500 + headers_result: + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Wed, 27 Mar 2024 10:14:14 GMT + actual: + key: Date + value: + - Wed, 27 Mar 2024 10:43:42 GMT + body_result: + - normal: false + expected: '{"id":"02066a65-235a-48d6-99c0-554518f3f2fd","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + actual: '{"id":"6ad31426-41d6-4b6d-8d8c-22fe1e675caf","name":"Strength Potion v2","description":"Enhances the drinker''s physical strength temporarily.","bottle":3,"quantity":150}' + type: JSON + dep_result: [] +test_set: test-set-1 diff --git a/spring-boot-mongo/pom.xml b/spring-boot-mongo/pom.xml index 3ca7b27..701f262 100755 --- a/spring-boot-mongo/pom.xml +++ b/spring-boot-mongo/pom.xml @@ -14,7 +14,7 @@ PotionsAPI PotionsAPI - 20 + 17 1.8 1.8 diff --git a/spring-boot-mongo/src/main/java/com/example/potionsapi/controller/PotionController.java b/spring-boot-mongo/src/main/java/com/example/potionsapi/controller/PotionController.java index 6493746..9f3bef3 100755 --- a/spring-boot-mongo/src/main/java/com/example/potionsapi/controller/PotionController.java +++ b/spring-boot-mongo/src/main/java/com/example/potionsapi/controller/PotionController.java @@ -1,12 +1,26 @@ package com.example.potionsapi.controller; +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; +import java.io.OutputStream; +import java.net.HttpURLConnection; import java.util.List; import java.util.UUID; +import java.net.HttpURLConnection; +import java.net.URL; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.HttpEntity; +import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; +import org.springframework.http.HttpEntity; +import org.springframework.http.HttpHeaders; +import org.springframework.http.HttpMethod; +import org.springframework.http.ResponseEntity; +import org.springframework.web.client.RestTemplate; import com.example.potionsapi.model.Potion; import com.example.potionsapi.service.PotionService; @@ -17,41 +31,99 @@ public class PotionController { @Autowired private PotionService potionService; - @GetMapping("/") // http://localhost:8080 + @GetMapping("/") // http://localhost:8080 public ResponseEntity homePage() { return ResponseEntity.ok().body("

Hello world

"); } - @GetMapping("/potions") // http://localhost:8080/potions - public ResponseEntity > getAllPotion() { + @GetMapping("/potions") // http://localhost:8080/potions + public ResponseEntity> getAllPotion() { return ResponseEntity.ok().body(potionService.getAllPotion()); } - @GetMapping("/potions/{id}") // http://localhost:8080/potions/8ab097b9-1a2f-46ab-8825-74313d9eb53c - public ResponseEntity getPotionById( @PathVariable UUID id ) { + @GetMapping("/potions/{id}") // http://localhost:8080/potions/8ab097b9-1a2f-46ab-8825-74313d9eb53c + public ResponseEntity getPotionById(@PathVariable UUID id) { return ResponseEntity.ok().body(potionService.getPotionById(id)); } -// @GetMapping("/potions/{name}") -// public ResponseEntity getPotionByName( @PathVariable String name ) { -// return ResponseEntity.ok().body(potionService.getPotionByName(name)); -// } + // @GetMapping("/potions/{name}") + // public ResponseEntity getPotionByName( @PathVariable String name ) { + // return ResponseEntity.ok().body(potionService.getPotionByName(name)); + // } - @PostMapping("/potions") // http://localhost:8080/potions - public ResponseEntity createPotion(@RequestBody Potion potion) { + @PostMapping("/potions") + public ResponseEntity createPotion(@RequestBody Potion potion) { UUID id = UUID.randomUUID(); potion.setId(id); - return ResponseEntity.ok().body(this.potionService.createPotion(potion)); + // Make an HTTP client call to a random URL + try { + // Create a new book + createBook("Harry Potter", "J.K. Rowling"); + + // Get all books + getBooks(); + } catch (IOException e) { + e.printStackTrace(); + } + // create a new potion + Potion createdPotion = this.potionService.createPotion(potion); + return ResponseEntity.ok().body(createdPotion); } - @PutMapping("/potions/{id}") // http://localhost:8080/potions/8ab097b9-1a2f-46ab-8825-74313d9eb53c - public ResponseEntity updatePotion(@PathVariable UUID id, @RequestBody Potion potion) { //removed @ResponseBody from here + @PutMapping("/potions/{id}") // http://localhost:8080/potions/8ab097b9-1a2f-46ab-8825-74313d9eb53c + public ResponseEntity updatePotion(@PathVariable UUID id, @RequestBody Potion potion) { // removed + // @ResponseBody // + // from here return ResponseEntity.ok().body(this.potionService.updatePotion(id, potion)); } - @DeleteMapping("/potions/{id}") // http://localhost:8080/potions/8ab097b9-1a2f-46ab-8825-74313d9eb53c + @DeleteMapping("/potions/{id}") // http://localhost:8080/potions/8ab097b9-1a2f-46ab-8825-74313d9eb53c public HttpStatus deletePotion(@PathVariable UUID id) { this.potionService.deletePotion(id); return HttpStatus.OK; } -} \ No newline at end of file + + private static void createBook(String title, String author) throws IOException { + URL url = new URL("http://localhost:8085/books"); + HttpURLConnection conn = (HttpURLConnection) url.openConnection(); + conn.setRequestMethod("POST"); + conn.setRequestProperty("Content-Type", "application/json"); + conn.setDoOutput(true); + + String jsonInputString = "{\"title\": \"" + title + "\", \"author\": \"" + author + "\"}"; + + try (OutputStream os = conn.getOutputStream()) { + byte[] input = jsonInputString.getBytes("utf-8"); + os.write(input, 0, input.length); + } + + try (BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), "utf-8"))) { + StringBuilder response = new StringBuilder(); + String responseLine = null; + while ((responseLine = br.readLine()) != null) { + response.append(responseLine.trim()); + } + System.out.println("Response: " + response.toString()); + } + + conn.disconnect(); + } + + private static void getBooks() throws IOException { + URL url = new URL("http://localhost:8085/books"); + HttpURLConnection conn = (HttpURLConnection) url.openConnection(); + conn.setRequestMethod("GET"); + + try (BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), "utf-8"))) { + StringBuilder response = new StringBuilder(); + String responseLine = null; + while ((responseLine = br.readLine()) != null) { + response.append(responseLine.trim()); + } + System.out.println("Response: " + response.toString()); + } + + conn.disconnect(); + + } +}