From fc411f3ca11be73cba4187dc94c8c9346cce7e14 Mon Sep 17 00:00:00 2001 From: Pranshu Srivastava <37413698+PranshuSrivastava@users.noreply.github.com> Date: Tue, 13 Feb 2024 23:15:22 +0530 Subject: [PATCH 1/9] docs: Updated petclinic README (#67) * updated petclinic README Signed-off-by: Pranshu Srivastava * docs: updated Petclinic README Signed-off-by: Pranshu Srivastava * docs: made changes according to comments Signed-off-by: Pranshu Srivastava * docs: removed redundant section Signed-off-by: Pranshu Srivastava * docs: added \n Signed-off-by: Pranshu Srivastava * docs: made changes according to the comments Signed-off-by: Pranshu Srivastava --------- Signed-off-by: Pranshu Srivastava Signed-off-by: Akash Jaiswal --- spring-petclinic/README.md | 76 +- .../keploy/test-set-0/mocks.yaml | 2070 ++++++------ .../keploy/test-set-0/tests/test-1.yaml | 41 +- .../keploy/test-set-0/tests/test-10.yaml | 58 +- .../keploy/test-set-0/tests/test-11.yaml | 63 +- .../keploy/test-set-0/tests/test-12.yaml | 77 + .../keploy/test-set-0/tests/test-13.yaml | 77 + .../keploy/test-set-0/tests/test-2.yaml | 73 +- .../keploy/test-set-0/tests/test-3.yaml | 54 +- .../keploy/test-set-0/tests/test-4.yaml | 61 +- .../keploy/test-set-0/tests/test-5.yaml | 60 +- .../keploy/test-set-0/tests/test-6.yaml | 56 +- .../keploy/test-set-0/tests/test-7.yaml | 48 +- .../keploy/test-set-0/tests/test-8.yaml | 49 +- .../keploy/test-set-0/tests/test-9.yaml | 43 +- .../testReports/test-run-1/report-1.yaml | 2773 +++++++++++++++++ 16 files changed, 4335 insertions(+), 1344 deletions(-) create mode 100755 spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-12.yaml create mode 100755 spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-13.yaml create mode 100755 spring-petclinic/spring-petclinic-rest/keploy/testReports/test-run-1/report-1.yaml diff --git a/spring-petclinic/README.md b/spring-petclinic/README.md index dfd4f4b5..42230589 100644 --- a/spring-petclinic/README.md +++ b/spring-petclinic/README.md @@ -1,19 +1,13 @@ ## Introduction This is a petclinic app where you can record testcases and mocks by interacting with the UI, and then test them using Keploy. -This project has two parts - the frontend and backend, since Keploy is a backend testing platform, we need to start the backend part of the project -using Keploy and run the frontend as it is. -You can start the backend using Keploy in 2 ways: -- Using Keploy's binary. -- Using Keploy's docker image. +This project has two parts - the frontend and backend, since Keploy is a backend testing platform, we need to start the backend part of the project using Keploy and run the frontend as it is. -Prerequisites For Binary: -1. Node 20.11.0 LTS -2. OpenJDK 17.0.9 -3. MVN version 3.6.3 +First, you need to install Keploy. For that you can use the command below: -Prerequisites For Docker: -1. Docker Desktop 4.25.2 and above +``` +curl -O https://raw.githubusercontent.com/keploy/keploy/main/keploy.sh && source keploy.sh +``` ## Setup the frontend @@ -33,60 +27,73 @@ npm i npm run start ``` -# Instructions For Starting Using Binary - -## Spin up the database +Now it's time to setup the backend of our application. Let's move to the backend directory and get started. ``` -docker run -e POSTGRES_USER=petclinic -e POSTGRES_PASSWORD=petclinic -e POSTGRES_DB=petclinic -p 5432:5432 --net keploy-network --name mypostgres postgres:15.2 +cd samples-java/spring-petclinic/spring-petclinic-rest ``` -## Setup Keploy +You can start the backend using Keploy in 2 ways: +- [Using Keploy's binary](#binary-guide) +- [Using Keploy's docker image](#docker-guide) -``` -wget https://raw.githubusercontent.com/keploy/keploy/main/keploy.sh && source keploy.sh -``` +# Instructions For Starting Using Binary + +Prerequisites For Binary: +1. Node 20.11.0 LTS +2. OpenJDK 17.0.9 +3. MVN version 3.6.3 ## Setup the backend +You need to update the postgresql properties, go to +`spring-petclinic/spring-petclinic-rest/src/main/resources/application-postgresql.properties` +and change + ``` -cd samples-java/spring-petclinic/spring-petclinic-rest -mvn clean install -Dmaven.test.skip=true +spring.datasource.url=jdbc:postgresql://mypostgres:5432/petclinic ``` -You also need to update the postgresql properties, go to +to ``` -spring-petclinic/spring-petclinic-rest/src/main/resources/application-postgresql.properties +spring.datasource.url=jdbc:postgresql://localhost:5432/petclinic ``` - -and change +and then build the jar using: ``` -spring.datasource.url=jdbc:postgresql://mypostgres:5432/petclinic +mvn clean install -Dmaven.test.skip=true ``` -to +## Spin up the database ``` -spring.datasource.url=jdbc:postgresql://localhost:5432/petclinic +docker run -e POSTGRES_USER=petclinic -e POSTGRES_PASSWORD=petclinic -e POSTGRES_DB=petclinic -p 5432:5432 --name mypostgres postgres:15.2 ``` ## Recording the testcases with Keploy ``` -keploy record -c "java -jar target/" +keploy record -c "java -jar target/spring-petclinic-rest-3.0.2.jar" ``` Now you can start interacting with the UI and Keploy will automatically create the testcases and mocks for it in a folder named 'keploy'. ## Running the testcases using Keploy ``` -keploy test -c "java -jar target/" --delay 20 +keploy test -c "java -jar target/spring-petclinic-rest-3.0.2.jar" --delay 20 ``` -# Instructions For Starting Using Docker -Here we just need to change the command used to start the application and it should work correctly. +🎉 Hooray! You've made it to the end of the binary section! 🎉 + +Next we move on to the instructions to start the application using docker. + +# Instructions For Starting Using Docker + +Prerequisites For Docker: +1. Docker Desktop 4.25.2 and above + +Here we just need to change the command used to start the application. ``` keploy record -c "docker compose up" --containerName javaApp --buildDelay 100s @@ -100,7 +107,4 @@ keploy test -c "docker compose up" --containerName javaApp --buildDelay 50s --de Here `delay` is the time it takes for your application to get started, after which Keploy will start running the testcases. If your application takes longer than 10s to get started, you can change the `delay` accordingly. `buildDelay` is the time that it takes for the image to get built. This is useful when you are building the docker image from your docker compose file itself. -Hope this helps you out, if you still have any questions, reach out to us on our [Slack](https://join.slack.com/t/keploy/shared_invite/zt-12rfbvc01-o54cOG0X1G6eVJTuI_orSA) - - - +Hope this helps you out, if you still have any questions, reach out to us on our [Slack](https://join.slack.com/t/keploy/shared_invite/zt-12rfbvc01-o54cOG0X1G6eVJTuI_orSA) \ No newline at end of file diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/mocks.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/mocks.yaml index f8bb9335..5c8df0c2 100755 --- a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/mocks.yaml +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/mocks.yaml @@ -1,8 +1,9 @@ version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-0 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest length: 8 @@ -19,17 +20,18 @@ spec: - 0 - 0 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:43.753215546Z - restimestampmock: 2023-12-09T06:29:43.760078818Z + reqtimestampmock: 2024-02-12T16:43:49.926245101+05:30 + restimestampmock: 2024-02-12T16:43:49.92707941+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-1 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest - payload: AAAAdAADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBFdGMvVVRDAGV4dHJhX2Zsb2F0X2RpZ2l0cwAyAAA= + payload: AAAAeQADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBBc2lhL0tvbGthdGEAZXh0cmFfZmxvYXRfZGlnaXRzADIAAA== auth_type: 0 postgresresponses: - header: [R] @@ -46,14 +48,15 @@ spec: - SCRAM-SHA-256 msg_type: 82 auth_type: 10 - reqtimestampmock: 2023-12-09T06:29:43.779835283Z - restimestampmock: 2023-12-09T06:29:43.781352868Z + reqtimestampmock: 2024-02-12T16:43:49.935423041+05:30 + restimestampmock: 2024-02-12T16:43:49.935474709+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-2 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -72,17 +75,18 @@ spec: - 0 - 0 - 0 - authentication_sasl_continue: {data: [114, 61, 55, 93, 39, 84, 125, 83, 81, 115, 125, 85, 89, 63, 103, 114, 33, 46, 125, 70, 33, 81, 117, 75, 86, 33, 53, 110, 101, 74, 83, 51, 80, 89, 114, 120, 119, 53, 104, 70, 101, 57, 72, 50, 75, 108, 80, 99, 89, 114, 44, 115, 61, 121, 70, 108, 72, 88, 74, 56, 111, 118, 99, 101, 117, 76, 116, 86, 112, 53, 48, 65, 54, 47, 65, 61, 61, 44, 105, 61, 52, 48, 57, 54]} + authentication_sasl_continue: {data: [114, 61, 90, 124, 97, 77, 108, 71, 64, 99, 81, 105, 51, 52, 41, 90, 97, 80, 92, 92, 119, 84, 34, 43, 111, 109, 97, 55, 73, 115, 51, 83, 86, 109, 74, 122, 55, 76, 52, 99, 79, 121, 76, 86, 108, 121, 81, 117, 82, 100, 44, 115, 61, 98, 47, 103, 122, 108, 119, 81, 43, 102, 110, 74, 116, 119, 67, 72, 118, 113, 79, 122, 82, 104, 119, 61, 61, 44, 105, 61, 52, 48, 57, 54]} msg_type: 82 auth_type: 11 - reqtimestampmock: 2023-12-09T06:29:43.78721143Z - restimestampmock: 2023-12-09T06:29:43.787229178Z + reqtimestampmock: 2024-02-12T16:43:49.949612418+05:30 + restimestampmock: 2024-02-12T16:43:49.949635585+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-3 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -99,10 +103,10 @@ spec: - 0 - 0 - 0 - authentication_sasl_final: {data: [118, 61, 79, 109, 74, 56, 117, 88, 48, 118, 69, 115, 113, 111, 56, 56, 107, 73, 104, 102, 107, 83, 109, 68, 101, 56, 113, 50, 100, 112, 80, 99, 98, 116, 117, 79, 119, 90, 121, 112, 80, 98, 84, 97, 85, 61]} + authentication_sasl_final: {data: [118, 61, 52, 51, 69, 71, 114, 119, 51, 55, 102, 107, 43, 106, 84, 49, 55, 48, 99, 114, 102, 69, 65, 51, 53, 79, 110, 78, 117, 68, 80, 48, 81, 84, 68, 119, 100, 118, 110, 78, 97, 110, 122, 82, 56, 61]} backend_key_data: - process_id: 118 - secret_key: 3979639735 + process_id: 75 + secret_key: 1192377041 parameter_status: - name: application_name value: "" @@ -129,27 +133,29 @@ spec: - name: standard_conforming_strings value: "on" - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata ready_for_query: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:43.834698083Z - restimestampmock: 2023-12-09T06:29:43.834751912Z + reqtimestampmock: 2024-02-12T16:43:49.989656912+05:30 + restimestampmock: 2024-02-12T16:43:49.989726788+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-4 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAACIAU0VUIGV4dHJhX2Zsb2F0X2RpZ2l0cyA9IDMAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -158,7 +164,7 @@ spec: - name: "" query: SET extra_float_digits = 3 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, Z] @@ -179,18 +185,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:43.886948722Z - restimestampmock: 2023-12-09T06:29:43.88697797Z + reqtimestampmock: 2024-02-12T16:43:50.006815962+05:30 + restimestampmock: 2024-02-12T16:43:50.006834588+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-5 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAADcAU0VUIGFwcGxpY2F0aW9uX25hbWUgPSAnUG9zdGdyZVNRTCBKREJDIERyaXZlcicAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -199,7 +207,7 @@ spec: - name: "" query: SET application_name = 'PostgreSQL JDBC Driver' parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, S, Z] @@ -225,18 +233,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:43.88755913Z - restimestampmock: 2023-12-09T06:29:43.887577837Z + reqtimestampmock: 2024-02-12T16:43:50.007405931+05:30 + restimestampmock: 2024-02-12T16:43:50.007423765+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-6 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAAgAAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAABUwAAAAQ= bind: - {} describe: @@ -248,7 +258,7 @@ spec: - name: "" query: "" parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", I, Z] @@ -264,18 +274,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:43.895078515Z - restimestampmock: 2023-12-09T06:29:43.895098263Z + reqtimestampmock: 2024-02-12T16:43:50.017703199+05:30 + restimestampmock: 2024-02-12T16:43:50.017720657+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-7 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAACgAU0hPVyBUUkFOU0FDVElPTiBJU09MQVRJT04gTEVWRUwAAABCAAAADAAAAAAAAAAARAAAAAZQAEUAAAAJAAAAAABTAAAABA== bind: - {} describe: @@ -287,7 +299,7 @@ spec: - name: "" query: SHOW TRANSACTION ISOLATION LEVEL parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", T, D, C, Z] @@ -312,18 +324,20 @@ spec: row_description: {fields: [{name: [116, 114, 97, 110, 115, 97, 99, 116, 105, 111, 110, 95, 105, 115, 111, 108, 97, 116, 105, 111, 110], table_oid: 0, table_attribute_number: 0, data_type_oid: 25, data_type_size: -1, type_modifier: -1, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:43.896611931Z - restimestampmock: 2023-12-09T06:29:43.896634304Z + reqtimestampmock: 2024-02-12T16:43:50.018350043+05:30 + restimestampmock: 2024-02-12T16:43:50.018370002+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-8 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAEb4Ac2VsZWN0IHN0cmluZ19hZ2cod29yZCwgJywnKSBmcm9tIHBnX2NhdGFsb2cucGdfZ2V0X2tleXdvcmRzKCkgd2hlcmUgd29yZCA8PiBBTEwgKCd7YSxhYnMsYWJzb2x1dGUsYWN0aW9uLGFkYSxhZGQsYWRtaW4sYWZ0ZXIsYWxsLGFsbG9jYXRlLGFsdGVyLGFsd2F5cyxhbmQsYW55LGFyZSxhcnJheSxhcyxhc2MsYXNlbnNpdGl2ZSxhc3NlcnRpb24sYXNzaWdubWVudCxhc3ltbWV0cmljLGF0LGF0b21pYyxhdHRyaWJ1dGUsYXR0cmlidXRlcyxhdXRob3JpemF0aW9uLGF2ZyxiZWZvcmUsYmVnaW4sYmVybm91bGxpLGJldHdlZW4sYmlnaW50LGJpbmFyeSxibG9iLGJvb2xlYW4sYm90aCxicmVhZHRoLGJ5LGMsY2FsbCxjYWxsZWQsY2FyZGluYWxpdHksY2FzY2FkZSxjYXNjYWRlZCxjYXNlLGNhc3QsY2F0YWxvZyxjYXRhbG9nX25hbWUsY2VpbCxjZWlsaW5nLGNoYWluLGNoYXIsY2hhcl9sZW5ndGgsY2hhcmFjdGVyLGNoYXJhY3Rlcl9sZW5ndGgsY2hhcmFjdGVyX3NldF9jYXRhbG9nLGNoYXJhY3Rlcl9zZXRfbmFtZSxjaGFyYWN0ZXJfc2V0X3NjaGVtYSxjaGFyYWN0ZXJpc3RpY3MsY2hhcmFjdGVycyxjaGVjayxjaGVja2VkLGNsYXNzX29yaWdpbixjbG9iLGNsb3NlLGNvYWxlc2NlLGNvYm9sLGNvZGVfdW5pdHMsY29sbGF0ZSxjb2xsYXRpb24sY29sbGF0aW9uX2NhdGFsb2csY29sbGF0aW9uX25hbWUsY29sbGF0aW9uX3NjaGVtYSxjb2xsZWN0LGNvbHVtbixjb2x1bW5fbmFtZSxjb21tYW5kX2Z1bmN0aW9uLGNvbW1hbmRfZnVuY3Rpb25fY29kZSxjb21taXQsY29tbWl0dGVkLGNvbmRpdGlvbixjb25kaXRpb25fbnVtYmVyLGNvbm5lY3QsY29ubmVjdGlvbl9uYW1lLGNvbnN0cmFpbnQsY29uc3RyYWludF9jYXRhbG9nLGNvbnN0cmFpbnRfbmFtZSxjb25zdHJhaW50X3NjaGVtYSxjb25zdHJhaW50cyxjb25zdHJ1Y3RvcnMsY29udGFpbnMsY29udGludWUsY29udmVydCxjb3JyLGNvcnJlc3BvbmRpbmcsY291bnQsY292YXJfcG9wLGNvdmFyX3NhbXAsY3JlYXRlLGNyb3NzLGN1YmUsY3VtZV9kaXN0LGN1cnJlbnQsY3VycmVudF9jb2xsYXRpb24sY3VycmVudF9kYXRlLGN1cnJlbnRfZGVmYXVsdF90cmFuc2Zvcm1fZ3JvdXAsY3VycmVudF9wYXRoLGN1cnJlbnRfcm9sZSxjdXJyZW50X3RpbWUsY3VycmVudF90aW1lc3RhbXAsY3VycmVudF90cmFuc2Zvcm1fZ3JvdXBfZm9yX3R5cGUsY3VycmVudF91c2VyLGN1cnNvcixjdXJzb3JfbmFtZSxjeWNsZSxkYXRhLGRhdGUsZGF0ZXRpbWVfaW50ZXJ2YWxfY29kZSxkYXRldGltZV9pbnRlcnZhbF9wcmVjaXNpb24sZGF5LGRlYWxsb2NhdGUsZGVjLGRlY2ltYWwsZGVjbGFyZSxkZWZhdWx0LGRlZmF1bHRzLGRlZmVycmFibGUsZGVmZXJyZWQsZGVmaW5lZCxkZWZpbmVyLGRlZ3JlZSxkZWxldGUsZGVuc2VfcmFuayxkZXB0aCxkZXJlZixkZXJpdmVkLGRlc2MsZGVzY3JpYmUsZGVzY3JpcHRvcixkZXRlcm1pbmlzdGljLGRpYWdub3N0aWNzLGRpc2Nvbm5lY3QsZGlzcGF0Y2gsZGlzdGluY3QsZG9tYWluLGRvdWJsZSxkcm9wLGR5bmFtaWMsZHluYW1pY19mdW5jdGlvbixkeW5hbWljX2Z1bmN0aW9uX2NvZGUsZWFjaCxlbGVtZW50LGVsc2UsZW5kLGVuZC1leGVjLGVxdWFscyxlc2NhcGUsZXZlcnksZXhjZXB0LGV4Y2VwdGlvbixleGNsdWRlLGV4Y2x1ZGluZyxleGVjLGV4ZWN1dGUsZXhpc3RzLGV4cCxleHRlcm5hbCxleHRyYWN0LGZhbHNlLGZldGNoLGZpbHRlcixmaW5hbCxmaXJzdCxmbG9hdCxmbG9vcixmb2xsb3dpbmcsZm9yLGZvcmVpZ24sZm9ydHJhbixmb3VuZCxmcmVlLGZyb20sZnVsbCxmdW5jdGlvbixmdXNpb24sZyxnZW5lcmFsLGdldCxnbG9iYWwsZ28sZ290byxncmFudCxncmFudGVkLGdyb3VwLGdyb3VwaW5nLGhhdmluZyxoaWVyYXJjaHksaG9sZCxob3VyLGlkZW50aXR5LGltbWVkaWF0ZSxpbXBsZW1lbnRhdGlvbixpbixpbmNsdWRpbmcsaW5jcmVtZW50LGluZGljYXRvcixpbml0aWFsbHksaW5uZXIsaW5vdXQsaW5wdXQsaW5zZW5zaXRpdmUsaW5zZXJ0LGluc3RhbmNlLGluc3RhbnRpYWJsZSxpbnQsaW50ZWdlcixpbnRlcnNlY3QsaW50ZXJzZWN0aW9uLGludGVydmFsLGludG8saW52b2tlcixpcyxpc29sYXRpb24sam9pbixrLGtleSxrZXlfbWVtYmVyLGtleV90eXBlLGxhbmd1YWdlLGxhcmdlLGxhc3QsbGF0ZXJhbCxsZWFkaW5nLGxlZnQsbGVuZ3RoLGxldmVsLGxpa2UsbG4sbG9jYWwsbG9jYWx0aW1lLGxvY2FsdGltZXN0YW1wLGxvY2F0b3IsbG93ZXIsbSxtYXAsbWF0Y2gsbWF0Y2hlZCxtYXgsbWF4dmFsdWUsbWVtYmVyLG1lcmdlLG1lc3NhZ2VfbGVuZ3RoLG1lc3NhZ2Vfb2N0ZXRfbGVuZ3RoLG1lc3NhZ2VfdGV4dCxtZXRob2QsbWluLG1pbnV0ZSxtaW52YWx1ZSxtb2QsbW9kaWZpZXMsbW9kdWxlLG1vbnRoLG1vcmUsbXVsdGlzZXQsbXVtcHMsbmFtZSxuYW1lcyxuYXRpb25hbCxuYXR1cmFsLG5jaGFyLG5jbG9iLG5lc3RpbmcsbmV3LG5leHQsbm8sbm9uZSxub3JtYWxpemUsbm9ybWFsaXplZCxub3QsIm51bGwiLG51bGxhYmxlLG51bGxpZixudWxscyxudW1iZXIsbnVtZXJpYyxvYmplY3Qsb2N0ZXRfbGVuZ3RoLG9jdGV0cyxvZixvbGQsb24sb25seSxvcGVuLG9wdGlvbixvcHRpb25zLG9yLG9yZGVyLG9yZGVyaW5nLG9yZGluYWxpdHksb3RoZXJzLG91dCxvdXRlcixvdXRwdXQsb3ZlcixvdmVybGFwcyxvdmVybGF5LG92ZXJyaWRpbmcscGFkLHBhcmFtZXRlcixwYXJhbWV0ZXJfbW9kZSxwYXJhbWV0ZXJfbmFtZSxwYXJhbWV0ZXJfb3JkaW5hbF9wb3NpdGlvbixwYXJhbWV0ZXJfc3BlY2lmaWNfY2F0YWxvZyxwYXJhbWV0ZXJfc3BlY2lmaWNfbmFtZSxwYXJhbWV0ZXJfc3BlY2lmaWNfc2NoZW1hLHBhcnRpYWwscGFydGl0aW9uLHBhc2NhbCxwYXRoLHBlcmNlbnRfcmFuayxwZXJjZW50aWxlX2NvbnQscGVyY2VudGlsZV9kaXNjLHBsYWNpbmcscGxpLHBvc2l0aW9uLHBvd2VyLHByZWNlZGluZyxwcmVjaXNpb24scHJlcGFyZSxwcmVzZXJ2ZSxwcmltYXJ5LHByaW9yLHByaXZpbGVnZXMscHJvY2VkdXJlLHB1YmxpYyxyYW5nZSxyYW5rLHJlYWQscmVhZHMscmVhbCxyZWN1cnNpdmUscmVmLHJlZmVyZW5jZXMscmVmZXJlbmNpbmcscmVncl9hdmd4LHJlZ3JfYXZneSxyZWdyX2NvdW50LHJlZ3JfaW50ZXJjZXB0LHJlZ3JfcjIscmVncl9zbG9wZSxyZWdyX3N4eCxyZWdyX3N4eSxyZWdyX3N5eSxyZWxhdGl2ZSxyZWxlYXNlLHJlcGVhdGFibGUscmVzdGFydCxyZXN1bHQscmV0dXJuLHJldHVybmVkX2NhcmRpbmFsaXR5LHJldHVybmVkX2xlbmd0aCxyZXR1cm5lZF9vY3RldF9sZW5ndGgscmV0dXJuZWRfc3Fsc3RhdGUscmV0dXJucyxyZXZva2UscmlnaHQscm9sZSxyb2xsYmFjayxyb2xsdXAscm91dGluZSxyb3V0aW5lX2NhdGFsb2cscm91dGluZV9uYW1lLHJvdXRpbmVfc2NoZW1hLHJvdyxyb3dfY291bnQscm93X251bWJlcixyb3dzLHNhdmVwb2ludCxzY2FsZSxzY2hlbWEsc2NoZW1hX25hbWUsc2NvcGVfY2F0YWxvZyxzY29wZV9uYW1lLHNjb3BlX3NjaGVtYSxzY3JvbGwsc2VhcmNoLHNlY29uZCxzZWN0aW9uLHNlY3VyaXR5LHNlbGVjdCxzZWxmLHNlbnNpdGl2ZSxzZXF1ZW5jZSxzZXJpYWxpemFibGUsc2VydmVyX25hbWUsc2Vzc2lvbixzZXNzaW9uX3VzZXIsc2V0LHNldHMsc2ltaWxhcixzaW1wbGUsc2l6ZSxzbWFsbGludCxzb21lLHNvdXJjZSxzcGFjZSxzcGVjaWZpYyxzcGVjaWZpY19uYW1lLHNwZWNpZmljdHlwZSxzcWwsc3FsZXhjZXB0aW9uLHNxbHN0YXRlLHNxbHdhcm5pbmcsc3FydCxzdGFydCxzdGF0ZSxzdGF0ZW1lbnQsc3RhdGljLHN0ZGRldl9wb3Asc3RkZGV2X3NhbXAsc3RydWN0dXJlLHN0eWxlLHN1YmNsYXNzX29yaWdpbixzdWJtdWx0aXNldCxzdWJzdHJpbmcsc3VtLHN5bW1ldHJpYyxzeXN0ZW0sc3lzdGVtX3VzZXIsdGFibGUsdGFibGVfbmFtZSx0YWJsZXNhbXBsZSx0ZW1wb3JhcnksdGhlbix0aWVzLHRpbWUsdGltZXN0YW1wLHRpbWV6b25lX2hvdXIsdGltZXpvbmVfbWludXRlLHRvLHRvcF9sZXZlbF9jb3VudCx0cmFpbGluZyx0cmFuc2FjdGlvbix0cmFuc2FjdGlvbl9hY3RpdmUsdHJhbnNhY3Rpb25zX2NvbW1pdHRlZCx0cmFuc2FjdGlvbnNfcm9sbGVkX2JhY2ssdHJhbnNmb3JtLHRyYW5zZm9ybXMsdHJhbnNsYXRlLHRyYW5zbGF0aW9uLHRyZWF0LHRyaWdnZXIsdHJpZ2dlcl9jYXRhbG9nLHRyaWdnZXJfbmFtZSx0cmlnZ2VyX3NjaGVtYSx0cmltLHRydWUsdHlwZSx1ZXNjYXBlLHVuYm91bmRlZCx1bmNvbW1pdHRlZCx1bmRlcix1bmlvbix1bmlxdWUsdW5rbm93bix1bm5hbWVkLHVubmVzdCx1cGRhdGUsdXBwZXIsdXNhZ2UsdXNlcix1c2VyX2RlZmluZWRfdHlwZV9jYXRhbG9nLHVzZXJfZGVmaW5lZF90eXBlX2NvZGUsdXNlcl9kZWZpbmVkX3R5cGVfbmFtZSx1c2VyX2RlZmluZWRfdHlwZV9zY2hlbWEsdXNpbmcsdmFsdWUsdmFsdWVzLHZhcl9wb3AsdmFyX3NhbXAsdmFyY2hhcix2YXJ5aW5nLHZpZXcsd2hlbix3aGVuZXZlcix3aGVyZSx3aWR0aF9idWNrZXQsd2luZG93LHdpdGgsd2l0aGluLHdpdGhvdXQsd29yayx3cml0ZSx5ZWFyLHpvbmV9Jzo6dGV4dFtdKQAAAEIAAAAMAAAAAAAAAABEAAAABlAARQAAAAkAAAAAAFMAAAAE bind: - {} describe: @@ -335,7 +349,7 @@ spec: - name: "" query: select string_agg(word, ',') from pg_catalog.pg_get_keywords() where word <> ALL ('{a,abs,absolute,action,ada,add,admin,after,all,allocate,alter,always,and,any,are,array,as,asc,asensitive,assertion,assignment,asymmetric,at,atomic,attribute,attributes,authorization,avg,before,begin,bernoulli,between,bigint,binary,blob,boolean,both,breadth,by,c,call,called,cardinality,cascade,cascaded,case,cast,catalog,catalog_name,ceil,ceiling,chain,char,char_length,character,character_length,character_set_catalog,character_set_name,character_set_schema,characteristics,characters,check,checked,class_origin,clob,close,coalesce,cobol,code_units,collate,collation,collation_catalog,collation_name,collation_schema,collect,column,column_name,command_function,command_function_code,commit,committed,condition,condition_number,connect,connection_name,constraint,constraint_catalog,constraint_name,constraint_schema,constraints,constructors,contains,continue,convert,corr,corresponding,count,covar_pop,covar_samp,create,cross,cube,cume_dist,current,current_collation,current_date,current_default_transform_group,current_path,current_role,current_time,current_timestamp,current_transform_group_for_type,current_user,cursor,cursor_name,cycle,data,date,datetime_interval_code,datetime_interval_precision,day,deallocate,dec,decimal,declare,default,defaults,deferrable,deferred,defined,definer,degree,delete,dense_rank,depth,deref,derived,desc,describe,descriptor,deterministic,diagnostics,disconnect,dispatch,distinct,domain,double,drop,dynamic,dynamic_function,dynamic_function_code,each,element,else,end,end-exec,equals,escape,every,except,exception,exclude,excluding,exec,execute,exists,exp,external,extract,false,fetch,filter,final,first,float,floor,following,for,foreign,fortran,found,free,from,full,function,fusion,g,general,get,global,go,goto,grant,granted,group,grouping,having,hierarchy,hold,hour,identity,immediate,implementation,in,including,increment,indicator,initially,inner,inout,input,insensitive,insert,instance,instantiable,int,integer,intersect,intersection,interval,into,invoker,is,isolation,join,k,key,key_member,key_type,language,large,last,lateral,leading,left,length,level,like,ln,local,localtime,localtimestamp,locator,lower,m,map,match,matched,max,maxvalue,member,merge,message_length,message_octet_length,message_text,method,min,minute,minvalue,mod,modifies,module,month,more,multiset,mumps,name,names,national,natural,nchar,nclob,nesting,new,next,no,none,normalize,normalized,not,"null",nullable,nullif,nulls,number,numeric,object,octet_length,octets,of,old,on,only,open,option,options,or,order,ordering,ordinality,others,out,outer,output,over,overlaps,overlay,overriding,pad,parameter,parameter_mode,parameter_name,parameter_ordinal_position,parameter_specific_catalog,parameter_specific_name,parameter_specific_schema,partial,partition,pascal,path,percent_rank,percentile_cont,percentile_disc,placing,pli,position,power,preceding,precision,prepare,preserve,primary,prior,privileges,procedure,public,range,rank,read,reads,real,recursive,ref,references,referencing,regr_avgx,regr_avgy,regr_count,regr_intercept,regr_r2,regr_slope,regr_sxx,regr_sxy,regr_syy,relative,release,repeatable,restart,result,return,returned_cardinality,returned_length,returned_octet_length,returned_sqlstate,returns,revoke,right,role,rollback,rollup,routine,routine_catalog,routine_name,routine_schema,row,row_count,row_number,rows,savepoint,scale,schema,schema_name,scope_catalog,scope_name,scope_schema,scroll,search,second,section,security,select,self,sensitive,sequence,serializable,server_name,session,session_user,set,sets,similar,simple,size,smallint,some,source,space,specific,specific_name,specifictype,sql,sqlexception,sqlstate,sqlwarning,sqrt,start,state,statement,static,stddev_pop,stddev_samp,structure,style,subclass_origin,submultiset,substring,sum,symmetric,system,system_user,table,table_name,tablesample,temporary,then,ties,time,timestamp,timezone_hour,timezone_minute,to,top_level_count,trailing,transaction,transaction_active,transactions_committed,transactions_rolled_back,transform,transforms,translate,translation,treat,trigger,trigger_catalog,trigger_name,trigger_schema,trim,true,type,uescape,unbounded,uncommitted,under,union,unique,unknown,unnamed,unnest,update,upper,usage,user,user_defined_type_catalog,user_defined_type_code,user_defined_type_name,user_defined_type_schema,using,value,values,var_pop,var_samp,varchar,varying,view,when,whenever,where,width_bucket,window,with,within,without,work,write,year,zone}'::text[]) parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", T, D, C, Z] @@ -364,18 +378,20 @@ spec: row_description: {fields: [{name: [115, 116, 114, 105, 110, 103, 95, 97, 103, 103], table_oid: 0, table_attribute_number: 0, data_type_oid: 25, data_type_size: -1, type_modifier: -1, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:43.92960273Z - restimestampmock: 2023-12-09T06:29:43.929664058Z + reqtimestampmock: 2024-02-12T16:43:50.036601245+05:30 + restimestampmock: 2024-02-12T16:43:50.036637454+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-9 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAB8Ac2VsZWN0IGN1cnJlbnRfc2NoZW1hKCkAAABCAAAADAAAAAAAAAAARAAAAAZQAEUAAAAJAAAAAABTAAAABA== bind: - {} describe: @@ -387,7 +403,7 @@ spec: - name: "" query: select current_schema() parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", T, D, C, Z] @@ -416,14 +432,15 @@ spec: row_description: {fields: [{name: [99, 117, 114, 114, 101, 110, 116, 95, 115, 99, 104, 101, 109, 97], table_oid: 0, table_attribute_number: 0, data_type_oid: 19, data_type_size: 64, type_modifier: -1, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:43.938099159Z - restimestampmock: 2023-12-09T06:29:43.938127573Z + reqtimestampmock: 2024-02-12T16:43:50.046345794+05:30 + restimestampmock: 2024-02-12T16:43:50.046379836+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-10 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest length: 8 @@ -440,17 +457,18 @@ spec: - 0 - 0 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.002011843Z - restimestampmock: 2023-12-09T06:29:44.002727034Z + reqtimestampmock: 2024-02-12T16:43:50.12466111+05:30 + restimestampmock: 2024-02-12T16:43:50.125023909+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-11 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest - payload: AAAAdAADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBFdGMvVVRDAGV4dHJhX2Zsb2F0X2RpZ2l0cwAyAAA= + payload: AAAAeQADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBBc2lhL0tvbGthdGEAZXh0cmFfZmxvYXRfZGlnaXRzADIAAA== auth_type: 0 postgresresponses: - header: [R] @@ -467,14 +485,15 @@ spec: - SCRAM-SHA-256 msg_type: 82 auth_type: 10 - reqtimestampmock: 2023-12-09T06:29:44.004175499Z - restimestampmock: 2023-12-09T06:29:44.004190456Z + reqtimestampmock: 2024-02-12T16:43:50.125615877+05:30 + restimestampmock: 2024-02-12T16:43:50.125628919+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-12 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -493,17 +512,18 @@ spec: - 0 - 0 - 0 - authentication_sasl_continue: {data: [114, 61, 113, 60, 85, 51, 105, 93, 66, 109, 126, 119, 120, 51, 108, 116, 125, 100, 76, 57, 37, 60, 82, 100, 120, 99, 52, 117, 84, 54, 84, 121, 47, 103, 115, 80, 100, 52, 116, 48, 114, 49, 100, 104, 97, 105, 115, 65, 56, 70, 44, 115, 61, 121, 70, 108, 72, 88, 74, 56, 111, 118, 99, 101, 117, 76, 116, 86, 112, 53, 48, 65, 54, 47, 65, 61, 61, 44, 105, 61, 52, 48, 57, 54]} + authentication_sasl_continue: {data: [114, 61, 79, 71, 105, 125, 102, 99, 110, 36, 61, 68, 41, 124, 122, 90, 89, 36, 47, 43, 105, 58, 56, 96, 52, 53, 107, 81, 99, 122, 52, 102, 49, 54, 106, 49, 79, 99, 74, 85, 108, 53, 115, 80, 90, 108, 105, 101, 115, 104, 44, 115, 61, 98, 47, 103, 122, 108, 119, 81, 43, 102, 110, 74, 116, 119, 67, 72, 118, 113, 79, 122, 82, 104, 119, 61, 61, 44, 105, 61, 52, 48, 57, 54]} msg_type: 82 auth_type: 11 - reqtimestampmock: 2023-12-09T06:29:44.004626004Z - restimestampmock: 2023-12-09T06:29:44.004637878Z + reqtimestampmock: 2024-02-12T16:43:50.126251139+05:30 + restimestampmock: 2024-02-12T16:43:50.126260472+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-13 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -520,10 +540,10 @@ spec: - 0 - 0 - 0 - authentication_sasl_final: {data: [118, 61, 84, 75, 122, 74, 122, 107, 69, 52, 112, 52, 78, 120, 68, 116, 106, 120, 90, 56, 57, 67, 104, 97, 51, 67, 81, 109, 119, 47, 81, 121, 117, 70, 113, 120, 84, 97, 54, 103, 119, 86, 110, 85, 81, 61]} + authentication_sasl_final: {data: [118, 61, 89, 99, 98, 119, 112, 99, 108, 99, 85, 118, 53, 115, 85, 110, 110, 103, 98, 56, 43, 73, 116, 66, 103, 121, 49, 85, 48, 47, 87, 107, 120, 69, 73, 100, 75, 98, 52, 75, 71, 52, 49, 72, 77, 61]} backend_key_data: - process_id: 119 - secret_key: 847490620 + process_id: 76 + secret_key: 1002077137 parameter_status: - name: application_name value: "" @@ -550,27 +570,29 @@ spec: - name: standard_conforming_strings value: "on" - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata ready_for_query: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.01531921Z - restimestampmock: 2023-12-09T06:29:44.015345916Z + reqtimestampmock: 2024-02-12T16:43:50.135318259+05:30 + restimestampmock: 2024-02-12T16:43:50.135350843+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-14 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAACIAU0VUIGV4dHJhX2Zsb2F0X2RpZ2l0cyA9IDMAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -579,7 +601,7 @@ spec: - name: "" query: SET extra_float_digits = 3 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, Z] @@ -600,14 +622,15 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.016097646Z - restimestampmock: 2023-12-09T06:29:44.01613206Z + reqtimestampmock: 2024-02-12T16:43:50.136259026+05:30 + restimestampmock: 2024-02-12T16:43:50.136269068+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-15 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest length: 8 @@ -624,17 +647,18 @@ spec: - 0 - 0 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.027707319Z - restimestampmock: 2023-12-09T06:29:44.028629327Z + reqtimestampmock: 2024-02-12T16:43:50.149805477+05:30 + restimestampmock: 2024-02-12T16:43:50.150253276+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-16 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest - payload: AAAAdAADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBFdGMvVVRDAGV4dHJhX2Zsb2F0X2RpZ2l0cwAyAAA= + payload: AAAAeQADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBBc2lhL0tvbGthdGEAZXh0cmFfZmxvYXRfZGlnaXRzADIAAA== auth_type: 0 postgresresponses: - header: [R] @@ -651,14 +675,15 @@ spec: - SCRAM-SHA-256 msg_type: 82 auth_type: 10 - reqtimestampmock: 2023-12-09T06:29:44.030194365Z - restimestampmock: 2023-12-09T06:29:44.030209156Z + reqtimestampmock: 2024-02-12T16:43:50.151007331+05:30 + restimestampmock: 2024-02-12T16:43:50.151019873+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-17 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -677,17 +702,18 @@ spec: - 0 - 0 - 0 - authentication_sasl_continue: {data: [114, 61, 119, 78, 53, 85, 53, 48, 94, 80, 111, 72, 35, 84, 87, 106, 92, 86, 115, 98, 56, 126, 35, 62, 34, 125, 80, 43, 54, 97, 109, 121, 84, 78, 43, 70, 72, 108, 66, 77, 66, 121, 80, 51, 111, 100, 119, 88, 83, 57, 44, 115, 61, 121, 70, 108, 72, 88, 74, 56, 111, 118, 99, 101, 117, 76, 116, 86, 112, 53, 48, 65, 54, 47, 65, 61, 61, 44, 105, 61, 52, 48, 57, 54]} + authentication_sasl_continue: {data: [114, 61, 72, 121, 36, 95, 63, 88, 91, 123, 68, 60, 88, 89, 48, 74, 74, 86, 123, 72, 46, 50, 36, 40, 53, 45, 43, 84, 84, 55, 77, 108, 55, 48, 104, 75, 82, 89, 119, 109, 99, 71, 78, 105, 80, 88, 118, 97, 69, 114, 44, 115, 61, 98, 47, 103, 122, 108, 119, 81, 43, 102, 110, 74, 116, 119, 67, 72, 118, 113, 79, 122, 82, 104, 119, 61, 61, 44, 105, 61, 52, 48, 57, 54]} msg_type: 82 auth_type: 11 - reqtimestampmock: 2023-12-09T06:29:44.030637454Z - restimestampmock: 2023-12-09T06:29:44.030644912Z + reqtimestampmock: 2024-02-12T16:43:50.151523882+05:30 + restimestampmock: 2024-02-12T16:43:50.151532174+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-18 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -704,10 +730,10 @@ spec: - 0 - 0 - 0 - authentication_sasl_final: {data: [118, 61, 88, 117, 116, 88, 48, 114, 78, 53, 89, 67, 100, 101, 78, 107, 53, 114, 108, 67, 106, 110, 47, 110, 55, 67, 77, 106, 80, 107, 119, 108, 106, 118, 110, 112, 73, 82, 100, 49, 101, 101, 108, 113, 85, 61]} + authentication_sasl_final: {data: [118, 61, 70, 67, 82, 66, 72, 74, 56, 99, 82, 77, 120, 89, 67, 109, 77, 119, 78, 88, 48, 54, 49, 43, 51, 103, 51, 77, 77, 113, 74, 79, 101, 89, 107, 67, 101, 51, 105, 43, 90, 104, 115, 52, 107, 61]} backend_key_data: - process_id: 120 - secret_key: 562416181 + process_id: 77 + secret_key: 2815239238 parameter_status: - name: application_name value: "" @@ -734,27 +760,29 @@ spec: - name: standard_conforming_strings value: "on" - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata ready_for_query: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.041457108Z - restimestampmock: 2023-12-09T06:29:44.041484564Z + reqtimestampmock: 2024-02-12T16:43:50.161113054+05:30 + restimestampmock: 2024-02-12T16:43:50.161139387+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-19 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAACIAU0VUIGV4dHJhX2Zsb2F0X2RpZ2l0cyA9IDMAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -763,7 +791,7 @@ spec: - name: "" query: SET extra_float_digits = 3 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, Z] @@ -784,14 +812,15 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.042655343Z - restimestampmock: 2023-12-09T06:29:44.042678925Z + reqtimestampmock: 2024-02-12T16:43:50.162246241+05:30 + restimestampmock: 2024-02-12T16:43:50.162259532+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-20 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest length: 8 @@ -808,17 +837,18 @@ spec: - 0 - 0 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.054076698Z - restimestampmock: 2023-12-09T06:29:44.054998873Z + reqtimestampmock: 2024-02-12T16:43:50.174570628+05:30 + restimestampmock: 2024-02-12T16:43:50.175025302+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-21 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest - payload: AAAAdAADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBFdGMvVVRDAGV4dHJhX2Zsb2F0X2RpZ2l0cwAyAAA= + payload: AAAAeQADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBBc2lhL0tvbGthdGEAZXh0cmFfZmxvYXRfZGlnaXRzADIAAA== auth_type: 0 postgresresponses: - header: [R] @@ -835,14 +865,15 @@ spec: - SCRAM-SHA-256 msg_type: 82 auth_type: 10 - reqtimestampmock: 2023-12-09T06:29:44.056422673Z - restimestampmock: 2023-12-09T06:29:44.056437796Z + reqtimestampmock: 2024-02-12T16:43:50.175576354+05:30 + restimestampmock: 2024-02-12T16:43:50.175589354+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-22 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -861,17 +892,18 @@ spec: - 0 - 0 - 0 - authentication_sasl_continue: {data: [114, 61, 75, 92, 74, 39, 119, 67, 63, 121, 51, 110, 124, 91, 125, 110, 51, 60, 42, 67, 114, 114, 89, 92, 60, 73, 113, 119, 69, 97, 47, 54, 100, 43, 98, 122, 111, 97, 71, 81, 99, 84, 90, 99, 109, 121, 70, 49, 122, 50, 44, 115, 61, 121, 70, 108, 72, 88, 74, 56, 111, 118, 99, 101, 117, 76, 116, 86, 112, 53, 48, 65, 54, 47, 65, 61, 61, 44, 105, 61, 52, 48, 57, 54]} + authentication_sasl_continue: {data: [114, 61, 55, 83, 82, 52, 99, 72, 47, 105, 40, 125, 89, 66, 50, 90, 66, 81, 93, 57, 69, 93, 71, 56, 126, 78, 86, 89, 121, 66, 69, 114, 56, 82, 78, 55, 49, 103, 110, 43, 78, 100, 113, 50, 90, 47, 55, 101, 68, 52, 44, 115, 61, 98, 47, 103, 122, 108, 119, 81, 43, 102, 110, 74, 116, 119, 67, 72, 118, 113, 79, 122, 82, 104, 119, 61, 61, 44, 105, 61, 52, 48, 57, 54]} msg_type: 82 auth_type: 11 - reqtimestampmock: 2023-12-09T06:29:44.056904091Z - restimestampmock: 2023-12-09T06:29:44.056911924Z + reqtimestampmock: 2024-02-12T16:43:50.176155323+05:30 + restimestampmock: 2024-02-12T16:43:50.176164739+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-23 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -888,10 +920,10 @@ spec: - 0 - 0 - 0 - authentication_sasl_final: {data: [118, 61, 106, 108, 85, 47, 118, 117, 110, 65, 79, 109, 82, 83, 120, 69, 103, 101, 82, 79, 47, 52, 107, 43, 117, 104, 75, 57, 100, 106, 99, 102, 73, 77, 69, 48, 85, 110, 102, 47, 79, 89, 99, 67, 119, 61]} + authentication_sasl_final: {data: [118, 61, 102, 99, 66, 90, 78, 87, 76, 116, 70, 49, 79, 113, 67, 66, 66, 52, 117, 82, 81, 121, 76, 98, 43, 50, 66, 99, 104, 65, 119, 77, 54, 72, 80, 107, 100, 120, 113, 70, 119, 88, 119, 56, 81, 61]} backend_key_data: - process_id: 121 - secret_key: 4266083929 + process_id: 78 + secret_key: 1814013018 parameter_status: - name: application_name value: "" @@ -918,27 +950,29 @@ spec: - name: standard_conforming_strings value: "on" - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata ready_for_query: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.067858401Z - restimestampmock: 2023-12-09T06:29:44.067893232Z + reqtimestampmock: 2024-02-12T16:43:50.185917455+05:30 + restimestampmock: 2024-02-12T16:43:50.185959373+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-24 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAACIAU0VUIGV4dHJhX2Zsb2F0X2RpZ2l0cyA9IDMAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -947,7 +981,7 @@ spec: - name: "" query: SET extra_float_digits = 3 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, Z] @@ -968,14 +1002,15 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.068784367Z - restimestampmock: 2023-12-09T06:29:44.068795991Z + reqtimestampmock: 2024-02-12T16:43:50.187115518+05:30 + restimestampmock: 2024-02-12T16:43:50.187127185+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-25 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest length: 8 @@ -992,17 +1027,18 @@ spec: - 0 - 0 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.080818214Z - restimestampmock: 2023-12-09T06:29:44.081828131Z + reqtimestampmock: 2024-02-12T16:43:50.199841954+05:30 + restimestampmock: 2024-02-12T16:43:50.199945331+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-26 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest - payload: AAAAdAADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBFdGMvVVRDAGV4dHJhX2Zsb2F0X2RpZ2l0cwAyAAA= + payload: AAAAeQADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBBc2lhL0tvbGthdGEAZXh0cmFfZmxvYXRfZGlnaXRzADIAAA== auth_type: 0 postgresresponses: - header: [R] @@ -1019,14 +1055,15 @@ spec: - SCRAM-SHA-256 msg_type: 82 auth_type: 10 - reqtimestampmock: 2023-12-09T06:29:44.083241181Z - restimestampmock: 2023-12-09T06:29:44.083257513Z + reqtimestampmock: 2024-02-12T16:43:50.205629683+05:30 + restimestampmock: 2024-02-12T16:43:50.205649975+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-27 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -1045,17 +1082,18 @@ spec: - 0 - 0 - 0 - authentication_sasl_continue: {data: [114, 61, 37, 120, 92, 33, 51, 101, 45, 50, 98, 124, 40, 122, 86, 118, 34, 64, 51, 48, 39, 105, 105, 107, 42, 103, 122, 104, 84, 89, 56, 66, 100, 104, 97, 70, 84, 117, 89, 112, 48, 80, 99, 48, 78, 108, 73, 107, 100, 49, 44, 115, 61, 121, 70, 108, 72, 88, 74, 56, 111, 118, 99, 101, 117, 76, 116, 86, 112, 53, 48, 65, 54, 47, 65, 61, 61, 44, 105, 61, 52, 48, 57, 54]} + authentication_sasl_continue: {data: [114, 61, 33, 41, 61, 88, 111, 109, 41, 117, 114, 95, 59, 125, 55, 86, 37, 83, 63, 86, 93, 83, 124, 93, 39, 70, 70, 50, 76, 87, 106, 80, 54, 120, 101, 122, 116, 120, 79, 107, 70, 70, 88, 80, 122, 48, 74, 79, 56, 49, 44, 115, 61, 98, 47, 103, 122, 108, 119, 81, 43, 102, 110, 74, 116, 119, 67, 72, 118, 113, 79, 122, 82, 104, 119, 61, 61, 44, 105, 61, 52, 48, 57, 54]} msg_type: 82 auth_type: 11 - reqtimestampmock: 2023-12-09T06:29:44.083735849Z - restimestampmock: 2023-12-09T06:29:44.083758431Z + reqtimestampmock: 2024-02-12T16:43:50.20623161+05:30 + restimestampmock: 2024-02-12T16:43:50.206241152+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-28 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -1072,10 +1110,10 @@ spec: - 0 - 0 - 0 - authentication_sasl_final: {data: [118, 61, 77, 79, 102, 105, 99, 97, 49, 99, 112, 54, 74, 84, 78, 118, 65, 68, 98, 76, 118, 118, 76, 50, 69, 102, 76, 105, 112, 112, 68, 112, 119, 119, 85, 49, 103, 97, 107, 48, 43, 76, 120, 66, 115, 61]} + authentication_sasl_final: {data: [118, 61, 55, 57, 50, 118, 82, 84, 100, 100, 75, 73, 102, 76, 86, 48, 74, 52, 117, 98, 110, 99, 49, 47, 81, 85, 54, 108, 101, 80, 79, 84, 65, 73, 66, 50, 53, 77, 108, 97, 90, 73, 103, 108, 115, 61]} backend_key_data: - process_id: 122 - secret_key: 353209487 + process_id: 79 + secret_key: 4222458896 parameter_status: - name: application_name value: "" @@ -1102,27 +1140,29 @@ spec: - name: standard_conforming_strings value: "on" - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata ready_for_query: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.094949055Z - restimestampmock: 2023-12-09T06:29:44.094979135Z + reqtimestampmock: 2024-02-12T16:43:50.21948193+05:30 + restimestampmock: 2024-02-12T16:43:50.21955489+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-29 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAACIAU0VUIGV4dHJhX2Zsb2F0X2RpZ2l0cyA9IDMAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -1131,7 +1171,7 @@ spec: - name: "" query: SET extra_float_digits = 3 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, Z] @@ -1152,14 +1192,15 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.095751697Z - restimestampmock: 2023-12-09T06:29:44.095801068Z + reqtimestampmock: 2024-02-12T16:43:50.220514365+05:30 + restimestampmock: 2024-02-12T16:43:50.220530782+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-30 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest length: 8 @@ -1176,17 +1217,18 @@ spec: - 0 - 0 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.10731529Z - restimestampmock: 2023-12-09T06:29:44.10821055Z + reqtimestampmock: 2024-02-12T16:43:50.233196592+05:30 + restimestampmock: 2024-02-12T16:43:50.233713393+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-31 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest - payload: AAAAdAADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBFdGMvVVRDAGV4dHJhX2Zsb2F0X2RpZ2l0cwAyAAA= + payload: AAAAeQADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBBc2lhL0tvbGthdGEAZXh0cmFfZmxvYXRfZGlnaXRzADIAAA== auth_type: 0 postgresresponses: - header: [R] @@ -1203,14 +1245,15 @@ spec: - SCRAM-SHA-256 msg_type: 82 auth_type: 10 - reqtimestampmock: 2023-12-09T06:29:44.109671389Z - restimestampmock: 2023-12-09T06:29:44.109689596Z + reqtimestampmock: 2024-02-12T16:43:50.234698286+05:30 + restimestampmock: 2024-02-12T16:43:50.234713119+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-32 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -1229,17 +1272,18 @@ spec: - 0 - 0 - 0 - authentication_sasl_continue: {data: [114, 61, 78, 89, 46, 89, 124, 119, 102, 72, 95, 104, 40, 109, 55, 68, 116, 75, 88, 113, 102, 70, 79, 72, 80, 45, 100, 116, 114, 53, 53, 88, 109, 55, 113, 74, 69, 77, 81, 84, 107, 97, 81, 118, 43, 118, 48, 74, 102, 55, 44, 115, 61, 121, 70, 108, 72, 88, 74, 56, 111, 118, 99, 101, 117, 76, 116, 86, 112, 53, 48, 65, 54, 47, 65, 61, 61, 44, 105, 61, 52, 48, 57, 54]} + authentication_sasl_continue: {data: [114, 61, 74, 90, 49, 104, 38, 86, 115, 84, 90, 118, 46, 57, 35, 55, 110, 91, 56, 57, 53, 61, 121, 79, 67, 103, 69, 68, 98, 66, 116, 43, 114, 113, 83, 75, 81, 121, 90, 67, 98, 67, 70, 75, 105, 109, 122, 110, 52, 85, 44, 115, 61, 98, 47, 103, 122, 108, 119, 81, 43, 102, 110, 74, 116, 119, 67, 72, 118, 113, 79, 122, 82, 104, 119, 61, 61, 44, 105, 61, 52, 48, 57, 54]} msg_type: 82 auth_type: 11 - reqtimestampmock: 2023-12-09T06:29:44.110096896Z - restimestampmock: 2023-12-09T06:29:44.110110853Z + reqtimestampmock: 2024-02-12T16:43:50.235317713+05:30 + restimestampmock: 2024-02-12T16:43:50.235327422+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-33 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -1256,10 +1300,10 @@ spec: - 0 - 0 - 0 - authentication_sasl_final: {data: [118, 61, 116, 109, 49, 105, 77, 88, 51, 43, 73, 109, 99, 81, 109, 65, 73, 85, 57, 66, 89, 55, 116, 51, 43, 48, 76, 54, 81, 105, 81, 90, 115, 71, 104, 83, 75, 51, 108, 52, 90, 83, 85, 98, 119, 61]} + authentication_sasl_final: {data: [118, 61, 65, 110, 66, 76, 56, 108, 102, 79, 43, 79, 48, 50, 88, 80, 66, 50, 50, 120, 114, 102, 109, 50, 56, 99, 86, 76, 55, 87, 83, 86, 47, 103, 55, 118, 108, 54, 72, 82, 52, 101, 122, 82, 73, 61]} backend_key_data: - process_id: 123 - secret_key: 3139690594 + process_id: 80 + secret_key: 1103717122 parameter_status: - name: application_name value: "" @@ -1286,27 +1330,29 @@ spec: - name: standard_conforming_strings value: "on" - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata ready_for_query: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.123826228Z - restimestampmock: 2023-12-09T06:29:44.12386285Z + reqtimestampmock: 2024-02-12T16:43:50.243879991+05:30 + restimestampmock: 2024-02-12T16:43:50.243906159+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-34 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAACIAU0VUIGV4dHJhX2Zsb2F0X2RpZ2l0cyA9IDMAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -1315,7 +1361,7 @@ spec: - name: "" query: SET extra_float_digits = 3 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, Z] @@ -1336,14 +1382,15 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.124587582Z - restimestampmock: 2023-12-09T06:29:44.124635162Z + reqtimestampmock: 2024-02-12T16:43:50.245041179+05:30 + restimestampmock: 2024-02-12T16:43:50.245057512+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-35 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest length: 8 @@ -1360,17 +1407,18 @@ spec: - 0 - 0 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.136153509Z - restimestampmock: 2023-12-09T06:29:44.137090474Z + reqtimestampmock: 2024-02-12T16:43:50.256794722+05:30 + restimestampmock: 2024-02-12T16:43:50.257225063+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-36 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest - payload: AAAAdAADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBFdGMvVVRDAGV4dHJhX2Zsb2F0X2RpZ2l0cwAyAAA= + payload: AAAAeQADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBBc2lhL0tvbGthdGEAZXh0cmFfZmxvYXRfZGlnaXRzADIAAA== auth_type: 0 postgresresponses: - header: [R] @@ -1387,14 +1435,15 @@ spec: - SCRAM-SHA-256 msg_type: 82 auth_type: 10 - reqtimestampmock: 2023-12-09T06:29:44.138579643Z - restimestampmock: 2023-12-09T06:29:44.138606724Z + reqtimestampmock: 2024-02-12T16:43:50.258241415+05:30 + restimestampmock: 2024-02-12T16:43:50.25825479+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-37 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -1413,17 +1462,18 @@ spec: - 0 - 0 - 0 - authentication_sasl_continue: {data: [114, 61, 86, 69, 104, 104, 98, 99, 54, 114, 48, 117, 41, 107, 72, 80, 58, 56, 62, 33, 57, 107, 37, 84, 86, 94, 53, 89, 77, 103, 53, 105, 87, 67, 104, 97, 85, 69, 120, 108, 104, 101, 84, 116, 118, 70, 53, 69, 78, 43, 44, 115, 61, 121, 70, 108, 72, 88, 74, 56, 111, 118, 99, 101, 117, 76, 116, 86, 112, 53, 48, 65, 54, 47, 65, 61, 61, 44, 105, 61, 52, 48, 57, 54]} + authentication_sasl_continue: {data: [114, 61, 54, 119, 87, 95, 92, 66, 58, 70, 35, 52, 93, 94, 76, 62, 79, 51, 36, 61, 73, 98, 93, 42, 113, 107, 80, 110, 106, 55, 51, 76, 53, 105, 108, 119, 106, 120, 90, 88, 73, 75, 80, 121, 53, 117, 53, 112, 52, 69, 44, 115, 61, 98, 47, 103, 122, 108, 119, 81, 43, 102, 110, 74, 116, 119, 67, 72, 118, 113, 79, 122, 82, 104, 119, 61, 61, 44, 105, 61, 52, 48, 57, 54]} msg_type: 82 auth_type: 11 - reqtimestampmock: 2023-12-09T06:29:44.139029023Z - restimestampmock: 2023-12-09T06:29:44.13904423Z + reqtimestampmock: 2024-02-12T16:43:50.258768383+05:30 + restimestampmock: 2024-02-12T16:43:50.258777091+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-38 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -1440,10 +1490,10 @@ spec: - 0 - 0 - 0 - authentication_sasl_final: {data: [118, 61, 70, 122, 76, 119, 110, 69, 118, 101, 115, 109, 113, 109, 99, 76, 73, 84, 56, 103, 56, 77, 75, 89, 108, 43, 89, 52, 112, 78, 77, 105, 104, 76, 99, 72, 76, 121, 111, 57, 102, 113, 101, 102, 56, 61]} + authentication_sasl_final: {data: [118, 61, 107, 67, 86, 43, 111, 82, 98, 65, 104, 56, 76, 65, 52, 89, 115, 76, 66, 52, 54, 101, 43, 67, 69, 57, 115, 101, 88, 116, 79, 101, 107, 118, 101, 75, 71, 118, 117, 82, 104, 80, 101, 100, 115, 61]} backend_key_data: - process_id: 124 - secret_key: 860039647 + process_id: 81 + secret_key: 4160748385 parameter_status: - name: application_name value: "" @@ -1470,27 +1520,29 @@ spec: - name: standard_conforming_strings value: "on" - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata ready_for_query: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.149684482Z - restimestampmock: 2023-12-09T06:29:44.149722146Z + reqtimestampmock: 2024-02-12T16:43:50.26885648+05:30 + restimestampmock: 2024-02-12T16:43:50.268893814+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-39 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAACIAU0VUIGV4dHJhX2Zsb2F0X2RpZ2l0cyA9IDMAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -1499,7 +1551,7 @@ spec: - name: "" query: SET extra_float_digits = 3 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, Z] @@ -1520,14 +1572,15 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.150496374Z - restimestampmock: 2023-12-09T06:29:44.150506707Z + reqtimestampmock: 2024-02-12T16:43:50.270706179+05:30 + restimestampmock: 2024-02-12T16:43:50.270718721+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-40 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest length: 8 @@ -1544,17 +1597,18 @@ spec: - 0 - 0 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.162292115Z - restimestampmock: 2023-12-09T06:29:44.166701753Z + reqtimestampmock: 2024-02-12T16:43:50.283257695+05:30 + restimestampmock: 2024-02-12T16:43:50.283723412+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-41 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest - payload: AAAAdAADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBFdGMvVVRDAGV4dHJhX2Zsb2F0X2RpZ2l0cwAyAAA= + payload: AAAAeQADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBBc2lhL0tvbGthdGEAZXh0cmFfZmxvYXRfZGlnaXRzADIAAA== auth_type: 0 postgresresponses: - header: [R] @@ -1571,14 +1625,15 @@ spec: - SCRAM-SHA-256 msg_type: 82 auth_type: 10 - reqtimestampmock: 2023-12-09T06:29:44.168133636Z - restimestampmock: 2023-12-09T06:29:44.168156801Z + reqtimestampmock: 2024-02-12T16:43:50.284230963+05:30 + restimestampmock: 2024-02-12T16:43:50.284242171+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-42 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -1597,17 +1652,18 @@ spec: - 0 - 0 - 0 - authentication_sasl_continue: {data: [114, 61, 73, 41, 67, 40, 34, 49, 75, 48, 121, 84, 65, 83, 106, 120, 50, 115, 42, 107, 67, 116, 73, 42, 123, 106, 56, 122, 85, 99, 101, 67, 65, 114, 66, 77, 55, 99, 97, 65, 117, 99, 75, 116, 109, 89, 66, 78, 120, 100, 44, 115, 61, 121, 70, 108, 72, 88, 74, 56, 111, 118, 99, 101, 117, 76, 116, 86, 112, 53, 48, 65, 54, 47, 65, 61, 61, 44, 105, 61, 52, 48, 57, 54]} + authentication_sasl_continue: {data: [114, 61, 103, 49, 72, 54, 50, 51, 105, 88, 37, 125, 47, 118, 75, 90, 102, 81, 45, 57, 45, 107, 86, 37, 56, 106, 48, 53, 73, 110, 68, 68, 89, 67, 66, 108, 49, 107, 112, 86, 67, 51, 79, 103, 121, 74, 67, 74, 76, 100, 44, 115, 61, 98, 47, 103, 122, 108, 119, 81, 43, 102, 110, 74, 116, 119, 67, 72, 118, 113, 79, 122, 82, 104, 119, 61, 61, 44, 105, 61, 52, 48, 57, 54]} msg_type: 82 auth_type: 11 - reqtimestampmock: 2023-12-09T06:29:44.168583766Z - restimestampmock: 2023-12-09T06:29:44.16859164Z + reqtimestampmock: 2024-02-12T16:43:50.284840849+05:30 + restimestampmock: 2024-02-12T16:43:50.284848224+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-43 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -1624,10 +1680,10 @@ spec: - 0 - 0 - 0 - authentication_sasl_final: {data: [118, 61, 52, 56, 53, 50, 115, 52, 56, 69, 66, 97, 117, 52, 113, 122, 86, 81, 120, 88, 85, 116, 104, 119, 72, 86, 119, 104, 118, 43, 111, 113, 85, 113, 49, 88, 75, 78, 67, 43, 66, 122, 110, 86, 56, 61]} + authentication_sasl_final: {data: [118, 61, 118, 108, 71, 106, 117, 113, 120, 76, 69, 53, 48, 105, 113, 52, 104, 57, 78, 47, 101, 88, 117, 69, 71, 99, 72, 48, 89, 83, 56, 88, 65, 108, 110, 112, 118, 99, 108, 115, 79, 120, 79, 97, 119, 61]} backend_key_data: - process_id: 125 - secret_key: 2063582527 + process_id: 82 + secret_key: 4236904492 parameter_status: - name: application_name value: "" @@ -1654,27 +1710,29 @@ spec: - name: standard_conforming_strings value: "on" - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata ready_for_query: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.180361508Z - restimestampmock: 2023-12-09T06:29:44.180390631Z + reqtimestampmock: 2024-02-12T16:43:50.292080478+05:30 + restimestampmock: 2024-02-12T16:43:50.29210727+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-44 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAACIAU0VUIGV4dHJhX2Zsb2F0X2RpZ2l0cyA9IDMAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -1683,7 +1741,7 @@ spec: - name: "" query: SET extra_float_digits = 3 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, Z] @@ -1704,14 +1762,15 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.181308181Z - restimestampmock: 2023-12-09T06:29:44.181325304Z + reqtimestampmock: 2024-02-12T16:43:50.293435586+05:30 + restimestampmock: 2024-02-12T16:43:50.293446836+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-45 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest length: 8 @@ -1728,17 +1787,18 @@ spec: - 0 - 0 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.192691622Z - restimestampmock: 2023-12-09T06:29:44.193671167Z + reqtimestampmock: 2024-02-12T16:43:50.305297048+05:30 + restimestampmock: 2024-02-12T16:43:50.305861641+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-46 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest - payload: AAAAdAADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBFdGMvVVRDAGV4dHJhX2Zsb2F0X2RpZ2l0cwAyAAA= + payload: AAAAeQADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBBc2lhL0tvbGthdGEAZXh0cmFfZmxvYXRfZGlnaXRzADIAAA== auth_type: 0 postgresresponses: - header: [R] @@ -1755,14 +1815,15 @@ spec: - SCRAM-SHA-256 msg_type: 82 auth_type: 10 - reqtimestampmock: 2023-12-09T06:29:44.195081593Z - restimestampmock: 2023-12-09T06:29:44.195101133Z + reqtimestampmock: 2024-02-12T16:43:50.306509236+05:30 + restimestampmock: 2024-02-12T16:43:50.306523486+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-47 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -1781,17 +1842,18 @@ spec: - 0 - 0 - 0 - authentication_sasl_continue: {data: [114, 61, 115, 66, 46, 47, 80, 126, 84, 109, 107, 89, 62, 39, 53, 90, 68, 65, 93, 77, 122, 53, 99, 51, 78, 90, 55, 86, 122, 50, 52, 121, 52, 109, 108, 55, 89, 79, 85, 113, 47, 121, 52, 82, 55, 50, 69, 75, 76, 48, 44, 115, 61, 121, 70, 108, 72, 88, 74, 56, 111, 118, 99, 101, 117, 76, 116, 86, 112, 53, 48, 65, 54, 47, 65, 61, 61, 44, 105, 61, 52, 48, 57, 54]} + authentication_sasl_continue: {data: [114, 61, 35, 118, 106, 95, 56, 119, 37, 33, 48, 83, 62, 91, 60, 97, 102, 81, 68, 89, 35, 74, 74, 79, 93, 58, 53, 76, 109, 43, 107, 75, 43, 78, 81, 84, 98, 107, 48, 78, 43, 70, 51, 70, 75, 78, 109, 54, 111, 97, 44, 115, 61, 98, 47, 103, 122, 108, 119, 81, 43, 102, 110, 74, 116, 119, 67, 72, 118, 113, 79, 122, 82, 104, 119, 61, 61, 44, 105, 61, 52, 48, 57, 54]} msg_type: 82 auth_type: 11 - reqtimestampmock: 2023-12-09T06:29:44.19557551Z - restimestampmock: 2023-12-09T06:29:44.195592967Z + reqtimestampmock: 2024-02-12T16:43:50.307000786+05:30 + restimestampmock: 2024-02-12T16:43:50.307008287+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-48 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -1808,10 +1870,10 @@ spec: - 0 - 0 - 0 - authentication_sasl_final: {data: [118, 61, 101, 81, 52, 98, 56, 100, 75, 97, 48, 69, 82, 88, 57, 100, 80, 66, 87, 73, 79, 82, 103, 56, 70, 82, 83, 86, 80, 54, 88, 101, 69, 48, 56, 85, 103, 118, 51, 90, 48, 79, 54, 89, 52, 61]} + authentication_sasl_final: {data: [118, 61, 77, 117, 51, 117, 71, 65, 79, 99, 86, 106, 119, 112, 70, 53, 113, 70, 99, 112, 80, 67, 69, 104, 54, 77, 77, 73, 69, 56, 116, 53, 87, 56, 109, 107, 83, 115, 107, 111, 56, 66, 87, 107, 52, 61]} backend_key_data: - process_id: 126 - secret_key: 814842919 + process_id: 83 + secret_key: 4094673570 parameter_status: - name: application_name value: "" @@ -1838,27 +1900,29 @@ spec: - name: standard_conforming_strings value: "on" - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata ready_for_query: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.206309422Z - restimestampmock: 2023-12-09T06:29:44.206345877Z + reqtimestampmock: 2024-02-12T16:43:50.309295327+05:30 + restimestampmock: 2024-02-12T16:43:50.309324578+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-49 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAACIAU0VUIGV4dHJhX2Zsb2F0X2RpZ2l0cyA9IDMAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -1867,7 +1931,7 @@ spec: - name: "" query: SET extra_float_digits = 3 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, Z] @@ -1888,14 +1952,15 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.207202349Z - restimestampmock: 2023-12-09T06:29:44.207219555Z + reqtimestampmock: 2024-02-12T16:43:50.310726353+05:30 + restimestampmock: 2024-02-12T16:43:50.310739478+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-50 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest length: 8 @@ -1912,17 +1977,18 @@ spec: - 0 - 0 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.218772983Z - restimestampmock: 2023-12-09T06:29:44.233224006Z + reqtimestampmock: 2024-02-12T16:43:50.323227326+05:30 + restimestampmock: 2024-02-12T16:43:50.337663584+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-51 spec: - metadata: {} + metadata: + type: config postgresrequests: - identifier: StartupRequest - payload: AAAAdAADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBFdGMvVVRDAGV4dHJhX2Zsb2F0X2RpZ2l0cwAyAAA= + payload: AAAAeQADAAB1c2VyAHBldGNsaW5pYwBkYXRhYmFzZQBwZXRjbGluaWMAY2xpZW50X2VuY29kaW5nAFVURjgARGF0ZVN0eWxlAElTTwBUaW1lWm9uZQBBc2lhL0tvbGthdGEAZXh0cmFfZmxvYXRfZGlnaXRzADIAAA== auth_type: 0 postgresresponses: - header: [R] @@ -1939,14 +2005,15 @@ spec: - SCRAM-SHA-256 msg_type: 82 auth_type: 10 - reqtimestampmock: 2023-12-09T06:29:44.234665305Z - restimestampmock: 2023-12-09T06:29:44.234679595Z + reqtimestampmock: 2024-02-12T16:43:50.338246178+05:30 + restimestampmock: 2024-02-12T16:43:50.338258553+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-52 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -1965,17 +2032,18 @@ spec: - 0 - 0 - 0 - authentication_sasl_continue: {data: [114, 61, 79, 47, 93, 52, 106, 123, 92, 48, 75, 88, 37, 96, 91, 124, 116, 68, 34, 48, 45, 56, 65, 97, 85, 34, 53, 98, 115, 56, 118, 119, 86, 110, 109, 68, 103, 110, 47, 76, 84, 76, 105, 68, 112, 83, 106, 116, 83, 116, 44, 115, 61, 121, 70, 108, 72, 88, 74, 56, 111, 118, 99, 101, 117, 76, 116, 86, 112, 53, 48, 65, 54, 47, 65, 61, 61, 44, 105, 61, 52, 48, 57, 54]} + authentication_sasl_continue: {data: [114, 61, 126, 83, 113, 38, 59, 70, 83, 79, 125, 68, 34, 68, 81, 42, 86, 88, 34, 66, 80, 84, 67, 39, 38, 90, 72, 73, 74, 78, 70, 73, 114, 100, 114, 119, 82, 113, 86, 43, 51, 73, 121, 115, 67, 81, 116, 88, 82, 72, 44, 115, 61, 98, 47, 103, 122, 108, 119, 81, 43, 102, 110, 74, 116, 119, 67, 72, 118, 113, 79, 122, 82, 104, 119, 61, 61, 44, 105, 61, 52, 48, 57, 54]} msg_type: 82 auth_type: 11 - reqtimestampmock: 2023-12-09T06:29:44.235125434Z - restimestampmock: 2023-12-09T06:29:44.235145474Z + reqtimestampmock: 2024-02-12T16:43:50.339323114+05:30 + restimestampmock: 2024-02-12T16:43:50.339332156+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-53 spec: - metadata: {} + metadata: + type: config postgresrequests: - header: [p] identifier: ClientRequest @@ -1992,10 +2060,10 @@ spec: - 0 - 0 - 0 - authentication_sasl_final: {data: [118, 61, 105, 67, 43, 86, 53, 73, 77, 65, 90, 85, 71, 97, 54, 77, 66, 109, 47, 86, 69, 115, 74, 90, 83, 70, 79, 103, 54, 122, 99, 79, 73, 50, 87, 119, 112, 98, 57, 67, 111, 109, 72, 75, 56, 61]} + authentication_sasl_final: {data: [118, 61, 99, 120, 106, 113, 76, 85, 68, 47, 90, 122, 122, 68, 66, 88, 65, 69, 82, 50, 82, 49, 100, 67, 78, 116, 43, 117, 82, 88, 68, 101, 87, 50, 117, 76, 70, 68, 109, 67, 57, 43, 71, 118, 69, 61]} backend_key_data: - process_id: 127 - secret_key: 2866311288 + process_id: 84 + secret_key: 400980314 parameter_status: - name: application_name value: "" @@ -2022,27 +2090,29 @@ spec: - name: standard_conforming_strings value: "on" - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata - name: TimeZone - value: Etc/UTC + value: Asia/Kolkata ready_for_query: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.24571469Z - restimestampmock: 2023-12-09T06:29:44.245742938Z + reqtimestampmock: 2024-02-12T16:43:50.341942828+05:30 + restimestampmock: 2024-02-12T16:43:50.34197137+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-54 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAACIAU0VUIGV4dHJhX2Zsb2F0X2RpZ2l0cyA9IDMAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -2051,7 +2121,7 @@ spec: - name: "" query: SET extra_float_digits = 3 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, Z] @@ -2072,18 +2142,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.246957297Z - restimestampmock: 2023-12-09T06:29:44.246966712Z + reqtimestampmock: 2024-02-12T16:43:50.343610024+05:30 + restimestampmock: 2024-02-12T16:43:50.343621899+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-55 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAB8Ac2VsZWN0IGN1cnJlbnRfc2NoZW1hKCkAAABCAAAADAAAAAAAAAAARAAAAAZQAEUAAAAJAAAAAABTAAAABA== bind: - {} describe: @@ -2095,7 +2167,7 @@ spec: - name: "" query: select current_schema() parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", T, D, C, Z] @@ -2124,18 +2196,61 @@ spec: row_description: {fields: [{name: [99, 117, 114, 114, 101, 110, 116, 95, 115, 99, 104, 101, 109, 97], table_oid: 0, table_attribute_number: 0, data_type_oid: 19, data_type_size: 64, type_modifier: -1, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:43.938696735Z - restimestampmock: 2023-12-09T06:29:43.938720358Z + reqtimestampmock: 2024-02-12T16:43:50.047373354+05:30 + restimestampmock: 2024-02-12T16:43:50.047392438+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-56 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAAgAAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAABUwAAAAQ= + bind: + - {} + describe: + object_type: 80 + name: "" + execute: + - max_rows: 1 + parse: + - name: "" + query: "" + parameter_oids: [] + msg_type: 69 + auth_type: 0 + postgresresponses: + - header: ["1", "2", "n", I, Z] + identifier: ServerResponse + length: 8 + authentication_md5_password: + salt: + - 0 + - 0 + - 0 + - 0 + ready_for_query: + txstatus: 73 + msg_type: 90 + auth_type: 0 + reqtimestampmock: 2024-02-12T16:43:50.681629025+05:30 + restimestampmock: 2024-02-12T16:43:50.681654483+05:30 +--- +version: api.keploy.io/v1beta1 +kind: Postgres +name: mock-57 +spec: + metadata: + type: config + postgresrequests: + - header: [P, B, D, E] + identifier: ClientRequest + length: 8 + payload: UAAAADIAc2VsZWN0ICogZnJvbSBpbmZvcm1hdGlvbl9zY2hlbWEuc2VxdWVuY2VzAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - {} describe: @@ -2147,7 +2262,7 @@ spec: - name: "" query: select * from information_schema.sequences parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", T, C, Z] @@ -2174,18 +2289,20 @@ spec: row_description: {fields: [{name: [115, 101, 113, 117, 101, 110, 99, 101, 95, 99, 97, 116, 97, 108, 111, 103], table_oid: 13365, table_attribute_number: 1, data_type_oid: 19, data_type_size: 64, type_modifier: -1, format: 0}, {name: [115, 101, 113, 117, 101, 110, 99, 101, 95, 115, 99, 104, 101, 109, 97], table_oid: 13365, table_attribute_number: 2, data_type_oid: 19, data_type_size: 64, type_modifier: -1, format: 0}, {name: [115, 101, 113, 117, 101, 110, 99, 101, 95, 110, 97, 109, 101], table_oid: 13365, table_attribute_number: 3, data_type_oid: 19, data_type_size: 64, type_modifier: -1, format: 0}, {name: [100, 97, 116, 97, 95, 116, 121, 112, 101], table_oid: 13365, table_attribute_number: 4, data_type_oid: 1043, data_type_size: -1, type_modifier: -1, format: 0}, {name: [110, 117, 109, 101, 114, 105, 99, 95, 112, 114, 101, 99, 105, 115, 105, 111, 110], table_oid: 13365, table_attribute_number: 5, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 117, 109, 101, 114, 105, 99, 95, 112, 114, 101, 99, 105, 115, 105, 111, 110, 95, 114, 97, 100, 105, 120], table_oid: 13365, table_attribute_number: 6, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 117, 109, 101, 114, 105, 99, 95, 115, 99, 97, 108, 101], table_oid: 13365, table_attribute_number: 7, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [115, 116, 97, 114, 116, 95, 118, 97, 108, 117, 101], table_oid: 13365, table_attribute_number: 8, data_type_oid: 1043, data_type_size: -1, type_modifier: -1, format: 0}, {name: [109, 105, 110, 105, 109, 117, 109, 95, 118, 97, 108, 117, 101], table_oid: 13365, table_attribute_number: 9, data_type_oid: 1043, data_type_size: -1, type_modifier: -1, format: 0}, {name: [109, 97, 120, 105, 109, 117, 109, 95, 118, 97, 108, 117, 101], table_oid: 13365, table_attribute_number: 10, data_type_oid: 1043, data_type_size: -1, type_modifier: -1, format: 0}, {name: [105, 110, 99, 114, 101, 109, 101, 110, 116], table_oid: 13365, table_attribute_number: 11, data_type_oid: 1043, data_type_size: -1, type_modifier: -1, format: 0}, {name: [99, 121, 99, 108, 101, 95, 111, 112, 116, 105, 111, 110], table_oid: 13365, table_attribute_number: 12, data_type_oid: 1043, data_type_size: -1, type_modifier: 7, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.382027261Z - restimestampmock: 2023-12-09T06:29:44.382074715Z + reqtimestampmock: 2024-02-12T16:43:50.684237155+05:30 + restimestampmock: 2024-02-12T16:43:50.684267947+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-58 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAABvoAU0VMRUNUIE5VTEwgQVMgVEFCTEVfQ0FULCBuLm5zcG5hbWUgQVMgVEFCTEVfU0NIRU0sIGMucmVsbmFtZSBBUyBUQUJMRV9OQU1FLCAgQ0FTRSBuLm5zcG5hbWUgfiAnXnBnXycgT1Igbi5uc3BuYW1lID0gJ2luZm9ybWF0aW9uX3NjaGVtYScgIFdIRU4gdHJ1ZSBUSEVOIENBU0UgIFdIRU4gbi5uc3BuYW1lID0gJ3BnX2NhdGFsb2cnIE9SIG4ubnNwbmFtZSA9ICdpbmZvcm1hdGlvbl9zY2hlbWEnIFRIRU4gQ0FTRSBjLnJlbGtpbmQgICBXSEVOICdyJyBUSEVOICdTWVNURU0gVEFCTEUnICAgV0hFTiAndicgVEhFTiAnU1lTVEVNIFZJRVcnICAgV0hFTiAnaScgVEhFTiAnU1lTVEVNIElOREVYJyAgIEVMU0UgTlVMTCAgIEVORCAgV0hFTiBuLm5zcG5hbWUgPSAncGdfdG9hc3QnIFRIRU4gQ0FTRSBjLnJlbGtpbmQgICBXSEVOICdyJyBUSEVOICdTWVNURU0gVE9BU1QgVEFCTEUnICAgV0hFTiAnaScgVEhFTiAnU1lTVEVNIFRPQVNUIElOREVYJyAgIEVMU0UgTlVMTCAgIEVORCAgRUxTRSBDQVNFIGMucmVsa2luZCAgIFdIRU4gJ3InIFRIRU4gJ1RFTVBPUkFSWSBUQUJMRScgICBXSEVOICdwJyBUSEVOICdURU1QT1JBUlkgVEFCTEUnICAgV0hFTiAnaScgVEhFTiAnVEVNUE9SQVJZIElOREVYJyAgIFdIRU4gJ1MnIFRIRU4gJ1RFTVBPUkFSWSBTRVFVRU5DRScgICBXSEVOICd2JyBUSEVOICdURU1QT1JBUlkgVklFVycgICBFTFNFIE5VTEwgICBFTkQgIEVORCAgV0hFTiBmYWxzZSBUSEVOIENBU0UgYy5yZWxraW5kICBXSEVOICdyJyBUSEVOICdUQUJMRScgIFdIRU4gJ3AnIFRIRU4gJ1BBUlRJVElPTkVEIFRBQkxFJyAgV0hFTiAnaScgVEhFTiAnSU5ERVgnICBXSEVOICdQJyB0aGVuICdQQVJUSVRJT05FRCBJTkRFWCcgIFdIRU4gJ1MnIFRIRU4gJ1NFUVVFTkNFJyAgV0hFTiAndicgVEhFTiAnVklFVycgIFdIRU4gJ2MnIFRIRU4gJ1RZUEUnICBXSEVOICdmJyBUSEVOICdGT1JFSUdOIFRBQkxFJyAgV0hFTiAnbScgVEhFTiAnTUFURVJJQUxJWkVEIFZJRVcnICBFTFNFIE5VTEwgIEVORCAgRUxTRSBOVUxMICBFTkQgIEFTIFRBQkxFX1RZUEUsIGQuZGVzY3JpcHRpb24gQVMgUkVNQVJLUywgICcnIGFzIFRZUEVfQ0FULCAnJyBhcyBUWVBFX1NDSEVNLCAnJyBhcyBUWVBFX05BTUUsICcnIEFTIFNFTEZfUkVGRVJFTkNJTkdfQ09MX05BTUUsICcnIEFTIFJFRl9HRU5FUkFUSU9OICBGUk9NIHBnX2NhdGFsb2cucGdfbmFtZXNwYWNlIG4sIHBnX2NhdGFsb2cucGdfY2xhc3MgYyAgTEVGVCBKT0lOIHBnX2NhdGFsb2cucGdfZGVzY3JpcHRpb24gZCBPTiAoYy5vaWQgPSBkLm9iam9pZCBBTkQgZC5vYmpzdWJpZCA9IDAgIGFuZCBkLmNsYXNzb2lkID0gJ3BnX2NsYXNzJzo6cmVnY2xhc3MpICBXSEVSRSBjLnJlbG5hbWVzcGFjZSA9IG4ub2lkICBBTkQgbi5uc3BuYW1lIExJS0UgJ3B1YmxpYycgQU5EIGMucmVsbmFtZSBMSUtFICclJyBBTkQgKGZhbHNlICBPUiAoIGMucmVsa2luZCA9ICdyJyBBTkQgbi5uc3BuYW1lICF+ICdecGdfJyBBTkQgbi5uc3BuYW1lIDw+ICdpbmZvcm1hdGlvbl9zY2hlbWEnICkgIE9SICggYy5yZWxraW5kID0gJ3YnIEFORCBuLm5zcG5hbWUgPD4gJ3BnX2NhdGFsb2cnIEFORCBuLm5zcG5hbWUgPD4gJ2luZm9ybWF0aW9uX3NjaGVtYScgKSAgT1IgKCBjLnJlbGtpbmQgPSAnbScgKSAgT1IgKCBjLnJlbGtpbmQgPSAncCcgQU5EIG4ubnNwbmFtZSAhfiAnXnBnXycgQU5EIG4ubnNwbmFtZSA8PiAnaW5mb3JtYXRpb25fc2NoZW1hJyApICkgIE9SREVSIEJZIFRBQkxFX1RZUEUsVEFCTEVfU0NIRU0sVEFCTEVfTkFNRSAAAABCAAAADAAAAAAAAAAARAAAAAZQAEUAAAAJAAAAAABTAAAABA== bind: - {} describe: @@ -2197,7 +2314,7 @@ spec: - name: "" query: 'SELECT NULL AS TABLE_CAT, n.nspname AS TABLE_SCHEM, c.relname AS TABLE_NAME, CASE n.nspname ~ ''^pg_'' OR n.nspname = ''information_schema'' WHEN true THEN CASE WHEN n.nspname = ''pg_catalog'' OR n.nspname = ''information_schema'' THEN CASE c.relkind WHEN ''r'' THEN ''SYSTEM TABLE'' WHEN ''v'' THEN ''SYSTEM VIEW'' WHEN ''i'' THEN ''SYSTEM INDEX'' ELSE NULL END WHEN n.nspname = ''pg_toast'' THEN CASE c.relkind WHEN ''r'' THEN ''SYSTEM TOAST TABLE'' WHEN ''i'' THEN ''SYSTEM TOAST INDEX'' ELSE NULL END ELSE CASE c.relkind WHEN ''r'' THEN ''TEMPORARY TABLE'' WHEN ''p'' THEN ''TEMPORARY TABLE'' WHEN ''i'' THEN ''TEMPORARY INDEX'' WHEN ''S'' THEN ''TEMPORARY SEQUENCE'' WHEN ''v'' THEN ''TEMPORARY VIEW'' ELSE NULL END END WHEN false THEN CASE c.relkind WHEN ''r'' THEN ''TABLE'' WHEN ''p'' THEN ''PARTITIONED TABLE'' WHEN ''i'' THEN ''INDEX'' WHEN ''P'' then ''PARTITIONED INDEX'' WHEN ''S'' THEN ''SEQUENCE'' WHEN ''v'' THEN ''VIEW'' WHEN ''c'' THEN ''TYPE'' WHEN ''f'' THEN ''FOREIGN TABLE'' WHEN ''m'' THEN ''MATERIALIZED VIEW'' ELSE NULL END ELSE NULL END AS TABLE_TYPE, d.description AS REMARKS, '''' as TYPE_CAT, '''' as TYPE_SCHEM, '''' as TYPE_NAME, '''' AS SELF_REFERENCING_COL_NAME, '''' AS REF_GENERATION FROM pg_catalog.pg_namespace n, pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_description d ON (c.oid = d.objoid AND d.objsubid = 0 and d.classoid = ''pg_class''::regclass) WHERE c.relnamespace = n.oid AND n.nspname LIKE ''public'' AND c.relname LIKE ''%'' AND (false OR ( c.relkind = ''r'' AND n.nspname !~ ''^pg_'' AND n.nspname <> ''information_schema'' ) OR ( c.relkind = ''v'' AND n.nspname <> ''pg_catalog'' AND n.nspname <> ''information_schema'' ) OR ( c.relkind = ''m'' ) OR ( c.relkind = ''p'' AND n.nspname !~ ''^pg_'' AND n.nspname <> ''information_schema'' ) ) ORDER BY TABLE_TYPE,TABLE_SCHEM,TABLE_NAME ' parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", T, C, Z] @@ -2224,18 +2341,20 @@ spec: row_description: {fields: [{name: [116, 97, 98, 108, 101, 95, 99, 97, 116], table_oid: 0, table_attribute_number: 0, data_type_oid: 25, data_type_size: -1, type_modifier: -1, format: 0}, {name: [116, 97, 98, 108, 101, 95, 115, 99, 104, 101, 109], table_oid: 2615, table_attribute_number: 2, data_type_oid: 19, data_type_size: 64, type_modifier: -1, format: 0}, {name: [116, 97, 98, 108, 101, 95, 110, 97, 109, 101], table_oid: 1259, table_attribute_number: 2, data_type_oid: 19, data_type_size: 64, type_modifier: -1, format: 0}, {name: [116, 97, 98, 108, 101, 95, 116, 121, 112, 101], table_oid: 0, table_attribute_number: 0, data_type_oid: 25, data_type_size: -1, type_modifier: -1, format: 0}, {name: [114, 101, 109, 97, 114, 107, 115], table_oid: 2609, table_attribute_number: 4, data_type_oid: 25, data_type_size: -1, type_modifier: -1, format: 0}, {name: [116, 121, 112, 101, 95, 99, 97, 116], table_oid: 0, table_attribute_number: 0, data_type_oid: 25, data_type_size: -1, type_modifier: -1, format: 0}, {name: [116, 121, 112, 101, 95, 115, 99, 104, 101, 109], table_oid: 0, table_attribute_number: 0, data_type_oid: 25, data_type_size: -1, type_modifier: -1, format: 0}, {name: [116, 121, 112, 101, 95, 110, 97, 109, 101], table_oid: 0, table_attribute_number: 0, data_type_oid: 25, data_type_size: -1, type_modifier: -1, format: 0}, {name: [115, 101, 108, 102, 95, 114, 101, 102, 101, 114, 101, 110, 99, 105, 110, 103, 95, 99, 111, 108, 95, 110, 97, 109, 101], table_oid: 0, table_attribute_number: 0, data_type_oid: 25, data_type_size: -1, type_modifier: -1, format: 0}, {name: [114, 101, 102, 95, 103, 101, 110, 101, 114, 97, 116, 105, 111, 110], table_oid: 0, table_attribute_number: 0, data_type_oid: 25, data_type_size: -1, type_modifier: -1, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.389440403Z - restimestampmock: 2023-12-09T06:29:44.389478358Z + reqtimestampmock: 2024-02-12T16:43:50.689428372+05:30 + restimestampmock: 2024-02-12T16:43:50.689456164+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-59 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAABIQAU0VMRUNUICogRlJPTSAoU0VMRUNUIG4ubnNwbmFtZSxjLnJlbG5hbWUsYS5hdHRuYW1lLGEuYXR0dHlwaWQsYS5hdHRub3RudWxsIE9SICh0LnR5cHR5cGUgPSAnZCcgQU5EIHQudHlwbm90bnVsbCkgQVMgYXR0bm90bnVsbCxhLmF0dHR5cG1vZCxhLmF0dGxlbix0LnR5cHR5cG1vZCxyb3dfbnVtYmVyKCkgT1ZFUiAoUEFSVElUSU9OIEJZIGEuYXR0cmVsaWQgT1JERVIgQlkgYS5hdHRudW0pIEFTIGF0dG51bSwgbnVsbGlmKGEuYXR0aWRlbnRpdHksICcnKSBhcyBhdHRpZGVudGl0eSxudWxsaWYoYS5hdHRnZW5lcmF0ZWQsICcnKSBhcyBhdHRnZW5lcmF0ZWQscGdfY2F0YWxvZy5wZ19nZXRfZXhwcihkZWYuYWRiaW4sIGRlZi5hZHJlbGlkKSBBUyBhZHNyYyxkc2MuZGVzY3JpcHRpb24sdC50eXBiYXNldHlwZSx0LnR5cHR5cGUgIEZST00gcGdfY2F0YWxvZy5wZ19uYW1lc3BhY2UgbiAgSk9JTiBwZ19jYXRhbG9nLnBnX2NsYXNzIGMgT04gKGMucmVsbmFtZXNwYWNlID0gbi5vaWQpICBKT0lOIHBnX2NhdGFsb2cucGdfYXR0cmlidXRlIGEgT04gKGEuYXR0cmVsaWQ9Yy5vaWQpICBKT0lOIHBnX2NhdGFsb2cucGdfdHlwZSB0IE9OIChhLmF0dHR5cGlkID0gdC5vaWQpICBMRUZUIEpPSU4gcGdfY2F0YWxvZy5wZ19hdHRyZGVmIGRlZiBPTiAoYS5hdHRyZWxpZD1kZWYuYWRyZWxpZCBBTkQgYS5hdHRudW0gPSBkZWYuYWRudW0pICBMRUZUIEpPSU4gcGdfY2F0YWxvZy5wZ19kZXNjcmlwdGlvbiBkc2MgT04gKGMub2lkPWRzYy5vYmpvaWQgQU5EIGEuYXR0bnVtID0gZHNjLm9ianN1YmlkKSAgTEVGVCBKT0lOIHBnX2NhdGFsb2cucGdfY2xhc3MgZGMgT04gKGRjLm9pZD1kc2MuY2xhc3NvaWQgQU5EIGRjLnJlbG5hbWU9J3BnX2NsYXNzJykgIExFRlQgSk9JTiBwZ19jYXRhbG9nLnBnX25hbWVzcGFjZSBkbiBPTiAoZGMucmVsbmFtZXNwYWNlPWRuLm9pZCBBTkQgZG4ubnNwbmFtZT0ncGdfY2F0YWxvZycpICBXSEVSRSBjLnJlbGtpbmQgaW4gKCdyJywncCcsJ3YnLCdmJywnbScpIGFuZCBhLmF0dG51bSA+IDAgQU5EIE5PVCBhLmF0dGlzZHJvcHBlZCAgQU5EIG4ubnNwbmFtZSBMSUtFICdwdWJsaWMnKSBjIFdIRVJFIHRydWUgIEFORCBhdHRuYW1lIExJS0UgJyUnIE9SREVSIEJZIG5zcG5hbWUsYy5yZWxuYW1lLGF0dG51bSAAAABCAAAADAAAAAAAAAAARAAAAAZQAEUAAAAJAAAAAABTAAAABA== bind: - {} describe: @@ -2247,7 +2366,7 @@ spec: - name: "" query: 'SELECT * FROM (SELECT n.nspname,c.relname,a.attname,a.atttypid,a.attnotnull OR (t.typtype = ''d'' AND t.typnotnull) AS attnotnull,a.atttypmod,a.attlen,t.typtypmod,row_number() OVER (PARTITION BY a.attrelid ORDER BY a.attnum) AS attnum, nullif(a.attidentity, '''') as attidentity,nullif(a.attgenerated, '''') as attgenerated,pg_catalog.pg_get_expr(def.adbin, def.adrelid) AS adsrc,dsc.description,t.typbasetype,t.typtype FROM pg_catalog.pg_namespace n JOIN pg_catalog.pg_class c ON (c.relnamespace = n.oid) JOIN pg_catalog.pg_attribute a ON (a.attrelid=c.oid) JOIN pg_catalog.pg_type t ON (a.atttypid = t.oid) LEFT JOIN pg_catalog.pg_attrdef def ON (a.attrelid=def.adrelid AND a.attnum = def.adnum) LEFT JOIN pg_catalog.pg_description dsc ON (c.oid=dsc.objoid AND a.attnum = dsc.objsubid) LEFT JOIN pg_catalog.pg_class dc ON (dc.oid=dsc.classoid AND dc.relname=''pg_class'') LEFT JOIN pg_catalog.pg_namespace dn ON (dc.relnamespace=dn.oid AND dn.nspname=''pg_catalog'') WHERE c.relkind in (''r'',''p'',''v'',''f'',''m'') and a.attnum > 0 AND NOT a.attisdropped AND n.nspname LIKE ''public'') c WHERE true AND attname LIKE ''%'' ORDER BY nspname,c.relname,attnum ' parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", T, C, Z] @@ -2274,18 +2393,20 @@ spec: row_description: {fields: [{name: [110, 115, 112, 110, 97, 109, 101], table_oid: 2615, table_attribute_number: 2, data_type_oid: 19, data_type_size: 64, type_modifier: -1, format: 0}, {name: [114, 101, 108, 110, 97, 109, 101], table_oid: 1259, table_attribute_number: 2, data_type_oid: 19, data_type_size: 64, type_modifier: -1, format: 0}, {name: [97, 116, 116, 110, 97, 109, 101], table_oid: 1249, table_attribute_number: 2, data_type_oid: 19, data_type_size: 64, type_modifier: -1, format: 0}, {name: [97, 116, 116, 116, 121, 112, 105, 100], table_oid: 1249, table_attribute_number: 3, data_type_oid: 26, data_type_size: 4, type_modifier: -1, format: 0}, {name: [97, 116, 116, 110, 111, 116, 110, 117, 108, 108], table_oid: 0, table_attribute_number: 0, data_type_oid: 16, data_type_size: 1, type_modifier: -1, format: 0}, {name: [97, 116, 116, 116, 121, 112, 109, 111, 100], table_oid: 1249, table_attribute_number: 9, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [97, 116, 116, 108, 101, 110], table_oid: 1249, table_attribute_number: 5, data_type_oid: 21, data_type_size: 2, type_modifier: -1, format: 0}, {name: [116, 121, 112, 116, 121, 112, 109, 111, 100], table_oid: 1247, table_attribute_number: 27, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [97, 116, 116, 110, 117, 109], table_oid: 0, table_attribute_number: 0, data_type_oid: 20, data_type_size: 8, type_modifier: -1, format: 0}, {name: [97, 116, 116, 105, 100, 101, 110, 116, 105, 116, 121], table_oid: 0, table_attribute_number: 0, data_type_oid: 18, data_type_size: 1, type_modifier: -1, format: 0}, {name: [97, 116, 116, 103, 101, 110, 101, 114, 97, 116, 101, 100], table_oid: 0, table_attribute_number: 0, data_type_oid: 18, data_type_size: 1, type_modifier: -1, format: 0}, {name: [97, 100, 115, 114, 99], table_oid: 0, table_attribute_number: 0, data_type_oid: 25, data_type_size: -1, type_modifier: -1, format: 0}, {name: [100, 101, 115, 99, 114, 105, 112, 116, 105, 111, 110], table_oid: 2609, table_attribute_number: 4, data_type_oid: 25, data_type_size: -1, type_modifier: -1, format: 0}, {name: [116, 121, 112, 98, 97, 115, 101, 116, 121, 112, 101], table_oid: 1247, table_attribute_number: 26, data_type_oid: 26, data_type_size: 4, type_modifier: -1, format: 0}, {name: [116, 121, 112, 116, 121, 112, 101], table_oid: 1247, table_attribute_number: 7, data_type_oid: 18, data_type_size: 1, type_modifier: -1, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.394877415Z - restimestampmock: 2023-12-09T06:29:44.39490483Z + reqtimestampmock: 2024-02-12T16:43:50.692208505+05:30 + restimestampmock: 2024-02-12T16:43:50.692241298+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-60 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAALQAY3JlYXRlIHRhYmxlIG93bmVycyAoaWQgc2VyaWFsIG5vdCBudWxsLCBmaXJzdF9uYW1lIHZhcmNoYXIoMjU1KSwgbGFzdF9uYW1lIHZhcmNoYXIoMjU1KSwgYWRkcmVzcyB2YXJjaGFyKDI1NSksIGNpdHkgdmFyY2hhcigyNTUpLCB0ZWxlcGhvbmUgdmFyY2hhcigyNTUpLCBwcmltYXJ5IGtleSAoaWQpKQAAAEIAAAAMAAAAAAAAAABEAAAABlAARQAAAAkAAAAAAFMAAAAE bind: - {} describe: @@ -2297,7 +2418,7 @@ spec: - name: "" query: create table owners (id serial not null, first_name varchar(255), last_name varchar(255), address varchar(255), city varchar(255), telephone varchar(255), primary key (id)) parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -2327,18 +2448,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.409030838Z - restimestampmock: 2023-12-09T06:29:44.409069876Z + reqtimestampmock: 2024-02-12T16:43:50.705328907+05:30 + restimestampmock: 2024-02-12T16:43:50.7054282+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-61 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAIcAY3JlYXRlIHRhYmxlIHBldHMgKGlkIHNlcmlhbCBub3QgbnVsbCwgbmFtZSB2YXJjaGFyKDI1NSksIGJpcnRoX2RhdGUgREFURSwgb3duZXJfaWQgaW50ZWdlciwgdHlwZV9pZCBpbnRlZ2VyLCBwcmltYXJ5IGtleSAoaWQpKQAAAEIAAAAMAAAAAAAAAABEAAAABlAARQAAAAkAAAAAAFMAAAAE bind: - {} describe: @@ -2350,7 +2473,7 @@ spec: - name: "" query: create table pets (id serial not null, name varchar(255), birth_date DATE, owner_id integer, type_id integer, primary key (id)) parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -2380,18 +2503,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.41108292Z - restimestampmock: 2023-12-09T06:29:44.411116125Z + reqtimestampmock: 2024-02-12T16:43:50.707634364+05:30 + restimestampmock: 2024-02-12T16:43:50.707659365+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-62 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAGsAY3JlYXRlIHRhYmxlIHJvbGVzIChpZCBzZXJpYWwgbm90IG51bGwsIHJvbGUgdmFyY2hhcigyNTUpLCB1c2VybmFtZSB2YXJjaGFyKDI1NSksIHByaW1hcnkga2V5IChpZCkpAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - {} describe: @@ -2403,7 +2528,7 @@ spec: - name: "" query: create table roles (id serial not null, role varchar(255), username varchar(255), primary key (id)) parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -2433,18 +2558,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.415173584Z - restimestampmock: 2023-12-09T06:29:44.415200749Z + reqtimestampmock: 2024-02-12T16:43:50.711182636+05:30 + restimestampmock: 2024-02-12T16:43:50.711202428+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-63 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAFoAY3JlYXRlIHRhYmxlIHNwZWNpYWx0aWVzIChpZCBzZXJpYWwgbm90IG51bGwsIG5hbWUgdmFyY2hhcigyNTUpLCBwcmltYXJ5IGtleSAoaWQpKQAAAEIAAAAMAAAAAAAAAABEAAAABlAARQAAAAkAAAAAAFMAAAAE bind: - {} describe: @@ -2456,7 +2583,7 @@ spec: - name: "" query: create table specialties (id serial not null, name varchar(255), primary key (id)) parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -2486,18 +2613,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.417517142Z - restimestampmock: 2023-12-09T06:29:44.417539973Z + reqtimestampmock: 2024-02-12T16:43:50.713449843+05:30 + restimestampmock: 2024-02-12T16:43:50.713466594+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-64 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAFQAY3JlYXRlIHRhYmxlIHR5cGVzIChpZCBzZXJpYWwgbm90IG51bGwsIG5hbWUgdmFyY2hhcigyNTUpLCBwcmltYXJ5IGtleSAoaWQpKQAAAEIAAAAMAAAAAAAAAABEAAAABlAARQAAAAkAAAAAAFMAAAAE bind: - {} describe: @@ -2509,7 +2638,7 @@ spec: - name: "" query: create table types (id serial not null, name varchar(255), primary key (id)) parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -2539,18 +2668,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.419392488Z - restimestampmock: 2023-12-09T06:29:44.419410945Z + reqtimestampmock: 2024-02-12T16:43:50.715362961+05:30 + restimestampmock: 2024-02-12T16:43:50.715380295+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-65 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAHsAY3JlYXRlIHRhYmxlIHVzZXJzICh1c2VybmFtZSB2YXJjaGFyKDI1NSkgbm90IG51bGwsIGVuYWJsZWQgYm9vbGVhbiwgcGFzc3dvcmQgdmFyY2hhcigyNTUpLCBwcmltYXJ5IGtleSAodXNlcm5hbWUpKQAAAEIAAAAMAAAAAAAAAABEAAAABlAARQAAAAkAAAAAAFMAAAAE bind: - {} describe: @@ -2562,7 +2693,7 @@ spec: - name: "" query: create table users (username varchar(255) not null, enabled boolean, password varchar(255), primary key (username)) parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -2592,18 +2723,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.422927782Z - restimestampmock: 2023-12-09T06:29:44.422942614Z + reqtimestampmock: 2024-02-12T16:43:50.718600769+05:30 + restimestampmock: 2024-02-12T16:43:50.718618811+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-66 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAIEAY3JlYXRlIHRhYmxlIHZldF9zcGVjaWFsdGllcyAodmV0X2lkIGludGVnZXIgbm90IG51bGwsIHNwZWNpYWx0eV9pZCBpbnRlZ2VyIG5vdCBudWxsLCBwcmltYXJ5IGtleSAodmV0X2lkLCBzcGVjaWFsdHlfaWQpKQAAAEIAAAAMAAAAAAAAAABEAAAABlAARQAAAAkAAAAAAFMAAAAE bind: - {} describe: @@ -2615,7 +2748,7 @@ spec: - name: "" query: create table vet_specialties (vet_id integer not null, specialty_id integer not null, primary key (vet_id, specialty_id)) parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -2645,18 +2778,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.42473205Z - restimestampmock: 2023-12-09T06:29:44.424750507Z + reqtimestampmock: 2024-02-12T16:43:50.720501594+05:30 + restimestampmock: 2024-02-12T16:43:50.720515345+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-67 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAHEAY3JlYXRlIHRhYmxlIHZldHMgKGlkIHNlcmlhbCBub3QgbnVsbCwgZmlyc3RfbmFtZSB2YXJjaGFyKDI1NSksIGxhc3RfbmFtZSB2YXJjaGFyKDI1NSksIHByaW1hcnkga2V5IChpZCkpAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - {} describe: @@ -2668,7 +2803,7 @@ spec: - name: "" query: create table vets (id serial not null, first_name varchar(255), last_name varchar(255), primary key (id)) parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -2698,18 +2833,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.427258218Z - restimestampmock: 2023-12-09T06:29:44.427276842Z + reqtimestampmock: 2024-02-12T16:43:50.723947031+05:30 + restimestampmock: 2024-02-12T16:43:50.723982573+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-68 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAH0AY3JlYXRlIHRhYmxlIHZpc2l0cyAoaWQgc2VyaWFsIG5vdCBudWxsLCB2aXNpdF9kYXRlIERBVEUsIGRlc2NyaXB0aW9uIHZhcmNoYXIoMjU1KSwgcGV0X2lkIGludGVnZXIsIHByaW1hcnkga2V5IChpZCkpAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - {} describe: @@ -2721,7 +2858,7 @@ spec: - name: "" query: create table visits (id serial not null, visit_date DATE, description varchar(255), pet_id integer, primary key (id)) parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -2751,18 +2888,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.429458871Z - restimestampmock: 2023-12-09T06:29:44.429482661Z + reqtimestampmock: 2024-02-12T16:43:50.728355985+05:30 + restimestampmock: 2024-02-12T16:43:50.72838311+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-69 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAFkAYWx0ZXIgdGFibGUgaWYgZXhpc3RzIHJvbGVzIGRyb3AgY29uc3RyYWludCBpZiBleGlzdHMgVUtnYnVqbzlkMDZ4YmF4NTBodDFsYWtmNnYwAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - {} describe: @@ -2774,7 +2913,7 @@ spec: - name: "" query: alter table if exists roles drop constraint if exists UKgbujo9d06xbax50ht1lakf6v0 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", "N"] @@ -2835,18 +2974,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.430319425Z - restimestampmock: 2023-12-09T06:29:44.430758889Z + reqtimestampmock: 2024-02-12T16:43:50.729770885+05:30 + restimestampmock: 2024-02-12T16:43:50.730025556+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-70 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAGYAYWx0ZXIgdGFibGUgaWYgZXhpc3RzIHJvbGVzIGFkZCBjb25zdHJhaW50IFVLZ2J1am85ZDA2eGJheDUwaHQxbGFrZjZ2MCB1bmlxdWUgKHVzZXJuYW1lLCByb2xlKQAAAEIAAAAMAAAAAAAAAABEAAAABlAARQAAAAkAAAAAAFMAAAAE bind: - {} describe: @@ -2858,7 +2999,7 @@ spec: - name: "" query: alter table if exists roles add constraint UKgbujo9d06xbax50ht1lakf6v0 unique (username, role) parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -2887,18 +3028,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.433840803Z - restimestampmock: 2023-12-09T06:29:44.433866218Z + reqtimestampmock: 2024-02-12T16:43:50.733530161+05:30 + restimestampmock: 2024-02-12T16:43:50.733553744+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-71 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAHYAYWx0ZXIgdGFibGUgaWYgZXhpc3RzIHBldHMgYWRkIGNvbnN0cmFpbnQgRks2dGVnNGtjamNuamhkdWd1ZnQ1NndjZm9hIGZvcmVpZ24ga2V5IChvd25lcl9pZCkgcmVmZXJlbmNlcyBvd25lcnMAAABCAAAADAAAAAAAAAAARAAAAAZQAEUAAAAJAAAAAABTAAAABA== bind: - {} describe: @@ -2910,7 +3053,7 @@ spec: - name: "" query: alter table if exists pets add constraint FK6teg4kcjcnjhduguft56wcfoa foreign key (owner_id) references owners parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -2939,18 +3082,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.435942006Z - restimestampmock: 2023-12-09T06:29:44.435959588Z + reqtimestampmock: 2024-02-12T16:43:50.735349151+05:30 + restimestampmock: 2024-02-12T16:43:50.735368068+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-72 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAHQAYWx0ZXIgdGFibGUgaWYgZXhpc3RzIHBldHMgYWRkIGNvbnN0cmFpbnQgRkt0bW1oMXRxOHBhaDV2eGY4a3VxcXBsbzRwIGZvcmVpZ24ga2V5ICh0eXBlX2lkKSByZWZlcmVuY2VzIHR5cGVzAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - {} describe: @@ -2962,7 +3107,7 @@ spec: - name: "" query: alter table if exists pets add constraint FKtmmh1tq8pah5vxf8kuqqplo4p foreign key (type_id) references types parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -2991,18 +3136,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.437015918Z - restimestampmock: 2023-12-09T06:29:44.437032Z + reqtimestampmock: 2024-02-12T16:43:50.736848887+05:30 + restimestampmock: 2024-02-12T16:43:50.736867345+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-73 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAHYAYWx0ZXIgdGFibGUgaWYgZXhpc3RzIHJvbGVzIGFkZCBjb25zdHJhaW50IEZLcW15a2cybWFid2trMXZocGM0NTI2ZzQ0ayBmb3JlaWduIGtleSAodXNlcm5hbWUpIHJlZmVyZW5jZXMgdXNlcnMAAABCAAAADAAAAAAAAAAARAAAAAZQAEUAAAAJAAAAAABTAAAABA== bind: - {} describe: @@ -3014,7 +3161,7 @@ spec: - name: "" query: alter table if exists roles add constraint FKqmykg2mabwkk1vhpc4526g44k foreign key (username) references users parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -3043,18 +3190,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.437834267Z - restimestampmock: 2023-12-09T06:29:44.437846266Z + reqtimestampmock: 2024-02-12T16:43:50.737992699+05:30 + restimestampmock: 2024-02-12T16:43:50.738008741+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-74 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAIoAYWx0ZXIgdGFibGUgaWYgZXhpc3RzIHZldF9zcGVjaWFsdGllcyBhZGQgY29uc3RyYWludCBGSzM1dWlib3lycGZuMWJuZHJyNWpvcmNqMG0gZm9yZWlnbiBrZXkgKHNwZWNpYWx0eV9pZCkgcmVmZXJlbmNlcyBzcGVjaWFsdGllcwAAAEIAAAAMAAAAAAAAAABEAAAABlAARQAAAAkAAAAAAFMAAAAE bind: - {} describe: @@ -3066,7 +3215,7 @@ spec: - name: "" query: alter table if exists vet_specialties add constraint FK35uiboyrpfn1bndrr5jorcj0m foreign key (specialty_id) references specialties parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -3095,18 +3244,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.438617453Z - restimestampmock: 2023-12-09T06:29:44.438632577Z + reqtimestampmock: 2024-02-12T16:43:50.739211346+05:30 + restimestampmock: 2024-02-12T16:43:50.739232888+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-75 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAH0AYWx0ZXIgdGFibGUgaWYgZXhpc3RzIHZldF9zcGVjaWFsdGllcyBhZGQgY29uc3RyYWludCBGS2J5MWMwZmJhYTBieWFpZmk2M3Z0MThzeDkgZm9yZWlnbiBrZXkgKHZldF9pZCkgcmVmZXJlbmNlcyB2ZXRzAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - {} describe: @@ -3118,7 +3269,7 @@ spec: - name: "" query: alter table if exists vet_specialties add constraint FKby1c0fbaa0byaifi63vt18sx9 foreign key (vet_id) references vets parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -3147,18 +3298,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.439329187Z - restimestampmock: 2023-12-09T06:29:44.43934606Z + reqtimestampmock: 2024-02-12T16:43:50.740103986+05:30 + restimestampmock: 2024-02-12T16:43:50.740120487+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-76 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAHQAYWx0ZXIgdGFibGUgaWYgZXhpc3RzIHZpc2l0cyBhZGQgY29uc3RyYWludCBGSzZqY2lmaGxxcWxzZnNldTY3dXRsb3VhdXkgZm9yZWlnbiBrZXkgKHBldF9pZCkgcmVmZXJlbmNlcyBwZXRzAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - {} describe: @@ -3170,7 +3323,7 @@ spec: - name: "" query: alter table if exists visits add constraint FK6jcifhlqqlsfseu67utlouauy foreign key (pet_id) references pets parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", C, Z] @@ -3199,18 +3352,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.440423555Z - restimestampmock: 2023-12-09T06:29:44.440442137Z + reqtimestampmock: 2024-02-12T16:43:50.741690306+05:30 + restimestampmock: 2024-02-12T16:43:50.741957728+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-77 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAAgAAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAABUwAAAAQ= bind: - {} describe: @@ -3222,7 +3377,7 @@ spec: - name: "" query: "" parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", I, Z] @@ -3238,18 +3393,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:56.257425566Z - restimestampmock: 2023-12-09T06:29:56.25747952Z + reqtimestampmock: 2024-02-12T16:54:21.187903172+05:30 + restimestampmock: 2024-02-12T16:54:21.187974496+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-78 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, P, B, D, E, S] + - header: [P, B, E, P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAABcAQkVHSU4gUkVBRCBPTkxZAAAAQgAAAAwAAAAAAAAAAEUAAAAJAAAAAABQAAAAMABzZWxlY3QgcDFfMC5pZCxwMV8wLm5hbWUgZnJvbSB0eXBlcyBwMV8wAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - {} - {} @@ -3266,7 +3423,7 @@ spec: - name: "" query: select p1_0.id,p1_0.name from types p1_0 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, "1", "2", T, C, Z] @@ -3299,18 +3456,20 @@ spec: row_description: {fields: [{name: [105, 100], table_oid: 16422, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16422, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:56.297100292Z - restimestampmock: 2023-12-09T06:29:56.297129915Z + reqtimestampmock: 2024-02-12T16:54:21.235694633+05:30 + restimestampmock: 2024-02-12T16:54:21.235748042+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-79 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAABFTXzEAQ09NTUlUAAAAQgAAAA8AU18xAAAAAAAAAEUAAAAJAAAAAAFTAAAABA== bind: - prepared_statement: S_1 execute: @@ -3319,7 +3478,7 @@ spec: - name: S_1 query: COMMIT parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, Z] @@ -3343,18 +3502,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:56.301086626Z - restimestampmock: 2023-12-09T06:29:56.30112204Z + reqtimestampmock: 2024-02-12T16:54:21.240783261+05:30 + restimestampmock: 2024-02-12T16:54:21.240806049+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-80 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAAgAAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAABUwAAAAQ= bind: - {} describe: @@ -3366,7 +3527,7 @@ spec: - name: "" query: "" parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", I, Z] @@ -3382,22 +3543,24 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:30:06.436803136Z - restimestampmock: 2023-12-09T06:30:06.436830175Z + reqtimestampmock: 2024-02-12T16:54:26.926339897+05:30 + restimestampmock: 2024-02-12T16:54:26.926373809+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-81 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, P, B, D, E, S] + - header: [P, B, E, P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAA0AQkVHSU4AAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAFAAAAA8AGluc2VydCBpbnRvIHR5cGVzIChuYW1lKSB2YWx1ZXMgKCQxKQpSRVRVUk5JTkcgKgAAAQAABBNCAAAAFQAAAAEAAAABAAAAA0NhdAAARAAAAAZQAEUAAAAJAAAAAABTAAAABA== bind: - {} - parameter_format_codes: [0] - parameters: [[68, 111, 103]] + parameters: [[67, 97, 116]] describe: object_type: 80 name: "" @@ -3412,13 +3575,13 @@ spec: query: insert into types (name) values ($1) RETURNING * parameter_oids: - 1043 - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, "1", "2", T, D, C, Z] identifier: ServerResponse length: 8 - payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAAyAAJpZAAAAEAmAAEAAAAXAAT/////AABuYW1lAAAAQCYAAgAABBP//wAAAQMAAEQAAAASAAIAAAABMQAAAANEb2dDAAAAD0lOU0VSVCAwIDEAWgAAAAVU + payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAAyAAJpZAAAAEAmAAEAAAAXAAT/////AABuYW1lAAAAQCYAAgAABBP//wAAAQMAAEQAAAASAAIAAAABMQAAAANDYXRDAAAAD0lOU0VSVCAwIDEAWgAAAAVU authentication_md5_password: salt: - 0 @@ -3443,29 +3606,31 @@ spec: - 48 - 32 - 49 - data_row: [{row_values: ["1", Dog]}, {row_values: ["1", Dog]}, {row_values: ["1", Dog]}] + data_row: [{row_values: ["1", Cat]}, {row_values: ["1", Cat]}, {row_values: ["1", Cat]}] ready_for_query: txstatus: 84 row_description: {fields: [{name: [105, 100], table_oid: 16422, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16422, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:30:06.453911977Z - restimestampmock: 2023-12-09T06:30:06.453956265Z + reqtimestampmock: 2024-02-12T16:54:26.946484187+05:30 + restimestampmock: 2024-02-12T16:54:26.946517349+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-82 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [B, E, S] + - header: [B, E] identifier: ClientRequest length: 8 + payload: QgAAAA8AU18xAAAAAAAAAEUAAAAJAAAAAAFTAAAABA== bind: - prepared_statement: S_1 execute: - max_rows: 1 - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["2", C, Z] @@ -3489,30 +3654,32 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:30:06.46223673Z - restimestampmock: 2023-12-09T06:30:06.462260478Z + reqtimestampmock: 2024-02-12T16:54:26.955795229+05:30 + restimestampmock: 2024-02-12T16:54:26.955878342+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-83 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAAtTXzIAAAAAQgAAAA8AU18yAAAAAAAAAEQAAAAGUABFAAAACQAAAAABUwAAAAQ= bind: - - {} + - prepared_statement: S_2 describe: object_type: 80 name: "" execute: - max_rows: 1 parse: - - name: "" + - name: S_2 query: "" parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", "n", I, Z] @@ -3528,22 +3695,24 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:01.029643613Z - restimestampmock: 2023-12-09T06:31:01.029676985Z + reqtimestampmock: 2024-02-12T16:54:33.699567357+05:30 + restimestampmock: 2024-02-12T16:54:33.69964093+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-84 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, P, B, D, E, S] + - header: [P, B, E, P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAA0AQkVHSU4AAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAFAAAAA8AGluc2VydCBpbnRvIHR5cGVzIChuYW1lKSB2YWx1ZXMgKCQxKQpSRVRVUk5JTkcgKgAAAQAABBNCAAAAFQAAAAEAAAABAAAAA0RvZwAARAAAAAZQAEUAAAAJAAAAAABTAAAABA== bind: - {} - - parameter_format_codes: [0, 0, 0, 0, 0] - parameters: [[49, 52, 116, 104, 32, 77, 97, 105, 110, 32, 83, 116, 114, 101, 101, 116, 44, 32, 82, 111, 121, 97, 108, 32, 83, 116, 114, 101, 101, 116], [76, 111, 110, 100, 111, 110, 44, 32, 69, 110, 103, 108, 97, 110, 100], [74, 111, 104, 110], [68, 111, 101], [49, 50, 51, 52, 53, 54, 55, 56]] + - parameter_format_codes: [0] + parameters: [[68, 111, 103]] describe: object_type: 80 name: "" @@ -3555,20 +3724,16 @@ spec: query: BEGIN parameter_oids: [] - name: "" - query: insert into owners (address, city, first_name, last_name, telephone) values ($1, $2, $3, $4, $5) RETURNING * + query: insert into types (name) values ($1) RETURNING * parameter_oids: - 1043 - - 1043 - - 1043 - - 1043 - - 1043 - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, "1", "2", T, D, C, Z] identifier: ServerResponse length: 8 - payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAChAAZpZAAAAEAGAAEAAAAXAAT/////AABmaXJzdF9uYW1lAAAAQAYAAgAABBP//wAAAQMAAGxhc3RfbmFtZQAAAEAGAAMAAAQT//8AAAEDAABhZGRyZXNzAAAAQAYABAAABBP//wAAAQMAAGNpdHkAAABABgAFAAAEE///AAABAwAAdGVsZXBob25lAAAAQAYABgAABBP//wAAAQMAAEQAAABbAAYAAAABMQAAAARKb2huAAAAA0RvZQAAAB4xNHRoIE1haW4gU3RyZWV0LCBSb3lhbCBTdHJlZXQAAAAPTG9uZG9uLCBFbmdsYW5kAAAACDEyMzQ1Njc4QwAAAA9JTlNFUlQgMCAxAFoAAAAFVA== + payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAAyAAJpZAAAAEAmAAEAAAAXAAT/////AABuYW1lAAAAQCYAAgAABBP//wAAAQMAAEQAAAASAAIAAAABMgAAAANEb2dDAAAAD0lOU0VSVCAwIDEAWgAAAAVU authentication_md5_password: salt: - 0 @@ -3593,29 +3758,31 @@ spec: - 48 - 32 - 49 - data_row: [{row_values: ["1", John, Doe, '14th Main Street, Royal Street', 'London, England', "12345678"]}, {row_values: ["1", John, Doe, '14th Main Street, Royal Street', 'London, England', "12345678"]}, {row_values: ["1", John, Doe, '14th Main Street, Royal Street', 'London, England', "12345678"]}] + data_row: [{row_values: ["2", Dog]}, {row_values: ["2", Dog]}, {row_values: ["2", Dog]}] ready_for_query: txstatus: 84 - row_description: {fields: [{name: [105, 100], table_oid: 16390, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [102, 105, 114, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [108, 97, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 3, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [97, 100, 100, 114, 101, 115, 115], table_oid: 16390, table_attribute_number: 4, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [99, 105, 116, 121], table_oid: 16390, table_attribute_number: 5, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [116, 101, 108, 101, 112, 104, 111, 110, 101], table_oid: 16390, table_attribute_number: 6, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} + row_description: {fields: [{name: [105, 100], table_oid: 16422, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16422, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:01.037401832Z - restimestampmock: 2023-12-09T06:31:01.037459868Z + reqtimestampmock: 2024-02-12T16:54:33.704459594+05:30 + restimestampmock: 2024-02-12T16:54:33.704560205+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-85 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [B, E, S] + - header: [B, E] identifier: ClientRequest length: 8 + payload: QgAAAA8AU18xAAAAAAAAAEUAAAAJAAAAAAFTAAAABA== bind: - prepared_statement: S_1 execute: - max_rows: 1 - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["2", C, Z] @@ -3639,100 +3806,83 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:01.040554924Z - restimestampmock: 2023-12-09T06:31:01.040578505Z + reqtimestampmock: 2024-02-12T16:54:33.712093534+05:30 + restimestampmock: 2024-02-12T16:54:33.712178398+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-86 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, P, B, D, E, S] + - header: [B, E] identifier: ClientRequest length: 8 + payload: QgAAAA8AU18yAAAAAAAAAEUAAAAJAAAAAAFTAAAABA== bind: - - {} - - {} - describe: - object_type: 80 - name: "" + - prepared_statement: S_2 execute: - - {} - - {} - parse: - - name: "" - query: BEGIN READ ONLY - parameter_oids: [] - - name: "" - query: select o1_0.id,o1_0.address,o1_0.city,o1_0.first_name,o1_0.last_name,o1_0.telephone from owners o1_0 - parameter_oids: [] - msg_type: 83 + - max_rows: 1 + msg_type: 69 auth_type: 0 postgresresponses: - - header: ["1", "2", C, "1", "2", T, D, C, Z] + - header: ["2", I, Z] identifier: ServerResponse length: 8 - payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAChAAZpZAAAAEAGAAEAAAAXAAT/////AABhZGRyZXNzAAAAQAYABAAABBP//wAAAQMAAGNpdHkAAABABgAFAAAEE///AAABAwAAZmlyc3RfbmFtZQAAAEAGAAIAAAQT//8AAAEDAABsYXN0X25hbWUAAABABgADAAAEE///AAABAwAAdGVsZXBob25lAAAAQAYABgAABBP//wAAAQMAAEQAAABbAAYAAAABMQAAAB4xNHRoIE1haW4gU3RyZWV0LCBSb3lhbCBTdHJlZXQAAAAPTG9uZG9uLCBFbmdsYW5kAAAABEpvaG4AAAADRG9lAAAACDEyMzQ1Njc4QwAAAA1TRUxFQ1QgMQBaAAAABVQ= authentication_md5_password: salt: - 0 - 0 - 0 - 0 - command_complete: - - command_tag: - - 66 - - 69 - - 71 - - 73 - - 78 - - command_tag: - - 83 - - 69 - - 76 - - 69 - - 67 - - 84 - - 32 - - 49 - data_row: [{row_values: ["1", '14th Main Street, Royal Street', 'London, England', John, Doe, "12345678"]}, {row_values: ["1", '14th Main Street, Royal Street', 'London, England', John, Doe, "12345678"]}, {row_values: ["1", '14th Main Street, Royal Street', 'London, England', John, Doe, "12345678"]}] ready_for_query: - txstatus: 84 - row_description: {fields: [{name: [105, 100], table_oid: 16390, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [97, 100, 100, 114, 101, 115, 115], table_oid: 16390, table_attribute_number: 4, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [99, 105, 116, 121], table_oid: 16390, table_attribute_number: 5, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [102, 105, 114, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [108, 97, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 3, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [116, 101, 108, 101, 112, 104, 111, 110, 101], table_oid: 16390, table_attribute_number: 6, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} + txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:01.073782812Z - restimestampmock: 2023-12-09T06:31:01.073856097Z + reqtimestampmock: 2024-02-12T16:54:48.1556217+05:30 + restimestampmock: 2024-02-12T16:54:48.155668266+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-87 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [P, B, E, P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAA0AQkVHSU4AAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAFAAAACIAGluc2VydCBpbnRvIG93bmVycyAoYWRkcmVzcywgY2l0eSwgZmlyc3RfbmFtZSwgbGFzdF9uYW1lLCB0ZWxlcGhvbmUpIHZhbHVlcyAoJDEsICQyLCAkMywgJDQsICQ1KQpSRVRVUk5JTkcgKgAABQAABBMAAAQTAAAEEwAABBMAAAQTQgAAAGYAAAAFAAAAAAAAAAAAAAAFAAAAHjE0dGggTWFpbiBTdHJlZXQsIFJveWFsIFN0cmVldAAAAA9Mb25kb24sIEVuZ2xhbmQAAAAESm9obgAAAANEb2UAAAAIMTIzNDU2NzgAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - - parameter_format_codes: [1] - parameters: [[0, 0, 0, 1]] + - {} + - parameter_format_codes: [0, 0, 0, 0, 0] + parameters: [[49, 52, 116, 104, 32, 77, 97, 105, 110, 32, 83, 116, 114, 101, 101, 116, 44, 32, 82, 111, 121, 97, 108, 32, 83, 116, 114, 101, 101, 116], [76, 111, 110, 100, 111, 110, 44, 32, 69, 110, 103, 108, 97, 110, 100], [74, 111, 104, 110], [68, 111, 101], [49, 50, 51, 52, 53, 54, 55, 56]] describe: object_type: 80 name: "" execute: - {} + - {} parse: - name: "" - query: select p1_0.owner_id,p1_0.id,p1_0.birth_date,p1_0.name,t1_0.id,t1_0.name,v1_0.pet_id,v1_0.id,v1_0.visit_date,v1_0.description from pets p1_0 left join types t1_0 on t1_0.id=p1_0.type_id left join visits v1_0 on p1_0.id=v1_0.pet_id where p1_0.owner_id=$1 + query: BEGIN + parameter_oids: [] + - name: "" + query: insert into owners (address, city, first_name, last_name, telephone) values ($1, $2, $3, $4, $5) RETURNING * parameter_oids: - - 23 - msg_type: 83 + - 1043 + - 1043 + - 1043 + - 1043 + - 1043 + msg_type: 69 auth_type: 0 postgresresponses: - - header: ["1", "2", T, C, Z] + - header: ["1", "2", C, "1", "2", T, D, C, Z] identifier: ServerResponse length: 8 + payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAChAAZpZAAAAEAGAAEAAAAXAAT/////AABmaXJzdF9uYW1lAAAAQAYAAgAABBP//wAAAQMAAGxhc3RfbmFtZQAAAEAGAAMAAAQT//8AAAEDAABhZGRyZXNzAAAAQAYABAAABBP//wAAAQMAAGNpdHkAAABABgAFAAAEE///AAABAwAAdGVsZXBob25lAAAAQAYABgAABBP//wAAAQMAAEQAAABbAAYAAAABMQAAAARKb2huAAAAA0RvZQAAAB4xNHRoIE1haW4gU3RyZWV0LCBSb3lhbCBTdHJlZXQAAAAPTG9uZG9uLCBFbmdsYW5kAAAACDEyMzQ1Njc4QwAAAA9JTlNFUlQgMCAxAFoAAAAFVA== authentication_md5_password: salt: - 0 @@ -3741,36 +3891,47 @@ spec: - 0 command_complete: - command_tag: - - 83 + - 66 - 69 - - 76 + - 71 + - 73 + - 78 + - command_tag: + - 73 + - 78 + - 83 - 69 - - 67 + - 82 - 84 - 32 - 48 + - 32 + - 49 + data_row: [{row_values: ["1", John, Doe, '14th Main Street, Royal Street', 'London, England', "12345678"]}, {row_values: ["1", John, Doe, '14th Main Street, Royal Street', 'London, England', "12345678"]}, {row_values: ["1", John, Doe, '14th Main Street, Royal Street', 'London, England', "12345678"]}] ready_for_query: txstatus: 84 - row_description: {fields: [{name: [111, 119, 110, 101, 114, 95, 105, 100], table_oid: 16399, table_attribute_number: 4, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [105, 100], table_oid: 16399, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [98, 105, 114, 116, 104, 95, 100, 97, 116, 101], table_oid: 16399, table_attribute_number: 3, data_type_oid: 1082, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16399, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [105, 100], table_oid: 16422, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16422, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [112, 101, 116, 95, 105, 100], table_oid: 16450, table_attribute_number: 4, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [105, 100], table_oid: 16450, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [118, 105, 115, 105, 116, 95, 100, 97, 116, 101], table_oid: 16450, table_attribute_number: 2, data_type_oid: 1082, data_type_size: 4, type_modifier: -1, format: 0}, {name: [100, 101, 115, 99, 114, 105, 112, 116, 105, 111, 110], table_oid: 16450, table_attribute_number: 3, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} + row_description: {fields: [{name: [105, 100], table_oid: 16390, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [102, 105, 114, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [108, 97, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 3, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [97, 100, 100, 114, 101, 115, 115], table_oid: 16390, table_attribute_number: 4, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [99, 105, 116, 121], table_oid: 16390, table_attribute_number: 5, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [116, 101, 108, 101, 112, 104, 111, 110, 101], table_oid: 16390, table_attribute_number: 6, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:01.094870292Z - restimestampmock: 2023-12-09T06:31:01.094907914Z + reqtimestampmock: 2024-02-12T16:54:48.162144766+05:30 + restimestampmock: 2024-02-12T16:54:48.162232728+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-88 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [B, E, S] + - header: [B, E] identifier: ClientRequest length: 8 + payload: QgAAAA8AU18xAAAAAAAAAEUAAAAJAAAAAAFTAAAABA== bind: - prepared_statement: S_1 execute: - max_rows: 1 - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["2", C, Z] @@ -3794,57 +3955,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:01.096358117Z - restimestampmock: 2023-12-09T06:31:01.096384572Z + reqtimestampmock: 2024-02-12T16:54:48.165306893+05:30 + restimestampmock: 2024-02-12T16:54:48.165433792+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-89 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] - identifier: ClientRequest - length: 8 - bind: - - prepared_statement: S_2 - describe: - object_type: 80 - name: "" - execute: - - max_rows: 1 - parse: - - name: S_2 - query: "" - parameter_oids: [] - msg_type: 83 - auth_type: 0 - postgresresponses: - - header: ["1", "2", "n", I, Z] - identifier: ServerResponse - length: 8 - authentication_md5_password: - salt: - - 0 - - 0 - - 0 - - 0 - ready_for_query: - txstatus: 73 - msg_type: 90 - auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:07.190033469Z - restimestampmock: 2023-12-09T06:31:07.190079381Z ---- -version: api.keploy.io/v1beta1 -kind: Postgres -name: mocks -spec: - metadata: {} - postgresrequests: - - header: [P, B, E, P, B, D, E, S] + - header: [P, B, E, P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAABcAQkVHSU4gUkVBRCBPTkxZAAAAQgAAAAwAAAAAAAAAAEUAAAAJAAAAAABQAAAAbABzZWxlY3QgbzFfMC5pZCxvMV8wLmFkZHJlc3MsbzFfMC5jaXR5LG8xXzAuZmlyc3RfbmFtZSxvMV8wLmxhc3RfbmFtZSxvMV8wLnRlbGVwaG9uZSBmcm9tIG93bmVycyBvMV8wAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - {} - {} @@ -3859,14 +3983,15 @@ spec: query: BEGIN READ ONLY parameter_oids: [] - name: "" - query: select s1_0.id,s1_0.name from specialties s1_0 + query: select o1_0.id,o1_0.address,o1_0.city,o1_0.first_name,o1_0.last_name,o1_0.telephone from owners o1_0 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - - header: ["1", "2", C, "1", "2", T, C, Z] + - header: ["1", "2", C, "1", "2", T, D, C, Z] identifier: ServerResponse length: 8 + payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAChAAZpZAAAAEAGAAEAAAAXAAT/////AABhZGRyZXNzAAAAQAYABAAABBP//wAAAQMAAGNpdHkAAABABgAFAAAEE///AAABAwAAZmlyc3RfbmFtZQAAAEAGAAIAAAQT//8AAAEDAABsYXN0X25hbWUAAABABgADAAAEE///AAABAwAAdGVsZXBob25lAAAAQAYABgAABBP//wAAAQMAAEQAAABbAAYAAAABMQAAAB4xNHRoIE1haW4gU3RyZWV0LCBSb3lhbCBTdHJlZXQAAAAPTG9uZG9uLCBFbmdsYW5kAAAABEpvaG4AAAADRG9lAAAACDEyMzQ1Njc4QwAAAA1TRUxFQ1QgMQBaAAAABVQ= authentication_md5_password: salt: - 0 @@ -3888,121 +4013,46 @@ spec: - 67 - 84 - 32 - - 48 + - 49 + data_row: [{row_values: ["1", '14th Main Street, Royal Street', 'London, England', John, Doe, "12345678"]}, {row_values: ["1", '14th Main Street, Royal Street', 'London, England', John, Doe, "12345678"]}, {row_values: ["1", '14th Main Street, Royal Street', 'London, England', John, Doe, "12345678"]}] ready_for_query: txstatus: 84 - row_description: {fields: [{name: [105, 100], table_oid: 16415, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16415, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} - msg_type: 90 - auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:07.192010124Z - restimestampmock: 2023-12-09T06:31:07.192034413Z ---- -version: api.keploy.io/v1beta1 -kind: Postgres -name: mocks -spec: - metadata: {} - postgresrequests: - - header: [B, E, S] - identifier: ClientRequest - length: 8 - bind: - - prepared_statement: S_1 - execute: - - max_rows: 1 - msg_type: 83 - auth_type: 0 - postgresresponses: - - header: ["2", C, Z] - identifier: ServerResponse - length: 8 - authentication_md5_password: - salt: - - 0 - - 0 - - 0 - - 0 - command_complete: - - command_tag: - - 67 - - 79 - - 77 - - 77 - - 73 - - 84 - ready_for_query: - txstatus: 73 - msg_type: 90 - auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:07.195807864Z - restimestampmock: 2023-12-09T06:31:07.195975141Z ---- -version: api.keploy.io/v1beta1 -kind: Postgres -name: mocks -spec: - metadata: {} - postgresrequests: - - header: [B, E, S] - identifier: ClientRequest - length: 8 - bind: - - prepared_statement: S_2 - execute: - - max_rows: 1 - msg_type: 83 - auth_type: 0 - postgresresponses: - - header: ["2", I, Z] - identifier: ServerResponse - length: 8 - authentication_md5_password: - salt: - - 0 - - 0 - - 0 - - 0 - ready_for_query: - txstatus: 73 + row_description: {fields: [{name: [105, 100], table_oid: 16390, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [97, 100, 100, 114, 101, 115, 115], table_oid: 16390, table_attribute_number: 4, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [99, 105, 116, 121], table_oid: 16390, table_attribute_number: 5, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [102, 105, 114, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [108, 97, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 3, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [116, 101, 108, 101, 112, 104, 111, 110, 101], table_oid: 16390, table_attribute_number: 6, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:50.45287694Z - restimestampmock: 2023-12-09T06:31:50.452979889Z + reqtimestampmock: 2024-02-12T16:54:48.190116537+05:30 + restimestampmock: 2024-02-12T16:54:48.190148762+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-90 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAQkAc2VsZWN0IHAxXzAub3duZXJfaWQscDFfMC5pZCxwMV8wLmJpcnRoX2RhdGUscDFfMC5uYW1lLHQxXzAuaWQsdDFfMC5uYW1lLHYxXzAucGV0X2lkLHYxXzAuaWQsdjFfMC52aXNpdF9kYXRlLHYxXzAuZGVzY3JpcHRpb24gZnJvbSBwZXRzIHAxXzAgbGVmdCBqb2luIHR5cGVzIHQxXzAgb24gdDFfMC5pZD1wMV8wLnR5cGVfaWQgbGVmdCBqb2luIHZpc2l0cyB2MV8wIG9uIHAxXzAuaWQ9djFfMC5wZXRfaWQgd2hlcmUgcDFfMC5vd25lcl9pZD0kMQAAAQAAABdCAAAAFgAAAAEAAQABAAAABAAAAAEAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - - {} - - parameter_format_codes: [0] - parameters: [[118, 101, 116, 101, 114, 105, 110, 97, 110, 105, 97, 110]] + - parameter_format_codes: [1] + parameters: [[0, 0, 0, 1]] describe: object_type: 80 name: "" execute: - {} - - {} parse: - name: "" - query: BEGIN - parameter_oids: [] - - name: "" - query: insert into specialties (name) values ($1) RETURNING * + query: select p1_0.owner_id,p1_0.id,p1_0.birth_date,p1_0.name,t1_0.id,t1_0.name,v1_0.pet_id,v1_0.id,v1_0.visit_date,v1_0.description from pets p1_0 left join types t1_0 on t1_0.id=p1_0.type_id left join visits v1_0 on p1_0.id=v1_0.pet_id where p1_0.owner_id=$1 parameter_oids: - - 1043 - msg_type: 83 + - 23 + msg_type: 69 auth_type: 0 postgresresponses: - - header: ["1", "2", C, "1", "2", T, D, C, Z] + - header: ["1", "2", T, C, Z] identifier: ServerResponse length: 8 - payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAAyAAJpZAAAAEAfAAEAAAAXAAT/////AABuYW1lAAAAQB8AAgAABBP//wAAAQMAAEQAAAAbAAIAAAABMQAAAAx2ZXRlcmluYW5pYW5DAAAAD0lOU0VSVCAwIDEAWgAAAAVU authentication_md5_password: salt: - 0 @@ -4011,45 +4061,38 @@ spec: - 0 command_complete: - command_tag: - - 66 - - 69 - - 71 - - 73 - - 78 - - command_tag: - - 73 - - 78 - 83 - 69 - - 82 + - 76 + - 69 + - 67 - 84 - 32 - 48 - - 32 - - 49 - data_row: [{row_values: ["1", veterinanian]}, {row_values: ["1", veterinanian]}, {row_values: ["1", veterinanian]}] ready_for_query: txstatus: 84 - row_description: {fields: [{name: [105, 100], table_oid: 16415, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16415, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} + row_description: {fields: [{name: [111, 119, 110, 101, 114, 95, 105, 100], table_oid: 16399, table_attribute_number: 4, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [105, 100], table_oid: 16399, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [98, 105, 114, 116, 104, 95, 100, 97, 116, 101], table_oid: 16399, table_attribute_number: 3, data_type_oid: 1082, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16399, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [105, 100], table_oid: 16422, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16422, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [112, 101, 116, 95, 105, 100], table_oid: 16450, table_attribute_number: 4, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [105, 100], table_oid: 16450, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [118, 105, 115, 105, 116, 95, 100, 97, 116, 101], table_oid: 16450, table_attribute_number: 2, data_type_oid: 1082, data_type_size: 4, type_modifier: -1, format: 0}, {name: [100, 101, 115, 99, 114, 105, 112, 116, 105, 111, 110], table_oid: 16450, table_attribute_number: 3, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:50.456643757Z - restimestampmock: 2023-12-09T06:31:50.456697669Z + reqtimestampmock: 2024-02-12T16:54:48.206100514+05:30 + restimestampmock: 2024-02-12T16:54:48.206123859+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-91 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [B, E, S] + - header: [B, E] identifier: ClientRequest length: 8 + payload: QgAAAA8AU18xAAAAAAAAAEUAAAAJAAAAAAFTAAAABA== bind: - prepared_statement: S_1 execute: - max_rows: 1 - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["2", C, Z] @@ -4073,23 +4116,25 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:50.458455422Z - restimestampmock: 2023-12-09T06:31:50.458520124Z + reqtimestampmock: 2024-02-12T16:54:48.207559307+05:30 + restimestampmock: 2024-02-12T16:54:48.207577149+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-92 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [B, E, S] + - header: [B, E] identifier: ClientRequest length: 8 + payload: QgAAAA8AU18yAAAAAAAAAEUAAAAJAAAAAAFTAAAABA== bind: - prepared_statement: S_2 execute: - max_rows: 1 - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["2", I, Z] @@ -4105,18 +4150,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:53.022403531Z - restimestampmock: 2023-12-09T06:31:53.022428862Z + reqtimestampmock: 2024-02-12T16:54:55.823344895+05:30 + restimestampmock: 2024-02-12T16:54:55.823396837+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-93 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, P, B, D, E, S] + - header: [P, B, E, P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAABcAQkVHSU4gUkVBRCBPTkxZAAAAQgAAAAwAAAAAAAAAAEUAAAAJAAAAAABQAAAANgBzZWxlY3QgczFfMC5pZCxzMV8wLm5hbWUgZnJvbSBzcGVjaWFsdGllcyBzMV8wAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - {} - {} @@ -4131,15 +4178,14 @@ spec: query: BEGIN READ ONLY parameter_oids: [] - name: "" - query: select p1_0.id,p1_0.name from types p1_0 + query: select s1_0.id,s1_0.name from specialties s1_0 parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - - header: ["1", "2", C, "1", "2", T, D, C, Z] + - header: ["1", "2", C, "1", "2", T, C, Z] identifier: ServerResponse length: 8 - payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAAyAAJpZAAAAEAmAAEAAAAXAAT/////AABuYW1lAAAAQCYAAgAABBP//wAAAQMAAEQAAAASAAIAAAABMQAAAANEb2dDAAAADVNFTEVDVCAxAFoAAAAFVA== authentication_md5_password: salt: - 0 @@ -4161,30 +4207,31 @@ spec: - 67 - 84 - 32 - - 49 - data_row: [{row_values: ["1", Dog]}, {row_values: ["1", Dog]}, {row_values: ["1", Dog]}] + - 48 ready_for_query: txstatus: 84 - row_description: {fields: [{name: [105, 100], table_oid: 16422, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16422, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} + row_description: {fields: [{name: [105, 100], table_oid: 16415, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16415, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:53.024516168Z - restimestampmock: 2023-12-09T06:31:53.024549123Z + reqtimestampmock: 2024-02-12T16:54:55.828074766+05:30 + restimestampmock: 2024-02-12T16:54:55.828162766+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-94 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [B, E, S] + - header: [B, E] identifier: ClientRequest length: 8 + payload: QgAAAA8AU18xAAAAAAAAAEUAAAAJAAAAAAFTAAAABA== bind: - prepared_statement: S_1 execute: - max_rows: 1 - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["2", C, Z] @@ -4208,23 +4255,25 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:53.025695642Z - restimestampmock: 2023-12-09T06:31:53.025720681Z + reqtimestampmock: 2024-02-12T16:54:55.830973709+05:30 + restimestampmock: 2024-02-12T16:54:55.831019106+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-95 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [B, E, S] + - header: [B, E] identifier: ClientRequest length: 8 + payload: QgAAAA8AU18yAAAAAAAAAEUAAAAJAAAAAAFTAAAABA== bind: - prepared_statement: S_2 execute: - max_rows: 1 - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["2", I, Z] @@ -4240,22 +4289,24 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:58.394432862Z - restimestampmock: 2023-12-09T06:31:58.394456526Z + reqtimestampmock: 2024-02-12T16:55:50.040062946+05:30 + restimestampmock: 2024-02-12T16:55:50.040193067+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-96 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, P, B, D, E, S] + - header: [P, B, E, P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAA0AQkVHSU4AAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAFAAAACIAGluc2VydCBpbnRvIG93bmVycyAoYWRkcmVzcywgY2l0eSwgZmlyc3RfbmFtZSwgbGFzdF9uYW1lLCB0ZWxlcGhvbmUpIHZhbHVlcyAoJDEsICQyLCAkMywgJDQsICQ1KQpSRVRVUk5JTkcgKgAABQAABBMAAAQTAAAEEwAABBMAAAQTQgAAAHcAAAAFAAAAAAAAAAAAAAAFAAAAIjI0dGggTWFpbiBTdHJlZXQsIFNvbWV0aGluZyBTdHJlZXQAAAAXTG9zIEFuZ2VsZXMsIENhbGlmb3JuaWEAAAADSm9lAAAAB0hvcGtpbnMAAAAKOTA5MDgxMjAzMAAARAAAAAZQAEUAAAAJAAAAAABTAAAABA== bind: - {} - - parameter_format_codes: [1] - parameters: [[0, 0, 0, 1]] + - parameter_format_codes: [0, 0, 0, 0, 0] + parameters: [[50, 52, 116, 104, 32, 77, 97, 105, 110, 32, 83, 116, 114, 101, 101, 116, 44, 32, 83, 111, 109, 101, 116, 104, 105, 110, 103, 32, 83, 116, 114, 101, 101, 116], [76, 111, 115, 32, 65, 110, 103, 101, 108, 101, 115, 44, 32, 67, 97, 108, 105, 102, 111, 114, 110, 105, 97], [74, 111, 101], [72, 111, 112, 107, 105, 110, 115], [57, 48, 57, 48, 56, 49, 50, 48, 51, 48]] describe: object_type: 80 name: "" @@ -4264,19 +4315,23 @@ spec: - {} parse: - name: "" - query: BEGIN READ ONLY + query: BEGIN parameter_oids: [] - name: "" - query: select p1_0.id,p1_0.name from types p1_0 where p1_0.id=$1 + query: insert into owners (address, city, first_name, last_name, telephone) values ($1, $2, $3, $4, $5) RETURNING * parameter_oids: - - 23 - msg_type: 83 + - 1043 + - 1043 + - 1043 + - 1043 + - 1043 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, "1", "2", T, D, C, Z] identifier: ServerResponse length: 8 - payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAAyAAJpZAAAAEAmAAEAAAAXAAT/////AABuYW1lAAAAQCYAAgAABBP//wAAAQMAAEQAAAASAAIAAAABMQAAAANEb2dDAAAADVNFTEVDVCAxAFoAAAAFVA== + payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAChAAZpZAAAAEAGAAEAAAAXAAT/////AABmaXJzdF9uYW1lAAAAQAYAAgAABBP//wAAAQMAAGxhc3RfbmFtZQAAAEAGAAMAAAQT//8AAAEDAABhZGRyZXNzAAAAQAYABAAABBP//wAAAQMAAGNpdHkAAABABgAFAAAEE///AAABAwAAdGVsZXBob25lAAAAQAYABgAABBP//wAAAQMAAEQAAABsAAYAAAABMgAAAANKb2UAAAAHSG9wa2lucwAAACIyNHRoIE1haW4gU3RyZWV0LCBTb21ldGhpbmcgU3RyZWV0AAAAF0xvcyBBbmdlbGVzLCBDYWxpZm9ybmlhAAAACjkwOTA4MTIwMzBDAAAAD0lOU0VSVCAwIDEAWgAAAAVU authentication_md5_password: salt: - 0 @@ -4291,37 +4346,41 @@ spec: - 73 - 78 - command_tag: + - 73 + - 78 - 83 - 69 - - 76 - - 69 - - 67 + - 82 - 84 - 32 + - 48 + - 32 - 49 - data_row: [{row_values: ["1", Dog]}, {row_values: ["1", Dog]}, {row_values: ["1", Dog]}] + data_row: [{row_values: ["2", Joe, Hopkins, '24th Main Street, Something Street', 'Los Angeles, California', "9090812030"]}, {row_values: ["2", Joe, Hopkins, '24th Main Street, Something Street', 'Los Angeles, California', "9090812030"]}, {row_values: ["2", Joe, Hopkins, '24th Main Street, Something Street', 'Los Angeles, California', "9090812030"]}] ready_for_query: txstatus: 84 - row_description: {fields: [{name: [105, 100], table_oid: 16422, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16422, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} + row_description: {fields: [{name: [105, 100], table_oid: 16390, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [102, 105, 114, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [108, 97, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 3, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [97, 100, 100, 114, 101, 115, 115], table_oid: 16390, table_attribute_number: 4, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [99, 105, 116, 121], table_oid: 16390, table_attribute_number: 5, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [116, 101, 108, 101, 112, 104, 111, 110, 101], table_oid: 16390, table_attribute_number: 6, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:58.406596643Z - restimestampmock: 2023-12-09T06:31:58.406639431Z + reqtimestampmock: 2024-02-12T16:55:50.04342909+05:30 + restimestampmock: 2024-02-12T16:55:50.043512656+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-97 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [B, E, S] + - header: [B, E] identifier: ClientRequest length: 8 + payload: QgAAAA8AU18xAAAAAAAAAEUAAAAJAAAAAAFTAAAABA== bind: - prepared_statement: S_1 execute: - max_rows: 1 - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["2", C, Z] @@ -4345,54 +4404,23 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:31:58.408194494Z - restimestampmock: 2023-12-09T06:31:58.408212701Z ---- -version: api.keploy.io/v1beta1 -kind: Postgres -name: mocks -spec: - metadata: {} - postgresrequests: - - header: [B, E, S] - identifier: ClientRequest - length: 8 - bind: - - prepared_statement: S_2 - execute: - - max_rows: 1 - msg_type: 83 - auth_type: 0 - postgresresponses: - - header: ["2", I, Z] - identifier: ServerResponse - length: 8 - authentication_md5_password: - salt: - - 0 - - 0 - - 0 - - 0 - ready_for_query: - txstatus: 73 - msg_type: 90 - auth_type: 0 - reqtimestampmock: 2023-12-09T06:32:02.110807383Z - restimestampmock: 2023-12-09T06:32:02.110826381Z + reqtimestampmock: 2024-02-12T16:55:50.04724153+05:30 + restimestampmock: 2024-02-12T16:55:50.047301506+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-98 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, P, B, D, E, S] + - header: [P, B, E, P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAABcAQkVHSU4gUkVBRCBPTkxZAAAAQgAAAAwAAAAAAAAAAEUAAAAJAAAAAABQAAAAbABzZWxlY3QgbzFfMC5pZCxvMV8wLmFkZHJlc3MsbzFfMC5jaXR5LG8xXzAuZmlyc3RfbmFtZSxvMV8wLmxhc3RfbmFtZSxvMV8wLnRlbGVwaG9uZSBmcm9tIG93bmVycyBvMV8wAAAAQgAAAAwAAAAAAAAAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - {} - - parameter_format_codes: [1] - parameters: [[0, 0, 0, 1]] + - {} describe: object_type: 80 name: "" @@ -4404,16 +4432,15 @@ spec: query: BEGIN READ ONLY parameter_oids: [] - name: "" - query: select p1_0.id,p1_0.name from types p1_0 where p1_0.id=$1 - parameter_oids: - - 23 - msg_type: 83 + query: select o1_0.id,o1_0.address,o1_0.city,o1_0.first_name,o1_0.last_name,o1_0.telephone from owners o1_0 + parameter_oids: [] + msg_type: 69 auth_type: 0 postgresresponses: - - header: ["1", "2", C, "1", "2", T, D, C, Z] + - header: ["1", "2", C, "1", "2", T, D, D, C, Z] identifier: ServerResponse length: 8 - payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAAyAAJpZAAAAEAmAAEAAAAXAAT/////AABuYW1lAAAAQCYAAgAABBP//wAAAQMAAEQAAAASAAIAAAABMQAAAANEb2dDAAAADVNFTEVDVCAxAFoAAAAFVA== + payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAChAAZpZAAAAEAGAAEAAAAXAAT/////AABhZGRyZXNzAAAAQAYABAAABBP//wAAAQMAAGNpdHkAAABABgAFAAAEE///AAABAwAAZmlyc3RfbmFtZQAAAEAGAAIAAAQT//8AAAEDAABsYXN0X25hbWUAAABABgADAAAEE///AAABAwAAdGVsZXBob25lAAAAQAYABgAABBP//wAAAQMAAEQAAABbAAYAAAABMQAAAB4xNHRoIE1haW4gU3RyZWV0LCBSb3lhbCBTdHJlZXQAAAAPTG9uZG9uLCBFbmdsYW5kAAAABEpvaG4AAAADRG9lAAAACDEyMzQ1Njc4RAAAAGwABgAAAAEyAAAAIjI0dGggTWFpbiBTdHJlZXQsIFNvbWV0aGluZyBTdHJlZXQAAAAXTG9zIEFuZ2VsZXMsIENhbGlmb3JuaWEAAAADSm9lAAAAB0hvcGtpbnMAAAAKOTA5MDgxMjAzMEMAAAANU0VMRUNUIDIAWgAAAAVU authentication_md5_password: salt: - 0 @@ -4435,33 +4462,44 @@ spec: - 67 - 84 - 32 - - 49 - data_row: [{row_values: ["1", Dog]}, {row_values: ["1", Dog]}, {row_values: ["1", Dog]}] + - 50 + data_row: [{row_values: ["1", '14th Main Street, Royal Street', 'London, England', John, Doe, "12345678"]}, {row_values: ["1", '14th Main Street, Royal Street', 'London, England', John, Doe, "12345678", "2", '24th Main Street, Something Street', 'Los Angeles, California', Joe, Hopkins, "9090812030"]}, {row_values: ["1", '14th Main Street, Royal Street', 'London, England', John, Doe, "12345678", "2", '24th Main Street, Something Street', 'Los Angeles, California', Joe, Hopkins, "9090812030"]}, {row_values: ["1", '14th Main Street, Royal Street', 'London, England', John, Doe, "12345678", "2", '24th Main Street, Something Street', 'Los Angeles, California', Joe, Hopkins, "9090812030"]}] ready_for_query: txstatus: 84 - row_description: {fields: [{name: [105, 100], table_oid: 16422, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16422, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} + row_description: {fields: [{name: [105, 100], table_oid: 16390, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [97, 100, 100, 114, 101, 115, 115], table_oid: 16390, table_attribute_number: 4, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [99, 105, 116, 121], table_oid: 16390, table_attribute_number: 5, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [102, 105, 114, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [108, 97, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 3, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [116, 101, 108, 101, 112, 104, 111, 110, 101], table_oid: 16390, table_attribute_number: 6, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:32:02.111784917Z - restimestampmock: 2023-12-09T06:32:02.111815914Z + reqtimestampmock: 2024-02-12T16:55:50.068838093+05:30 + restimestampmock: 2024-02-12T16:55:50.068895068+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-99 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [B, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAQkAc2VsZWN0IHAxXzAub3duZXJfaWQscDFfMC5pZCxwMV8wLmJpcnRoX2RhdGUscDFfMC5uYW1lLHQxXzAuaWQsdDFfMC5uYW1lLHYxXzAucGV0X2lkLHYxXzAuaWQsdjFfMC52aXNpdF9kYXRlLHYxXzAuZGVzY3JpcHRpb24gZnJvbSBwZXRzIHAxXzAgbGVmdCBqb2luIHR5cGVzIHQxXzAgb24gdDFfMC5pZD1wMV8wLnR5cGVfaWQgbGVmdCBqb2luIHZpc2l0cyB2MV8wIG9uIHAxXzAuaWQ9djFfMC5wZXRfaWQgd2hlcmUgcDFfMC5vd25lcl9pZD0kMQAAAQAAABdCAAAAFgAAAAEAAQABAAAABAAAAAIAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - - prepared_statement: S_1 + - parameter_format_codes: [1] + parameters: [[0, 0, 0, 2]] + describe: + object_type: 80 + name: "" execute: - - max_rows: 1 - msg_type: 83 + - {} + parse: + - name: "" + query: select p1_0.owner_id,p1_0.id,p1_0.birth_date,p1_0.name,t1_0.id,t1_0.name,v1_0.pet_id,v1_0.id,v1_0.visit_date,v1_0.description from pets p1_0 left join types t1_0 on t1_0.id=p1_0.type_id left join visits v1_0 on p1_0.id=v1_0.pet_id where p1_0.owner_id=$1 + parameter_oids: + - 23 + msg_type: 69 auth_type: 0 postgresresponses: - - header: ["2", C, Z] + - header: ["1", "2", T, C, Z] identifier: ServerResponse length: 8 authentication_md5_password: @@ -4472,30 +4510,34 @@ spec: - 0 command_complete: - command_tag: + - 83 + - 69 + - 76 + - 69 - 67 - - 79 - - 77 - - 77 - - 73 - 84 + - 32 + - 48 ready_for_query: - txstatus: 73 + txstatus: 84 + row_description: {fields: [{name: [111, 119, 110, 101, 114, 95, 105, 100], table_oid: 16399, table_attribute_number: 4, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [105, 100], table_oid: 16399, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [98, 105, 114, 116, 104, 95, 100, 97, 116, 101], table_oid: 16399, table_attribute_number: 3, data_type_oid: 1082, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16399, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [105, 100], table_oid: 16422, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16422, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [112, 101, 116, 95, 105, 100], table_oid: 16450, table_attribute_number: 4, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [105, 100], table_oid: 16450, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [118, 105, 115, 105, 116, 95, 100, 97, 116, 101], table_oid: 16450, table_attribute_number: 2, data_type_oid: 1082, data_type_size: 4, type_modifier: -1, format: 0}, {name: [100, 101, 115, 99, 114, 105, 112, 116, 105, 111, 110], table_oid: 16450, table_attribute_number: 3, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:32:02.113399307Z - restimestampmock: 2023-12-09T06:32:02.113451011Z + reqtimestampmock: 2024-02-12T16:55:50.073623899+05:30 + restimestampmock: 2024-02-12T16:55:50.073683875+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-100 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, P, B, D, E, S] + - header: [P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAAQkAc2VsZWN0IHAxXzAub3duZXJfaWQscDFfMC5pZCxwMV8wLmJpcnRoX2RhdGUscDFfMC5uYW1lLHQxXzAuaWQsdDFfMC5uYW1lLHYxXzAucGV0X2lkLHYxXzAuaWQsdjFfMC52aXNpdF9kYXRlLHYxXzAuZGVzY3JpcHRpb24gZnJvbSBwZXRzIHAxXzAgbGVmdCBqb2luIHR5cGVzIHQxXzAgb24gdDFfMC5pZD1wMV8wLnR5cGVfaWQgbGVmdCBqb2luIHZpc2l0cyB2MV8wIG9uIHAxXzAuaWQ9djFfMC5wZXRfaWQgd2hlcmUgcDFfMC5vd25lcl9pZD0kMQAAAQAAABdCAAAAFgAAAAEAAQABAAAABAAAAAEAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - - {} - parameter_format_codes: [1] parameters: [[0, 0, 0, 1]] describe: @@ -4503,22 +4545,17 @@ spec: name: "" execute: - {} - - {} parse: - name: "" - query: BEGIN - parameter_oids: [] - - name: "" - query: select p1_0.id,p1_0.name from types p1_0 where p1_0.id=$1 + query: select p1_0.owner_id,p1_0.id,p1_0.birth_date,p1_0.name,t1_0.id,t1_0.name,v1_0.pet_id,v1_0.id,v1_0.visit_date,v1_0.description from pets p1_0 left join types t1_0 on t1_0.id=p1_0.type_id left join visits v1_0 on p1_0.id=v1_0.pet_id where p1_0.owner_id=$1 parameter_oids: - 23 - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - - header: ["1", "2", C, "1", "2", T, D, C, Z] + - header: ["1", "2", T, C, Z] identifier: ServerResponse length: 8 - payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAAyAAJpZAAAAEAmAAEAAAAXAAT/////AABuYW1lAAAAQCYAAgAABBP//wAAAQMAAEQAAAASAAIAAAABMQAAAANEb2dDAAAADVNFTEVDVCAxAFoAAAAFVA== authentication_md5_password: salt: - 0 @@ -4526,12 +4563,6 @@ spec: - 0 - 0 command_complete: - - command_tag: - - 66 - - 69 - - 71 - - 73 - - 78 - command_tag: - 83 - 69 @@ -4540,43 +4571,34 @@ spec: - 67 - 84 - 32 - - 49 - data_row: [{row_values: ["1", Dog]}, {row_values: ["1", Dog]}, {row_values: ["1", Dog]}] + - 48 ready_for_query: txstatus: 84 - row_description: {fields: [{name: [105, 100], table_oid: 16422, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16422, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} + row_description: {fields: [{name: [111, 119, 110, 101, 114, 95, 105, 100], table_oid: 16399, table_attribute_number: 4, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [105, 100], table_oid: 16399, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [98, 105, 114, 116, 104, 95, 100, 97, 116, 101], table_oid: 16399, table_attribute_number: 3, data_type_oid: 1082, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16399, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [105, 100], table_oid: 16422, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16422, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [112, 101, 116, 95, 105, 100], table_oid: 16450, table_attribute_number: 4, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [105, 100], table_oid: 16450, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [118, 105, 115, 105, 116, 95, 100, 97, 116, 101], table_oid: 16450, table_attribute_number: 2, data_type_oid: 1082, data_type_size: 4, type_modifier: -1, format: 0}, {name: [100, 101, 115, 99, 114, 105, 112, 116, 105, 111, 110], table_oid: 16450, table_attribute_number: 3, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:32:02.117584916Z - restimestampmock: 2023-12-09T06:32:02.117627037Z + reqtimestampmock: 2024-02-12T16:55:50.076258581+05:30 + restimestampmock: 2024-02-12T16:55:50.076304928+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-101 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, D, E, S] + - header: [B, E] identifier: ClientRequest length: 8 + payload: QgAAAA8AU18xAAAAAAAAAEUAAAAJAAAAAAFTAAAABA== bind: - - parameter_format_codes: [0, 1] - parameters: [[67, 97, 116, 115], [0, 0, 0, 1]] - describe: - object_type: 80 - name: "" + - prepared_statement: S_1 execute: - max_rows: 1 - parse: - - name: "" - query: update types set name=$1 where id=$2 - parameter_oids: - - 1043 - - 23 - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - - header: ["1", "2", "n", C, Z] + - header: ["2", C, Z] identifier: ServerResponse length: 8 authentication_md5_password: @@ -4587,38 +4609,38 @@ spec: - 0 command_complete: - command_tag: - - 85 - - 80 - - 68 - - 65 + - 67 + - 79 + - 77 + - 77 + - 73 - 84 - - 69 - - 32 - - 49 ready_for_query: - txstatus: 84 + txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:32:02.125967799Z - restimestampmock: 2023-12-09T06:32:02.126009295Z + reqtimestampmock: 2024-02-12T16:55:50.077763851+05:30 + restimestampmock: 2024-02-12T16:55:50.077789484+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-102 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [B, E, S] + - header: [B, E] identifier: ClientRequest length: 8 + payload: QgAAAA8AU18yAAAAAAAAAEUAAAAJAAAAAAFTAAAABA== bind: - - prepared_statement: S_1 + - prepared_statement: S_2 execute: - max_rows: 1 - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - - header: ["2", C, Z] + - header: ["2", I, Z] identifier: ServerResponse length: 8 authentication_md5_password: @@ -4627,33 +4649,28 @@ spec: - 0 - 0 - 0 - command_complete: - - command_tag: - - 67 - - 79 - - 77 - - 77 - - 73 - - 84 ready_for_query: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:32:02.127823001Z - restimestampmock: 2023-12-09T06:32:02.127844582Z + reqtimestampmock: 2024-02-12T16:55:54.333949144+05:30 + restimestampmock: 2024-02-12T16:55:54.334014537+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-103 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, P, B, D, E, S] + - header: [P, B, E, P, B, D, E] identifier: ClientRequest length: 8 + payload: UAAAABcAQkVHSU4gUkVBRCBPTkxZAAAAQgAAAAwAAAAAAAAAAEUAAAAJAAAAAABQAAABCgBzZWxlY3QgZGlzdGluY3QgbzFfMC5pZCxvMV8wLmFkZHJlc3MsbzFfMC5jaXR5LG8xXzAuZmlyc3RfbmFtZSxvMV8wLmxhc3RfbmFtZSxwMV8wLm93bmVyX2lkLHAxXzAuaWQscDFfMC5iaXJ0aF9kYXRlLHAxXzAubmFtZSxwMV8wLnR5cGVfaWQsbzFfMC50ZWxlcGhvbmUgZnJvbSBvd25lcnMgbzFfMCBsZWZ0IGpvaW4gcGV0cyBwMV8wIG9uIG8xXzAuaWQ9cDFfMC5vd25lcl9pZCB3aGVyZSBvMV8wLmxhc3RfbmFtZSBsaWtlICQxIGVzY2FwZSAnJwAAAQAABBNCAAAAFgAAAAEAAAABAAAABERvZSUAAEQAAAAGUABFAAAACQAAAAAAUwAAAAQ= bind: - {} - - {} + - parameter_format_codes: [0] + parameters: [[68, 111, 101, 37]] describe: object_type: 80 name: "" @@ -4665,15 +4682,16 @@ spec: query: BEGIN READ ONLY parameter_oids: [] - name: "" - query: select p1_0.id,p1_0.name from types p1_0 - parameter_oids: [] - msg_type: 83 + query: select distinct o1_0.id,o1_0.address,o1_0.city,o1_0.first_name,o1_0.last_name,p1_0.owner_id,p1_0.id,p1_0.birth_date,p1_0.name,p1_0.type_id,o1_0.telephone from owners o1_0 left join pets p1_0 on o1_0.id=p1_0.owner_id where o1_0.last_name like $1 escape '' + parameter_oids: + - 1043 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, "1", "2", T, D, C, Z] identifier: ServerResponse length: 8 - payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAAyAAJpZAAAAEAmAAEAAAAXAAT/////AABuYW1lAAAAQCYAAgAABBP//wAAAQMAAEQAAAATAAIAAAABMQAAAARDYXRzQwAAAA1TRUxFQ1QgMQBaAAAABVQ= + payload: MQAAAAQyAAAABEMAAAAKQkVHSU4AMQAAAAQyAAAABFQAAAEfAAtpZAAAAEAGAAEAAAAXAAT/////AABhZGRyZXNzAAAAQAYABAAABBP//wAAAQMAAGNpdHkAAABABgAFAAAEE///AAABAwAAZmlyc3RfbmFtZQAAAEAGAAIAAAQT//8AAAEDAABsYXN0X25hbWUAAABABgADAAAEE///AAABAwAAb3duZXJfaWQAAABADwAEAAAAFwAE/////wAAaWQAAABADwABAAAAFwAE/////wAAYmlydGhfZGF0ZQAAAEAPAAMAAAQ6AAT/////AABuYW1lAAAAQA8AAgAABBP//wAAAQMAAHR5cGVfaWQAAABADwAFAAAAFwAE/////wAAdGVsZXBob25lAAAAQAYABgAABBP//wAAAQMAAEQAAABvAAsAAAABMQAAAB4xNHRoIE1haW4gU3RyZWV0LCBSb3lhbCBTdHJlZXQAAAAPTG9uZG9uLCBFbmdsYW5kAAAABEpvaG4AAAADRG9l//////////////////////////8AAAAIMTIzNDU2NzhDAAAADVNFTEVDVCAxAFoAAAAFVA== authentication_md5_password: salt: - 0 @@ -4696,36 +4714,34 @@ spec: - 84 - 32 - 49 - data_row: [{row_values: ["1", Cats]}, {row_values: ["1", Cats]}, {row_values: ["1", Cats]}] + data_row: [{row_values: ["1", '14th Main Street, Royal Street', 'London, England', John, Doe, "", "", "", "", "", "12345678"]}, {row_values: ["1", '14th Main Street, Royal Street', 'London, England', John, Doe, "", "", "", "", "", "12345678"]}, {row_values: ["1", '14th Main Street, Royal Street', 'London, England', John, Doe, "", "", "", "", "", "12345678"]}] ready_for_query: txstatus: 84 - row_description: {fields: [{name: [105, 100], table_oid: 16422, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16422, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} + row_description: {fields: [{name: [105, 100], table_oid: 16390, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [97, 100, 100, 114, 101, 115, 115], table_oid: 16390, table_attribute_number: 4, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [99, 105, 116, 121], table_oid: 16390, table_attribute_number: 5, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [102, 105, 114, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [108, 97, 115, 116, 95, 110, 97, 109, 101], table_oid: 16390, table_attribute_number: 3, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [111, 119, 110, 101, 114, 95, 105, 100], table_oid: 16399, table_attribute_number: 4, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [105, 100], table_oid: 16399, table_attribute_number: 1, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [98, 105, 114, 116, 104, 95, 100, 97, 116, 101], table_oid: 16399, table_attribute_number: 3, data_type_oid: 1082, data_type_size: 4, type_modifier: -1, format: 0}, {name: [110, 97, 109, 101], table_oid: 16399, table_attribute_number: 2, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}, {name: [116, 121, 112, 101, 95, 105, 100], table_oid: 16399, table_attribute_number: 5, data_type_oid: 23, data_type_size: 4, type_modifier: -1, format: 0}, {name: [116, 101, 108, 101, 112, 104, 111, 110, 101], table_oid: 16390, table_attribute_number: 6, data_type_oid: 1043, data_type_size: -1, type_modifier: 259, format: 0}]} msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:32:02.140584141Z - restimestampmock: 2023-12-09T06:32:02.140644427Z + reqtimestampmock: 2024-02-12T16:55:54.359748725+05:30 + restimestampmock: 2024-02-12T16:55:54.35980224+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-104 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [B, E] identifier: ClientRequest length: 8 + payload: QgAAAA8AU18xAAAAAAAAAEUAAAAJAAAAAAFTAAAABA== bind: - - {} + - prepared_statement: S_1 execute: - max_rows: 1 - parse: - - name: "" - query: SET application_name = 'PostgreSQL JDBC Driver' - parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - - header: ["1", "2", C, S, Z] + - header: ["2", C, Z] identifier: ServerResponse length: 8 authentication_md5_password: @@ -4736,30 +4752,30 @@ spec: - 0 command_complete: - command_tag: - - 83 - - 69 + - 67 + - 79 + - 77 + - 77 + - 73 - 84 - parameter_status: - - name: application_name - value: PostgreSQL JDBC Driver - - name: application_name - value: PostgreSQL JDBC Driver ready_for_query: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.125018797Z - restimestampmock: 2023-12-09T06:29:44.125039254Z + reqtimestampmock: 2024-02-12T16:55:54.364402525+05:30 + restimestampmock: 2024-02-12T16:55:54.364438368+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-105 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAADcAU0VUIGFwcGxpY2F0aW9uX25hbWUgPSAnUG9zdGdyZVNRTCBKREJDIERyaXZlcicAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -4768,7 +4784,7 @@ spec: - name: "" query: SET application_name = 'PostgreSQL JDBC Driver' parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, S, Z] @@ -4794,18 +4810,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.016450867Z - restimestampmock: 2023-12-09T06:29:44.0164597Z + reqtimestampmock: 2024-02-12T16:43:50.271134312+05:30 + restimestampmock: 2024-02-12T16:43:50.271144812+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-106 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAADcAU0VUIGFwcGxpY2F0aW9uX25hbWUgPSAnUG9zdGdyZVNRTCBKREJDIERyaXZlcicAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -4814,7 +4832,7 @@ spec: - name: "" query: SET application_name = 'PostgreSQL JDBC Driver' parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, S, Z] @@ -4840,18 +4858,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.096308027Z - restimestampmock: 2023-12-09T06:29:44.0963254Z + reqtimestampmock: 2024-02-12T16:43:50.245572605+05:30 + restimestampmock: 2024-02-12T16:43:50.245583272+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-107 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAADcAU0VUIGFwcGxpY2F0aW9uX25hbWUgPSAnUG9zdGdyZVNRTCBKREJDIERyaXZlcicAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -4860,7 +4880,7 @@ spec: - name: "" query: SET application_name = 'PostgreSQL JDBC Driver' parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, S, Z] @@ -4886,18 +4906,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.151150071Z - restimestampmock: 2023-12-09T06:29:44.151161153Z + reqtimestampmock: 2024-02-12T16:43:50.311346072+05:30 + restimestampmock: 2024-02-12T16:43:50.311357656+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-108 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAADcAU0VUIGFwcGxpY2F0aW9uX25hbWUgPSAnUG9zdGdyZVNRTCBKREJDIERyaXZlcicAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -4906,7 +4928,7 @@ spec: - name: "" query: SET application_name = 'PostgreSQL JDBC Driver' parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, S, Z] @@ -4932,18 +4954,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.18166036Z - restimestampmock: 2023-12-09T06:29:44.181675525Z + reqtimestampmock: 2024-02-12T16:43:50.162691249+05:30 + restimestampmock: 2024-02-12T16:43:50.162700707+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-109 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAADcAU0VUIGFwcGxpY2F0aW9uX25hbWUgPSAnUG9zdGdyZVNRTCBKREJDIERyaXZlcicAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -4952,7 +4976,7 @@ spec: - name: "" query: SET application_name = 'PostgreSQL JDBC Driver' parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, S, Z] @@ -4978,18 +5002,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.247321933Z - restimestampmock: 2023-12-09T06:29:44.247335141Z + reqtimestampmock: 2024-02-12T16:43:50.344132908+05:30 + restimestampmock: 2024-02-12T16:43:50.344143034+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-110 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAADcAU0VUIGFwcGxpY2F0aW9uX25hbWUgPSAnUG9zdGdyZVNRTCBKREJDIERyaXZlcicAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -4998,7 +5024,7 @@ spec: - name: "" query: SET application_name = 'PostgreSQL JDBC Driver' parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, S, Z] @@ -5024,18 +5050,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.069191042Z - restimestampmock: 2023-12-09T06:29:44.069209874Z + reqtimestampmock: 2024-02-12T16:43:50.293884135+05:30 + restimestampmock: 2024-02-12T16:43:50.293892885+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-111 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAADcAU0VUIGFwcGxpY2F0aW9uX25hbWUgPSAnUG9zdGdyZVNRTCBKREJDIERyaXZlcicAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -5044,7 +5072,7 @@ spec: - name: "" query: SET application_name = 'PostgreSQL JDBC Driver' parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, S, Z] @@ -5070,18 +5098,20 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.04306506Z - restimestampmock: 2023-12-09T06:29:44.043081058Z + reqtimestampmock: 2024-02-12T16:43:50.187595569+05:30 + restimestampmock: 2024-02-12T16:43:50.187609402+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-112 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [P, B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAADcAU0VUIGFwcGxpY2F0aW9uX25hbWUgPSAnUG9zdGdyZVNRTCBKREJDIERyaXZlcicAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - {} execute: @@ -5090,7 +5120,7 @@ spec: - name: "" query: SET application_name = 'PostgreSQL JDBC Driver' parameter_oids: [] - msg_type: 83 + msg_type: 69 auth_type: 0 postgresresponses: - header: ["1", "2", C, S, Z] @@ -5116,26 +5146,32 @@ spec: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:29:44.207673852Z - restimestampmock: 2023-12-09T06:29:44.207703641Z + reqtimestampmock: 2024-02-12T16:43:50.220929665+05:30 + restimestampmock: 2024-02-12T16:43:50.220953957+05:30 --- version: api.keploy.io/v1beta1 kind: Postgres -name: mocks +name: mock-113 spec: - metadata: {} + metadata: + type: config postgresrequests: - - header: [B, E, S] + - header: [P, B, E] identifier: ClientRequest length: 8 + payload: UAAAADcAU0VUIGFwcGxpY2F0aW9uX25hbWUgPSAnUG9zdGdyZVNRTCBKREJDIERyaXZlcicAAABCAAAADAAAAAAAAAAARQAAAAkAAAAAAVMAAAAE bind: - - prepared_statement: S_1 + - {} execute: - max_rows: 1 - msg_type: 83 + parse: + - name: "" + query: SET application_name = 'PostgreSQL JDBC Driver' + parameter_oids: [] + msg_type: 69 auth_type: 0 postgresresponses: - - header: ["2", C, Z] + - header: ["1", "2", C, S, Z] identifier: ServerResponse length: 8 authentication_md5_password: @@ -5146,15 +5182,17 @@ spec: - 0 command_complete: - command_tag: - - 67 - - 79 - - 77 - - 77 - - 73 + - 83 + - 69 - 84 + parameter_status: + - name: application_name + value: PostgreSQL JDBC Driver + - name: application_name + value: PostgreSQL JDBC Driver ready_for_query: txstatus: 73 msg_type: 90 auth_type: 0 - reqtimestampmock: 2023-12-09T06:32:02.141646833Z - restimestampmock: 2023-12-09T06:32:02.141668831Z + reqtimestampmock: 2024-02-12T16:43:50.136646866+05:30 + restimestampmock: 2024-02-12T16:43:50.136656283+05:30 diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-1.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-1.yaml index 1d4d1c31..f4dc844b 100755 --- a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-1.yaml +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-1.yaml @@ -7,25 +7,26 @@ spec: method: GET proto_major: 1 proto_minor: 1 - url: http://localhost:9967/petclinic/api/pettypes + url: http://localhost:9966/petclinic/api/pettypes header: Accept: application/json, text/plain, */* Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Connection: keep-alive - Host: localhost:9967 - Origin: http://localhost:59555 - Referer: http://localhost:59555/ - Sec-Ch-Ua: '"Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: '"macOS"' Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-site - User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 body: "" body_type: "" - timestamp: 2023-12-09T06:29:56.173072949Z + timestamp: 2024-02-12T16:54:21.054666137+05:30 + host: "" resp: status_code: 404 header: @@ -34,7 +35,7 @@ spec: Cache-Control: no-cache, no-store, max-age=0, must-revalidate Connection: keep-alive Content-Length: "0" - Date: Sat, 09 Dec 2023 06:29:56 GMT + Date: Mon, 12 Feb 2024 11:24:21 GMT Expires: "0" Keep-Alive: timeout=60 Pragma: no-cache @@ -47,27 +48,27 @@ spec: status_message: "" proto_major: 0 proto_minor: 0 - timestamp: 2023-12-09T06:29:58.310490877Z + timestamp: 2024-02-12T16:54:23.272606779+05:30 objects: [] assertions: noise: header.Access-Control-Expose-Headers: [] header.Date: [] - created: 1702103398 + created: 1707737063 curl: | curl --request GET \ - --url http://localhost:9967/petclinic/api/pettypes \ - --header 'Sec-Ch-Ua-Mobile: ?0' \ - --header 'Accept: application/json, text/plain, */*' \ - --header 'Sec-Fetch-Site: same-site' \ + --url http://localhost:9966/petclinic/api/pettypes \ + --header 'Referer: http://localhost:4200/' \ --header 'Accept-Language: en-US,en;q=0.9' \ --header 'Sec-Ch-Ua-Platform: "macOS"' \ --header 'Accept-Encoding: gzip, deflate, br' \ - --header 'Origin: http://localhost:59555' \ + --header 'Sec-Ch-Ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \ + --header 'Host: localhost:9966' \ + --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ --header 'Connection: keep-alive' \ - --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ - --header 'Host: localhost:9967' \ - --header 'Sec-Fetch-Dest: empty' \ - --header 'Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \ - --header 'Referer: http://localhost:59555/' \ + --header 'Accept: application/json, text/plain, */*' \ --header 'Sec-Fetch-Mode: cors' \ + --header 'Sec-Fetch-Dest: empty' \ + --header 'Sec-Ch-Ua-Mobile: ?0' \ + --header 'Origin: http://localhost:4200' \ + --header 'Sec-Fetch-Site: same-site' \ diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-10.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-10.yaml index 08193620..21334493 100755 --- a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-10.yaml +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-10.yaml @@ -4,41 +4,41 @@ name: test-10 spec: metadata: {} req: - method: PUT + method: POST proto_major: 1 proto_minor: 1 - url: http://localhost:9967/petclinic/api/pettypes/1 + url: http://localhost:9966/petclinic/api/vets header: Accept: application/json, text/plain, */* Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Connection: keep-alive - Content-Length: "22" + Content-Length: "70" Content-Type: application/json - Host: localhost:9967 - Origin: http://localhost:59555 - Referer: http://localhost:59555/ - Sec-Ch-Ua: '"Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: '"macOS"' Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-site - User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 - body: '{"id":1,"name":"Cats"}' + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: '{"id":null,"firstName":"Alice ","lastName":"Hopkins","specialties":[]}' body_type: "" - timestamp: 2023-12-09T06:32:02.104894269Z + timestamp: 2024-02-12T16:55:00.533630021+05:30 + host: "" resp: - status_code: 204 + status_code: 400 header: Access-Control-Allow-Origin: '*' Access-Control-Expose-Headers: errors, content-type Cache-Control: no-cache, no-store, max-age=0, must-revalidate - Connection: keep-alive - Content-Type: application/json - Date: Sat, 09 Dec 2023 06:32:02 GMT + Content-Length: "0" + Date: Mon, 12 Feb 2024 11:25:00 GMT + Errors: '[{"objectName":"vetDto","fieldName":"firstName","fieldValue":"Alice ","errorMessage":"must match \"^[a-zA-Z]*$\""}]' Expires: "0" - Keep-Alive: timeout=60 Pragma: no-cache Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers X-Content-Type-Options: nosniff @@ -49,29 +49,29 @@ spec: status_message: "" proto_major: 0 proto_minor: 0 - timestamp: 2023-12-09T06:32:02.135805046Z + timestamp: 2024-02-12T16:55:03.593634538+05:30 objects: [] assertions: noise: header.Access-Control-Expose-Headers: [] header.Date: [] - created: 1702103522 + created: 1707737103 curl: |- - curl --request PUT \ - --url http://localhost:9967/petclinic/api/pettypes/1 \ - --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ - --header 'Sec-Ch-Ua-Mobile: ?0' \ + curl --request POST \ + --url http://localhost:9966/petclinic/api/vets \ + --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ --header 'Content-Type: application/json' \ - --header 'Host: localhost:9967' \ - --header 'Origin: http://localhost:59555' \ - --header 'Accept-Language: en-US,en;q=0.9' \ - --header 'Connection: keep-alive' \ - --header 'Referer: http://localhost:59555/' \ --header 'Sec-Fetch-Mode: cors' \ - --header 'Sec-Fetch-Site: same-site' \ - --header 'Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \ --header 'Sec-Fetch-Dest: empty' \ --header 'Accept-Encoding: gzip, deflate, br' \ + --header 'Host: localhost:9966' \ + --header 'Referer: http://localhost:4200/' \ --header 'Accept: application/json, text/plain, */*' \ --header 'Sec-Ch-Ua-Platform: "macOS"' \ - --data '{"id":1,"name":"Cats"}' + --header 'Sec-Ch-Ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \ + --header 'Sec-Ch-Ua-Mobile: ?0' \ + --header 'Origin: http://localhost:4200' \ + --header 'Accept-Language: en-US,en;q=0.9' \ + --header 'Connection: keep-alive' \ + --header 'Sec-Fetch-Site: same-site' \ + --data '{"id":null,"firstName":"Alice ","lastName":"Hopkins","specialties":[]}' diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-11.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-11.yaml index 409ca754..434e2751 100755 --- a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-11.yaml +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-11.yaml @@ -4,70 +4,77 @@ name: test-11 spec: metadata: {} req: - method: GET + method: POST proto_major: 1 proto_minor: 1 - url: http://localhost:9967/petclinic/api/pettypes + url: http://localhost:9966/petclinic/api/owners header: Accept: application/json, text/plain, */* Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Connection: keep-alive - Host: localhost:9967 - Origin: http://localhost:59555 - Referer: http://localhost:59555/ - Sec-Ch-Ua: '"Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' + Content-Length: "155" + Content-Type: application/json + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: '"macOS"' Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-site - User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 - body: "" + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: '{"id":null,"firstName":"Joe","lastName":"Hopkins","address":"24th Main Street, Something Street","city":"Los Angeles, California","telephone":"9090812030"}' body_type: "" - timestamp: 2023-12-09T06:32:02.135472827Z + timestamp: 2024-02-12T16:55:50.028129439+05:30 + host: "" resp: - status_code: 200 + status_code: 201 header: Access-Control-Allow-Origin: '*' Access-Control-Expose-Headers: errors, content-type Cache-Control: no-cache, no-store, max-age=0, must-revalidate Connection: keep-alive Content-Type: application/json - Date: Sat, 09 Dec 2023 06:32:02 GMT + Date: Mon, 12 Feb 2024 11:25:50 GMT Expires: "0" Keep-Alive: timeout=60 + Location: /api/owners/2 Pragma: no-cache Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: "0" - body: '[{"name":"Cats","id":1}]' + body: '{"firstName":"Joe","lastName":"Hopkins","address":"24th Main Street, Something Street","city":"Los Angeles, California","telephone":"9090812030","id":2,"pets":[]}' body_type: "" status_message: "" proto_major: 0 proto_minor: 0 - timestamp: 2023-12-09T06:32:05.472305151Z + timestamp: 2024-02-12T16:55:50.095389844+05:30 objects: [] assertions: noise: + body.telephone: [] header.Access-Control-Expose-Headers: [] header.Date: [] - created: 1702103525 -curl: | - curl --request GET \ - --url http://localhost:9967/petclinic/api/pettypes \ - --header 'Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \ - --header 'Referer: http://localhost:59555/' \ - --header 'Sec-Fetch-Dest: empty' \ - --header 'Sec-Fetch-Mode: cors' \ - --header 'Sec-Ch-Ua-Platform: "macOS"' \ + created: 1707737150 +curl: |- + curl --request POST \ + --url http://localhost:9966/petclinic/api/owners \ + --header 'Origin: http://localhost:4200' \ --header 'Accept-Encoding: gzip, deflate, br' \ - --header 'Sec-Fetch-Site: same-site' \ - --header 'Sec-Ch-Ua-Mobile: ?0' \ - --header 'Origin: http://localhost:59555' \ + --header 'Sec-Fetch-Mode: cors' \ + --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ --header 'Connection: keep-alive' \ - --header 'Accept-Language: en-US,en;q=0.9' \ - --header 'Host: localhost:9967' \ + --header 'Host: localhost:9966' \ --header 'Accept: application/json, text/plain, */*' \ - --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ + --header 'Referer: http://localhost:4200/' \ + --header 'Sec-Ch-Ua-Mobile: ?0' \ + --header 'Sec-Fetch-Site: same-site' \ + --header 'Sec-Ch-Ua-Platform: "macOS"' \ + --header 'Sec-Ch-Ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \ + --header 'Sec-Fetch-Dest: empty' \ + --header 'Accept-Language: en-US,en;q=0.9' \ + --header 'Content-Type: application/json' \ + --data '{"id":null,"firstName":"Joe","lastName":"Hopkins","address":"24th Main Street, Something Street","city":"Los Angeles, California","telephone":"9090812030"}' diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-12.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-12.yaml new file mode 100755 index 00000000..b397ddda --- /dev/null +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-12.yaml @@ -0,0 +1,77 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-12 +spec: + metadata: {} + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/owners + header: + Accept: application/json, text/plain, */* + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Connection: keep-alive + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' + Sec-Ch-Ua-Mobile: ?0 + Sec-Ch-Ua-Platform: '"macOS"' + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: "" + body_type: "" + timestamp: 2024-02-12T16:55:50.062519717+05:30 + host: "" + resp: + status_code: 200 + header: + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Type: application/json + Date: Mon, 12 Feb 2024 11:25:50 GMT + Expires: "0" + Keep-Alive: timeout=60 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: '[{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]},{"firstName":"Joe","lastName":"Hopkins","address":"24th Main Street, Something Street","city":"Los Angeles, California","telephone":"9090812030","id":2,"pets":[]}]' + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 2024-02-12T16:55:52.113241485+05:30 + objects: [] + assertions: + noise: + body.city: [] + body.firstName: [] + body.telephone: [] + header.Access-Control-Expose-Headers: [] + header.Date: [] + created: 1707737152 +curl: | + curl --request GET \ + --url http://localhost:9966/petclinic/api/owners \ + --header 'Sec-Fetch-Mode: cors' \ + --header 'Accept: application/json, text/plain, */*' \ + --header 'Accept-Language: en-US,en;q=0.9' \ + --header 'Accept-Encoding: gzip, deflate, br' \ + --header 'Sec-Ch-Ua-Mobile: ?0' \ + --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ + --header 'Sec-Fetch-Dest: empty' \ + --header 'Sec-Fetch-Site: same-site' \ + --header 'Connection: keep-alive' \ + --header 'Origin: http://localhost:4200' \ + --header 'Referer: http://localhost:4200/' \ + --header 'Host: localhost:9966' \ + --header 'Sec-Ch-Ua-Platform: "macOS"' \ + --header 'Sec-Ch-Ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \ diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-13.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-13.yaml new file mode 100755 index 00000000..ff87fe91 --- /dev/null +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-13.yaml @@ -0,0 +1,77 @@ +version: api.keploy.io/v1beta1 +kind: Http +name: test-13 +spec: + metadata: {} + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/owners?lastName=Doe + url_params: + lastName: Doe + header: + Accept: application/json, text/plain, */* + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Connection: keep-alive + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' + Sec-Ch-Ua-Mobile: ?0 + Sec-Ch-Ua-Platform: '"macOS"' + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: "" + body_type: "" + timestamp: 2024-02-12T16:55:54.294712477+05:30 + host: "" + resp: + status_code: 200 + header: + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Type: application/json + Date: Mon, 12 Feb 2024 11:25:54 GMT + Expires: "0" + Keep-Alive: timeout=60 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: '[{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}]' + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 2024-02-12T16:55:56.366794212+05:30 + objects: [] + assertions: + noise: + body.city: [] + header.Access-Control-Expose-Headers: [] + header.Date: [] + created: 1707737156 +curl: | + curl --request GET \ + --url http://localhost:9966/petclinic/api/owners?lastName=Doe \ + --header 'Sec-Fetch-Site: same-site' \ + --header 'Sec-Ch-Ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \ + --header 'Sec-Fetch-Dest: empty' \ + --header 'Host: localhost:9966' \ + --header 'Accept: application/json, text/plain, */*' \ + --header 'Connection: keep-alive' \ + --header 'Accept-Language: en-US,en;q=0.9' \ + --header 'Sec-Fetch-Mode: cors' \ + --header 'Accept-Encoding: gzip, deflate, br' \ + --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ + --header 'Sec-Ch-Ua-Platform: "macOS"' \ + --header 'Origin: http://localhost:4200' \ + --header 'Referer: http://localhost:4200/' \ + --header 'Sec-Ch-Ua-Mobile: ?0' \ diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-2.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-2.yaml index f84ee5fd..ca5472a8 100755 --- a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-2.yaml +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-2.yaml @@ -4,75 +4,74 @@ name: test-2 spec: metadata: {} req: - method: POST + method: OPTIONS proto_major: 1 proto_minor: 1 - url: http://localhost:9967/petclinic/api/pettypes + url: http://localhost:9966/petclinic/api/pettypes header: - Accept: application/json, text/plain, */* + Accept: '*/*' Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 + Access-Control-Request-Headers: content-type + Access-Control-Request-Method: POST Connection: keep-alive - Content-Length: "24" - Content-Type: application/json - Host: localhost:9967 - Origin: http://localhost:59555 - Referer: http://localhost:59555/ - Sec-Ch-Ua: '"Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' - Sec-Ch-Ua-Mobile: ?0 - Sec-Ch-Ua-Platform: '"macOS"' + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-site - User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 - body: '{"id":null,"name":"Dog"}' + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: "" body_type: "" - timestamp: 2023-12-09T06:30:06.384673971Z + timestamp: 2024-02-12T16:54:26.80205576+05:30 + host: "" resp: - status_code: 201 + status_code: 200 header: + Access-Control-Allow-Headers: content-type + Access-Control-Allow-Methods: POST Access-Control-Allow-Origin: '*' Access-Control-Expose-Headers: errors, content-type + Access-Control-Max-Age: "1800" + Allow: GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PATCH Cache-Control: no-cache, no-store, max-age=0, must-revalidate Connection: keep-alive - Content-Type: application/json - Date: Sat, 09 Dec 2023 06:30:06 GMT + Content-Length: "0" + Date: Mon, 12 Feb 2024 11:24:26 GMT Expires: "0" Keep-Alive: timeout=60 - Location: /api/pettypes/1 Pragma: no-cache Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: "0" - body: '{"name":"Dog","id":1}' + body: "" body_type: "" status_message: "" proto_major: 0 proto_minor: 0 - timestamp: 2023-12-09T06:30:10.467429316Z + timestamp: 2024-02-12T16:54:26.851164574+05:30 objects: [] assertions: noise: header.Access-Control-Expose-Headers: [] + header.Access-Control-Max-Age: [] header.Date: [] - created: 1702103410 -curl: |- - curl --request POST \ - --url http://localhost:9967/petclinic/api/pettypes \ - --header 'Sec-Ch-Ua-Mobile: ?0' \ - --header 'Content-Type: application/json' \ - --header 'Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \ - --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ - --header 'Sec-Ch-Ua-Platform: "macOS"' \ - --header 'Host: localhost:9967' \ - --header 'Sec-Fetch-Site: same-site' \ - --header 'Accept: application/json, text/plain, */*' \ - --header 'Sec-Fetch-Dest: empty' \ - --header 'Sec-Fetch-Mode: cors' \ + created: 1707737066 +curl: | + curl --request OPTIONS \ + --url http://localhost:9966/petclinic/api/pettypes \ + --header 'Host: localhost:9966' \ + --header 'Origin: http://localhost:4200' \ + --header 'Access-Control-Request-Method: POST' \ + --header 'Referer: http://localhost:4200/' \ --header 'Accept-Encoding: gzip, deflate, br' \ - --header 'Referer: http://localhost:59555/' \ + --header 'Access-Control-Request-Headers: content-type' \ + --header 'Accept: */*' \ + --header 'Sec-Fetch-Mode: cors' \ + --header 'Sec-Fetch-Dest: empty' \ + --header 'Sec-Fetch-Site: same-site' \ --header 'Accept-Language: en-US,en;q=0.9' \ - --header 'Origin: http://localhost:59555' \ --header 'Connection: keep-alive' \ - --data '{"id":null,"name":"Dog"}' + --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-3.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-3.yaml index 2e598c12..55227fe2 100755 --- a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-3.yaml +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-3.yaml @@ -7,27 +7,28 @@ spec: method: POST proto_major: 1 proto_minor: 1 - url: http://localhost:9967/petclinic/api/owners + url: http://localhost:9966/petclinic/api/pettypes header: Accept: application/json, text/plain, */* Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Connection: keep-alive - Content-Length: "138" + Content-Length: "24" Content-Type: application/json - Host: localhost:9967 - Origin: http://localhost:59555 - Referer: http://localhost:59555/ - Sec-Ch-Ua: '"Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: '"macOS"' Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-site - User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 - body: '{"id":null,"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678"}' + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: '{"id":null,"name":"Cat"}' body_type: "" - timestamp: 2023-12-09T06:31:00.986057654Z + timestamp: 2024-02-12T16:54:26.826941684+05:30 + host: "" resp: status_code: 201 header: @@ -36,44 +37,43 @@ spec: Cache-Control: no-cache, no-store, max-age=0, must-revalidate Connection: keep-alive Content-Type: application/json - Date: Sat, 09 Dec 2023 06:31:00 GMT + Date: Mon, 12 Feb 2024 11:24:26 GMT Expires: "0" Keep-Alive: timeout=60 - Location: /api/owners/1 + Location: /api/pettypes/1 Pragma: no-cache Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: "0" - body: '{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}' + body: '{"name":"Cat","id":1}' body_type: "" status_message: "" proto_major: 0 proto_minor: 0 - timestamp: 2023-12-09T06:31:01.064137429Z + timestamp: 2024-02-12T16:54:28.97927723+05:30 objects: [] assertions: noise: - body.city: [] header.Access-Control-Expose-Headers: [] header.Date: [] - created: 1702103461 + created: 1707737068 curl: |- curl --request POST \ - --url http://localhost:9967/petclinic/api/owners \ - --header 'Sec-Ch-Ua-Mobile: ?0' \ - --header 'Connection: keep-alive' \ - --header 'Accept-Language: en-US,en;q=0.9' \ + --url http://localhost:9966/petclinic/api/pettypes \ + --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ --header 'Sec-Fetch-Mode: cors' \ - --header 'Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \ - --header 'Accept: application/json, text/plain, */*' \ --header 'Sec-Fetch-Dest: empty' \ - --header 'Origin: http://localhost:59555' \ + --header 'Referer: http://localhost:4200/' \ + --header 'Host: localhost:9966' \ + --header 'Origin: http://localhost:4200' \ --header 'Accept-Encoding: gzip, deflate, br' \ + --header 'Accept: application/json, text/plain, */*' \ + --header 'Sec-Ch-Ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \ + --header 'Content-Type: application/json' \ --header 'Sec-Fetch-Site: same-site' \ - --header 'Host: localhost:9967' \ - --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ - --header 'Referer: http://localhost:59555/' \ + --header 'Sec-Ch-Ua-Mobile: ?0' \ + --header 'Connection: keep-alive' \ + --header 'Accept-Language: en-US,en;q=0.9' \ --header 'Sec-Ch-Ua-Platform: "macOS"' \ - --header 'Content-Type: application/json' \ - --data '{"id":null,"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678"}' + --data '{"id":null,"name":"Cat"}' diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-4.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-4.yaml index 15d6f5dd..871f49f7 100755 --- a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-4.yaml +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-4.yaml @@ -4,71 +4,76 @@ name: test-4 spec: metadata: {} req: - method: GET + method: POST proto_major: 1 proto_minor: 1 - url: http://localhost:9967/petclinic/api/owners + url: http://localhost:9966/petclinic/api/pettypes header: Accept: application/json, text/plain, */* Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Connection: keep-alive - Host: localhost:9967 - Origin: http://localhost:59555 - Referer: http://localhost:59555/ - Sec-Ch-Ua: '"Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' + Content-Length: "24" + Content-Type: application/json + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: '"macOS"' Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-site - User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 - body: "" + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: '{"id":null,"name":"Dog"}' body_type: "" - timestamp: 2023-12-09T06:31:01.063074608Z + timestamp: 2024-02-12T16:54:33.686615323+05:30 + host: "" resp: - status_code: 200 + status_code: 201 header: Access-Control-Allow-Origin: '*' Access-Control-Expose-Headers: errors, content-type Cache-Control: no-cache, no-store, max-age=0, must-revalidate Connection: keep-alive Content-Type: application/json - Date: Sat, 09 Dec 2023 06:31:00 GMT + Date: Mon, 12 Feb 2024 11:24:33 GMT Expires: "0" Keep-Alive: timeout=60 + Location: /api/pettypes/2 Pragma: no-cache Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: "0" - body: '[{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}]' + body: '{"name":"Dog","id":2}' body_type: "" status_message: "" proto_major: 0 proto_minor: 0 - timestamp: 2023-12-09T06:31:03.099916915Z + timestamp: 2024-02-12T16:54:35.764932377+05:30 objects: [] assertions: noise: - body.city: [] header.Access-Control-Expose-Headers: [] header.Date: [] - created: 1702103463 -curl: | - curl --request GET \ - --url http://localhost:9967/petclinic/api/owners \ - --header 'Accept-Encoding: gzip, deflate, br' \ + created: 1707737075 +curl: |- + curl --request POST \ + --url http://localhost:9966/petclinic/api/pettypes \ + --header 'Accept-Language: en-US,en;q=0.9' \ --header 'Sec-Ch-Ua-Platform: "macOS"' \ + --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ + --header 'Sec-Fetch-Site: same-site' \ + --header 'Content-Type: application/json' \ --header 'Accept: application/json, text/plain, */*' \ - --header 'Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \ - --header 'Sec-Fetch-Mode: cors' \ - --header 'Origin: http://localhost:59555' \ - --header 'Referer: http://localhost:59555/' \ + --header 'Connection: keep-alive' \ + --header 'Sec-Ch-Ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \ + --header 'Accept-Encoding: gzip, deflate, br' \ --header 'Sec-Fetch-Dest: empty' \ - --header 'Host: localhost:9967' \ - --header 'Sec-Fetch-Site: same-site' \ - --header 'Accept-Language: en-US,en;q=0.9' \ + --header 'Origin: http://localhost:4200' \ + --header 'Referer: http://localhost:4200/' \ + --header 'Sec-Fetch-Mode: cors' \ + --header 'Host: localhost:9966' \ --header 'Sec-Ch-Ua-Mobile: ?0' \ - --header 'Connection: keep-alive' \ - --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ + --data '{"id":null,"name":"Dog"}' diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-5.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-5.yaml index a101fae1..3a9d18f6 100755 --- a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-5.yaml +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-5.yaml @@ -4,37 +4,41 @@ name: test-5 spec: metadata: {} req: - method: GET + method: OPTIONS proto_major: 1 proto_minor: 1 - url: http://localhost:9967/petclinic/api/specialties + url: http://localhost:9966/petclinic/api/owners header: - Accept: application/json, text/plain, */* + Accept: '*/*' Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 + Access-Control-Request-Headers: content-type + Access-Control-Request-Method: POST Connection: keep-alive - Host: localhost:9967 - Origin: http://localhost:59555 - Referer: http://localhost:59555/ - Sec-Ch-Ua: '"Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' - Sec-Ch-Ua-Mobile: ?0 - Sec-Ch-Ua-Platform: '"macOS"' + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-site - User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 body: "" body_type: "" - timestamp: 2023-12-09T06:31:07.181620437Z + timestamp: 2024-02-12T16:54:48.102990237+05:30 + host: "" resp: - status_code: 404 + status_code: 200 header: + Access-Control-Allow-Headers: content-type + Access-Control-Allow-Methods: POST Access-Control-Allow-Origin: '*' Access-Control-Expose-Headers: errors, content-type + Access-Control-Max-Age: "1800" + Allow: GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PATCH Cache-Control: no-cache, no-store, max-age=0, must-revalidate Connection: keep-alive Content-Length: "0" - Date: Sat, 09 Dec 2023 06:31:07 GMT + Date: Mon, 12 Feb 2024 11:24:48 GMT Expires: "0" Keep-Alive: timeout=60 Pragma: no-cache @@ -47,27 +51,27 @@ spec: status_message: "" proto_major: 0 proto_minor: 0 - timestamp: 2023-12-09T06:31:10.472558542Z + timestamp: 2024-02-12T16:54:48.20324542+05:30 objects: [] assertions: noise: header.Access-Control-Expose-Headers: [] + header.Access-Control-Max-Age: [] header.Date: [] - created: 1702103470 + created: 1707737088 curl: | - curl --request GET \ - --url http://localhost:9967/petclinic/api/specialties \ - --header 'Accept-Encoding: gzip, deflate, br' \ - --header 'Host: localhost:9967' \ + curl --request OPTIONS \ + --url http://localhost:9966/petclinic/api/owners \ + --header 'Host: localhost:9966' \ + --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ --header 'Accept-Language: en-US,en;q=0.9' \ - --header 'Referer: http://localhost:59555/' \ - --header 'Connection: keep-alive' \ - --header 'Sec-Ch-Ua-Mobile: ?0' \ - --header 'Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \ - --header 'Sec-Fetch-Mode: cors' \ - --header 'Accept: application/json, text/plain, */*' \ --header 'Sec-Fetch-Dest: empty' \ - --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ - --header 'Sec-Ch-Ua-Platform: "macOS"' \ + --header 'Referer: http://localhost:4200/' \ + --header 'Origin: http://localhost:4200' \ + --header 'Accept-Encoding: gzip, deflate, br' \ + --header 'Accept: */*' \ + --header 'Connection: keep-alive' \ + --header 'Access-Control-Request-Method: POST' \ --header 'Sec-Fetch-Site: same-site' \ - --header 'Origin: http://localhost:59555' \ + --header 'Sec-Fetch-Mode: cors' \ + --header 'Access-Control-Request-Headers: content-type' \ diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-6.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-6.yaml index a48f8e4f..2203b12c 100755 --- a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-6.yaml +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-6.yaml @@ -7,27 +7,28 @@ spec: method: POST proto_major: 1 proto_minor: 1 - url: http://localhost:9967/petclinic/api/specialties + url: http://localhost:9966/petclinic/api/owners header: Accept: application/json, text/plain, */* Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Connection: keep-alive - Content-Length: "23" + Content-Length: "138" Content-Type: application/json - Host: localhost:9967 - Origin: http://localhost:59555 - Referer: http://localhost:59555/ - Sec-Ch-Ua: '"Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: '"macOS"' Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-site - User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 - body: '{"name":"veterinanian"}' + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: '{"id":null,"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678"}' body_type: "" - timestamp: 2023-12-09T06:31:50.44240483Z + timestamp: 2024-02-12T16:54:48.120284304+05:30 + host: "" resp: status_code: 201 header: @@ -36,43 +37,44 @@ spec: Cache-Control: no-cache, no-store, max-age=0, must-revalidate Connection: keep-alive Content-Type: application/json - Date: Sat, 09 Dec 2023 06:31:50 GMT + Date: Mon, 12 Feb 2024 11:24:48 GMT Expires: "0" Keep-Alive: timeout=60 - Location: /api/specialties/1 + Location: /api/owners/1 Pragma: no-cache Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: "0" - body: '{"id":1,"name":"veterinanian"}' + body: '{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}' body_type: "" status_message: "" proto_major: 0 proto_minor: 0 - timestamp: 2023-12-09T06:31:52.461415497Z + timestamp: 2024-02-12T16:54:48.313252372+05:30 objects: [] assertions: noise: + body.city: [] header.Access-Control-Expose-Headers: [] header.Date: [] - created: 1702103512 + created: 1707737088 curl: |- curl --request POST \ - --url http://localhost:9967/petclinic/api/specialties \ + --url http://localhost:9966/petclinic/api/owners \ --header 'Accept-Encoding: gzip, deflate, br' \ - --header 'Sec-Fetch-Dest: empty' \ - --header 'Connection: keep-alive' \ - --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ + --header 'Sec-Ch-Ua-Platform: "macOS"' \ --header 'Accept-Language: en-US,en;q=0.9' \ - --header 'Referer: http://localhost:59555/' \ - --header 'Sec-Fetch-Mode: cors' \ - --header 'Content-Type: application/json' \ - --header 'Accept: application/json, text/plain, */*' \ - --header 'Host: localhost:9967' \ + --header 'Referer: http://localhost:4200/' \ + --header 'Sec-Ch-Ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \ + --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ + --header 'Host: localhost:9966' \ --header 'Sec-Fetch-Site: same-site' \ - --header 'Origin: http://localhost:59555' \ - --header 'Sec-Ch-Ua-Platform: "macOS"' \ - --header 'Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \ + --header 'Sec-Fetch-Mode: cors' \ --header 'Sec-Ch-Ua-Mobile: ?0' \ - --data '{"name":"veterinanian"}' + --header 'Origin: http://localhost:4200' \ + --header 'Connection: keep-alive' \ + --header 'Sec-Fetch-Dest: empty' \ + --header 'Accept: application/json, text/plain, */*' \ + --header 'Content-Type: application/json' \ + --data '{"id":null,"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678"}' diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-7.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-7.yaml index 906268fb..3ced1a14 100755 --- a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-7.yaml +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-7.yaml @@ -7,25 +7,26 @@ spec: method: GET proto_major: 1 proto_minor: 1 - url: http://localhost:9967/petclinic/api/pettypes + url: http://localhost:9966/petclinic/api/owners header: Accept: application/json, text/plain, */* Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Connection: keep-alive - Host: localhost:9967 - Origin: http://localhost:59555 - Referer: http://localhost:59555/ - Sec-Ch-Ua: '"Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: '"macOS"' Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-site - User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 body: "" body_type: "" - timestamp: 2023-12-09T06:31:53.019091006Z + timestamp: 2024-02-12T16:54:48.182128885+05:30 + host: "" resp: status_code: 200 header: @@ -34,7 +35,7 @@ spec: Cache-Control: no-cache, no-store, max-age=0, must-revalidate Connection: keep-alive Content-Type: application/json - Date: Sat, 09 Dec 2023 06:31:53 GMT + Date: Mon, 12 Feb 2024 11:24:48 GMT Expires: "0" Keep-Alive: timeout=60 Pragma: no-cache @@ -42,32 +43,33 @@ spec: X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: "0" - body: '[{"name":"Dog","id":1}]' + body: '[{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}]' body_type: "" status_message: "" proto_major: 0 proto_minor: 0 - timestamp: 2023-12-09T06:31:55.028198837Z + timestamp: 2024-02-12T16:54:50.234674212+05:30 objects: [] assertions: noise: + body.city: [] header.Access-Control-Expose-Headers: [] header.Date: [] - created: 1702103515 + created: 1707737090 curl: | curl --request GET \ - --url http://localhost:9967/petclinic/api/pettypes \ - --header 'Accept: application/json, text/plain, */*' \ - --header 'Referer: http://localhost:59555/' \ - --header 'Accept-Encoding: gzip, deflate, br' \ - --header 'Connection: keep-alive' \ - --header 'Sec-Fetch-Site: same-site' \ - --header 'Sec-Fetch-Dest: empty' \ - --header 'Sec-Ch-Ua-Mobile: ?0' \ - --header 'Host: localhost:9967' \ + --url http://localhost:9966/petclinic/api/owners \ + --header 'Origin: http://localhost:4200' \ --header 'Accept-Language: en-US,en;q=0.9' \ --header 'Sec-Ch-Ua-Platform: "macOS"' \ - --header 'Origin: http://localhost:59555' \ + --header 'Referer: http://localhost:4200/' \ + --header 'Accept-Encoding: gzip, deflate, br' \ --header 'Sec-Fetch-Mode: cors' \ - --header 'Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \ - --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ + --header 'Sec-Ch-Ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \ + --header 'Sec-Fetch-Dest: empty' \ + --header 'Connection: keep-alive' \ + --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ + --header 'Sec-Ch-Ua-Mobile: ?0' \ + --header 'Accept: application/json, text/plain, */*' \ + --header 'Sec-Fetch-Site: same-site' \ + --header 'Host: localhost:9966' \ diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-8.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-8.yaml index d6bd6a12..7c7beb55 100755 --- a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-8.yaml +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-8.yaml @@ -7,34 +7,35 @@ spec: method: GET proto_major: 1 proto_minor: 1 - url: http://localhost:9967/petclinic/api/pettypes/1 + url: http://localhost:9966/petclinic/api/specialties header: Accept: application/json, text/plain, */* Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Connection: keep-alive - Host: localhost:9967 - Origin: http://localhost:59555 - Referer: http://localhost:59555/ - Sec-Ch-Ua: '"Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: '"macOS"' Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-site - User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 body: "" body_type: "" - timestamp: 2023-12-09T06:31:58.379701194Z + timestamp: 2024-02-12T16:54:55.7971436+05:30 + host: "" resp: - status_code: 200 + status_code: 404 header: Access-Control-Allow-Origin: '*' Access-Control-Expose-Headers: errors, content-type Cache-Control: no-cache, no-store, max-age=0, must-revalidate Connection: keep-alive - Content-Type: application/json - Date: Sat, 09 Dec 2023 06:31:58 GMT + Content-Length: "0" + Date: Mon, 12 Feb 2024 11:24:55 GMT Expires: "0" Keep-Alive: timeout=60 Pragma: no-cache @@ -42,32 +43,32 @@ spec: X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: "0" - body: '{"name":"Dog","id":1}' + body: "" body_type: "" status_message: "" proto_major: 0 proto_minor: 0 - timestamp: 2023-12-09T06:32:00.412292229Z + timestamp: 2024-02-12T16:54:57.919287332+05:30 objects: [] assertions: noise: header.Access-Control-Expose-Headers: [] header.Date: [] - created: 1702103520 + created: 1707737097 curl: | curl --request GET \ - --url http://localhost:9967/petclinic/api/pettypes/1 \ + --url http://localhost:9966/petclinic/api/specialties \ + --header 'Origin: http://localhost:4200' \ + --header 'Accept: application/json, text/plain, */*' \ --header 'Sec-Fetch-Dest: empty' \ - --header 'Origin: http://localhost:59555' \ + --header 'Sec-Ch-Ua-Platform: "macOS"' \ + --header 'Sec-Ch-Ua: "Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' \ + --header 'Sec-Fetch-Site: same-site' \ + --header 'Accept-Language: en-US,en;q=0.9' \ --header 'Connection: keep-alive' \ - --header 'Accept: application/json, text/plain, */*' \ + --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ --header 'Sec-Ch-Ua-Mobile: ?0' \ - --header 'Sec-Ch-Ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \ - --header 'Sec-Fetch-Mode: cors' \ - --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ - --header 'Accept-Language: en-US,en;q=0.9' \ - --header 'Sec-Fetch-Site: same-site' \ - --header 'Referer: http://localhost:59555/' \ - --header 'Host: localhost:9967' \ + --header 'Referer: http://localhost:4200/' \ --header 'Accept-Encoding: gzip, deflate, br' \ - --header 'Sec-Ch-Ua-Platform: "macOS"' \ + --header 'Host: localhost:9966' \ + --header 'Sec-Fetch-Mode: cors' \ diff --git a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-9.yaml b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-9.yaml index 9f3055d0..821ee705 100755 --- a/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-9.yaml +++ b/spring-petclinic/spring-petclinic-rest/keploy/test-set-0/tests/test-9.yaml @@ -7,29 +7,30 @@ spec: method: OPTIONS proto_major: 1 proto_minor: 1 - url: http://localhost:9967/petclinic/api/pettypes/1 + url: http://localhost:9966/petclinic/api/vets header: Accept: '*/*' Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Access-Control-Request-Headers: content-type - Access-Control-Request-Method: PUT + Access-Control-Request-Method: POST Connection: keep-alive - Host: localhost:9967 - Origin: http://localhost:59555 - Referer: http://localhost:59555/ + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-site - User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 body: "" body_type: "" - timestamp: 2023-12-09T06:32:02.100219706Z + timestamp: 2024-02-12T16:55:00.520581279+05:30 + host: "" resp: status_code: 200 header: Access-Control-Allow-Headers: content-type - Access-Control-Allow-Methods: PUT + Access-Control-Allow-Methods: POST Access-Control-Allow-Origin: '*' Access-Control-Expose-Headers: errors, content-type Access-Control-Max-Age: "1800" @@ -37,7 +38,7 @@ spec: Cache-Control: no-cache, no-store, max-age=0, must-revalidate Connection: keep-alive Content-Length: "0" - Date: Sat, 09 Dec 2023 06:32:02 GMT + Date: Mon, 12 Feb 2024 11:25:00 GMT Expires: "0" Keep-Alive: timeout=60 Pragma: no-cache @@ -50,27 +51,27 @@ spec: status_message: "" proto_major: 0 proto_minor: 0 - timestamp: 2023-12-09T06:32:02.10536535Z + timestamp: 2024-02-12T16:55:00.556908826+05:30 objects: [] assertions: noise: header.Access-Control-Expose-Headers: [] header.Access-Control-Max-Age: [] header.Date: [] - created: 1702103522 + created: 1707737100 curl: | curl --request OPTIONS \ - --url http://localhost:9967/petclinic/api/pettypes/1 \ - --header 'Accept-Language: en-US,en;q=0.9' \ - --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ - --header 'Sec-Fetch-Mode: cors' \ + --url http://localhost:9966/petclinic/api/vets \ + --header 'Host: localhost:9966' \ + --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' \ --header 'Accept-Encoding: gzip, deflate, br' \ --header 'Access-Control-Request-Headers: content-type' \ - --header 'Referer: http://localhost:59555/' \ - --header 'Access-Control-Request-Method: PUT' \ - --header 'Host: localhost:9967' \ + --header 'Accept: */*' \ --header 'Sec-Fetch-Dest: empty' \ - --header 'Sec-Fetch-Site: same-site' \ + --header 'Origin: http://localhost:4200' \ + --header 'Referer: http://localhost:4200/' \ + --header 'Access-Control-Request-Method: POST' \ --header 'Connection: keep-alive' \ - --header 'Accept: */*' \ - --header 'Origin: http://localhost:59555' \ + --header 'Sec-Fetch-Site: same-site' \ + --header 'Accept-Language: en-US,en;q=0.9' \ + --header 'Sec-Fetch-Mode: cors' \ diff --git a/spring-petclinic/spring-petclinic-rest/keploy/testReports/test-run-1/report-1.yaml b/spring-petclinic/spring-petclinic-rest/keploy/testReports/test-run-1/report-1.yaml new file mode 100755 index 00000000..a5a119ae --- /dev/null +++ b/spring-petclinic/spring-petclinic-rest/keploy/testReports/test-run-1/report-1.yaml @@ -0,0 +1,2773 @@ +version: api.keploy.io/v1beta1 +name: report-1 +status: PASSED +success: 13 +failure: 0 +total: 13 +tests: + - kind: Http + name: report-1 + status: PASSED + started: 1707737196 + completed: 1707737196 + test_case_path: /home/pranshu.linux/samples-java/spring-petclinic/spring-petclinic-rest/keploy/test-set-0 + mock_path: "" + test_case_id: test-1 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/pettypes + header: + Accept: application/json, text/plain, */* + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Connection: keep-alive + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' + Sec-Ch-Ua-Mobile: ?0 + Sec-Ch-Ua-Platform: '"macOS"' + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: "" + body_type: "" + timestamp: 0001-01-01T00:00:00Z + host: "" + resp: + status_code: 404 + header: + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Length: "0" + Date: Mon, 12 Feb 2024 11:24:21 GMT + Expires: "0" + Keep-Alive: timeout=60 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: "" + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + noise: + header.Access-Control-Expose-Headers: [] + header.Date: [] + result: + status_code: + normal: true + expected: 404 + actual: 404 + headers_result: + - normal: true + expected: + key: Access-Control-Expose-Headers + value: + - errors, content-type + actual: + key: Access-Control-Expose-Headers + value: + - errors, content-type + - normal: true + expected: + key: Keep-Alive + value: + - timeout=60 + actual: + key: Keep-Alive + value: + - timeout=60 + - normal: true + expected: + key: Expires + value: + - "0" + actual: + key: Expires + value: + - "0" + - normal: true + expected: + key: X-Frame-Options + value: + - DENY + actual: + key: X-Frame-Options + value: + - DENY + - normal: true + expected: + key: Content-Length + value: + - "0" + actual: + key: Content-Length + value: + - "0" + - normal: true + expected: + key: Connection + value: + - keep-alive + actual: + key: Connection + value: + - keep-alive + - normal: true + expected: + key: X-Xss-Protection + value: + - "0" + actual: + key: X-Xss-Protection + value: + - "0" + - normal: true + expected: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + actual: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + - normal: true + expected: + key: X-Content-Type-Options + value: + - nosniff + actual: + key: X-Content-Type-Options + value: + - nosniff + - normal: true + expected: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + actual: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + - normal: true + expected: + key: Pragma + value: + - no-cache + actual: + key: Pragma + value: + - no-cache + - normal: true + expected: + key: Date + value: + - Mon, 12 Feb 2024 11:24:21 GMT + actual: + key: Date + value: + - Mon, 12 Feb 2024 11:26:36 GMT + - normal: true + expected: + key: Access-Control-Allow-Origin + value: + - '*' + actual: + key: Access-Control-Allow-Origin + value: + - '*' + body_result: + - normal: true + type: PLAIN + expected: "" + actual: "" + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1707737196 + completed: 1707737196 + test_case_path: /home/pranshu.linux/samples-java/spring-petclinic/spring-petclinic-rest/keploy/test-set-0 + mock_path: "" + test_case_id: test-2 + req: + method: OPTIONS + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/pettypes + header: + Accept: '*/*' + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Access-Control-Request-Headers: content-type + Access-Control-Request-Method: POST + Connection: keep-alive + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: "" + body_type: "" + timestamp: 0001-01-01T00:00:00Z + host: "" + resp: + status_code: 200 + header: + Access-Control-Allow-Headers: content-type + Access-Control-Allow-Methods: POST + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Access-Control-Max-Age: "1800" + Allow: GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PATCH + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Length: "0" + Date: Mon, 12 Feb 2024 11:24:26 GMT + Expires: "0" + Keep-Alive: timeout=60 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: "" + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + noise: + header.Access-Control-Expose-Headers: [] + header.Access-Control-Max-Age: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Access-Control-Allow-Headers + value: + - content-type + actual: + key: Access-Control-Allow-Headers + value: + - content-type + - normal: true + expected: + key: X-Frame-Options + value: + - DENY + actual: + key: X-Frame-Options + value: + - DENY + - normal: true + expected: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + actual: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + - normal: true + expected: + key: Date + value: + - Mon, 12 Feb 2024 11:24:26 GMT + actual: + key: Date + value: + - Mon, 12 Feb 2024 11:26:36 GMT + - normal: true + expected: + key: X-Content-Type-Options + value: + - nosniff + actual: + key: X-Content-Type-Options + value: + - nosniff + - normal: true + expected: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + actual: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + - normal: true + expected: + key: Pragma + value: + - no-cache + actual: + key: Pragma + value: + - no-cache + - normal: true + expected: + key: Access-Control-Max-Age + value: + - "1800" + actual: + key: Access-Control-Max-Age + value: + - "1800" + - normal: true + expected: + key: Access-Control-Expose-Headers + value: + - errors, content-type + actual: + key: Access-Control-Expose-Headers + value: + - errors, content-type + - normal: true + expected: + key: Keep-Alive + value: + - timeout=60 + actual: + key: Keep-Alive + value: + - timeout=60 + - normal: true + expected: + key: Expires + value: + - "0" + actual: + key: Expires + value: + - "0" + - normal: true + expected: + key: Access-Control-Allow-Origin + value: + - '*' + actual: + key: Access-Control-Allow-Origin + value: + - '*' + - normal: true + expected: + key: X-Xss-Protection + value: + - "0" + actual: + key: X-Xss-Protection + value: + - "0" + - normal: true + expected: + key: Allow + value: + - GET + - ' HEAD' + - ' POST' + - ' PUT' + - ' DELETE' + - ' OPTIONS' + - ' TRACE' + - ' PATCH' + actual: + key: Allow + value: + - GET + - ' HEAD' + - ' POST' + - ' PUT' + - ' DELETE' + - ' OPTIONS' + - ' TRACE' + - ' PATCH' + - normal: true + expected: + key: Connection + value: + - keep-alive + actual: + key: Connection + value: + - keep-alive + - normal: true + expected: + key: Access-Control-Allow-Methods + value: + - POST + actual: + key: Access-Control-Allow-Methods + value: + - POST + - normal: true + expected: + key: Content-Length + value: + - "0" + actual: + key: Content-Length + value: + - "0" + body_result: + - normal: true + type: PLAIN + expected: "" + actual: "" + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1707737196 + completed: 1707737196 + test_case_path: /home/pranshu.linux/samples-java/spring-petclinic/spring-petclinic-rest/keploy/test-set-0 + mock_path: "" + test_case_id: test-3 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/pettypes + header: + Accept: application/json, text/plain, */* + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Connection: keep-alive + Content-Length: "24" + Content-Type: application/json + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' + Sec-Ch-Ua-Mobile: ?0 + Sec-Ch-Ua-Platform: '"macOS"' + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: '{"id":null,"name":"Cat"}' + body_type: "" + timestamp: 0001-01-01T00:00:00Z + host: "" + resp: + status_code: 201 + header: + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Type: application/json + Date: Mon, 12 Feb 2024 11:24:26 GMT + Expires: "0" + Keep-Alive: timeout=60 + Location: /api/pettypes/1 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: '{"name":"Cat","id":1}' + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + noise: + header.Access-Control-Expose-Headers: [] + header.Date: [] + result: + status_code: + normal: true + expected: 201 + actual: 201 + headers_result: + - normal: true + expected: + key: Access-Control-Expose-Headers + value: + - errors, content-type + actual: + key: Access-Control-Expose-Headers + value: + - errors, content-type + - normal: true + expected: + key: X-Xss-Protection + value: + - "0" + actual: + key: X-Xss-Protection + value: + - "0" + - normal: true + expected: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + actual: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + - normal: true + expected: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + actual: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Location + value: + - /api/pettypes/1 + actual: + key: Location + value: + - /api/pettypes/1 + - normal: true + expected: + key: X-Content-Type-Options + value: + - nosniff + actual: + key: X-Content-Type-Options + value: + - nosniff + - normal: true + expected: + key: X-Frame-Options + value: + - DENY + actual: + key: X-Frame-Options + value: + - DENY + - normal: true + expected: + key: Date + value: + - Mon, 12 Feb 2024 11:24:26 GMT + actual: + key: Date + value: + - Mon, 12 Feb 2024 11:26:36 GMT + - normal: true + expected: + key: Keep-Alive + value: + - timeout=60 + actual: + key: Keep-Alive + value: + - timeout=60 + - normal: true + expected: + key: Pragma + value: + - no-cache + actual: + key: Pragma + value: + - no-cache + - normal: true + expected: + key: Expires + value: + - "0" + actual: + key: Expires + value: + - "0" + - normal: true + expected: + key: Access-Control-Allow-Origin + value: + - '*' + actual: + key: Access-Control-Allow-Origin + value: + - '*' + - normal: true + expected: + key: Connection + value: + - keep-alive + actual: + key: Connection + value: + - keep-alive + body_result: + - normal: true + type: JSON + expected: '{"name":"Cat","id":1}' + actual: '{"name":"Cat","id":1}' + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1707737196 + completed: 1707737196 + test_case_path: /home/pranshu.linux/samples-java/spring-petclinic/spring-petclinic-rest/keploy/test-set-0 + mock_path: "" + test_case_id: test-4 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/pettypes + header: + Accept: application/json, text/plain, */* + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Connection: keep-alive + Content-Length: "24" + Content-Type: application/json + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' + Sec-Ch-Ua-Mobile: ?0 + Sec-Ch-Ua-Platform: '"macOS"' + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: '{"id":null,"name":"Dog"}' + body_type: "" + timestamp: 0001-01-01T00:00:00Z + host: "" + resp: + status_code: 201 + header: + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Type: application/json + Date: Mon, 12 Feb 2024 11:24:33 GMT + Expires: "0" + Keep-Alive: timeout=60 + Location: /api/pettypes/2 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: '{"name":"Dog","id":2}' + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + noise: + header.Access-Control-Expose-Headers: [] + header.Date: [] + result: + status_code: + normal: true + expected: 201 + actual: 201 + headers_result: + - normal: true + expected: + key: Access-Control-Expose-Headers + value: + - errors, content-type + actual: + key: Access-Control-Expose-Headers + value: + - errors, content-type + - normal: true + expected: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + actual: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + - normal: true + expected: + key: Expires + value: + - "0" + actual: + key: Expires + value: + - "0" + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: X-Content-Type-Options + value: + - nosniff + actual: + key: X-Content-Type-Options + value: + - nosniff + - normal: true + expected: + key: Location + value: + - /api/pettypes/2 + actual: + key: Location + value: + - /api/pettypes/2 + - normal: true + expected: + key: Access-Control-Allow-Origin + value: + - '*' + actual: + key: Access-Control-Allow-Origin + value: + - '*' + - normal: true + expected: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + actual: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + - normal: true + expected: + key: Connection + value: + - keep-alive + actual: + key: Connection + value: + - keep-alive + - normal: true + expected: + key: X-Frame-Options + value: + - DENY + actual: + key: X-Frame-Options + value: + - DENY + - normal: true + expected: + key: Date + value: + - Mon, 12 Feb 2024 11:24:33 GMT + actual: + key: Date + value: + - Mon, 12 Feb 2024 11:26:36 GMT + - normal: true + expected: + key: Pragma + value: + - no-cache + actual: + key: Pragma + value: + - no-cache + - normal: true + expected: + key: Keep-Alive + value: + - timeout=60 + actual: + key: Keep-Alive + value: + - timeout=60 + - normal: true + expected: + key: X-Xss-Protection + value: + - "0" + actual: + key: X-Xss-Protection + value: + - "0" + body_result: + - normal: true + type: JSON + expected: '{"name":"Dog","id":2}' + actual: '{"name":"Dog","id":2}' + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1707737196 + completed: 1707737196 + test_case_path: /home/pranshu.linux/samples-java/spring-petclinic/spring-petclinic-rest/keploy/test-set-0 + mock_path: "" + test_case_id: test-5 + req: + method: OPTIONS + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/owners + header: + Accept: '*/*' + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Access-Control-Request-Headers: content-type + Access-Control-Request-Method: POST + Connection: keep-alive + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: "" + body_type: "" + timestamp: 0001-01-01T00:00:00Z + host: "" + resp: + status_code: 200 + header: + Access-Control-Allow-Headers: content-type + Access-Control-Allow-Methods: POST + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Access-Control-Max-Age: "1800" + Allow: GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PATCH + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Length: "0" + Date: Mon, 12 Feb 2024 11:24:48 GMT + Expires: "0" + Keep-Alive: timeout=60 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: "" + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + noise: + header.Access-Control-Expose-Headers: [] + header.Access-Control-Max-Age: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Expires + value: + - "0" + actual: + key: Expires + value: + - "0" + - normal: true + expected: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + actual: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + - normal: true + expected: + key: Connection + value: + - keep-alive + actual: + key: Connection + value: + - keep-alive + - normal: true + expected: + key: Content-Length + value: + - "0" + actual: + key: Content-Length + value: + - "0" + - normal: true + expected: + key: Access-Control-Allow-Headers + value: + - content-type + actual: + key: Access-Control-Allow-Headers + value: + - content-type + - normal: true + expected: + key: Keep-Alive + value: + - timeout=60 + actual: + key: Keep-Alive + value: + - timeout=60 + - normal: true + expected: + key: Access-Control-Allow-Origin + value: + - '*' + actual: + key: Access-Control-Allow-Origin + value: + - '*' + - normal: true + expected: + key: Allow + value: + - GET + - ' HEAD' + - ' POST' + - ' PUT' + - ' DELETE' + - ' OPTIONS' + - ' TRACE' + - ' PATCH' + actual: + key: Allow + value: + - GET + - ' HEAD' + - ' POST' + - ' PUT' + - ' DELETE' + - ' OPTIONS' + - ' TRACE' + - ' PATCH' + - normal: true + expected: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + actual: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + - normal: true + expected: + key: Access-Control-Expose-Headers + value: + - errors, content-type + actual: + key: Access-Control-Expose-Headers + value: + - errors, content-type + - normal: true + expected: + key: Date + value: + - Mon, 12 Feb 2024 11:24:48 GMT + actual: + key: Date + value: + - Mon, 12 Feb 2024 11:26:36 GMT + - normal: true + expected: + key: X-Frame-Options + value: + - DENY + actual: + key: X-Frame-Options + value: + - DENY + - normal: true + expected: + key: X-Xss-Protection + value: + - "0" + actual: + key: X-Xss-Protection + value: + - "0" + - normal: true + expected: + key: X-Content-Type-Options + value: + - nosniff + actual: + key: X-Content-Type-Options + value: + - nosniff + - normal: true + expected: + key: Access-Control-Max-Age + value: + - "1800" + actual: + key: Access-Control-Max-Age + value: + - "1800" + - normal: true + expected: + key: Access-Control-Allow-Methods + value: + - POST + actual: + key: Access-Control-Allow-Methods + value: + - POST + - normal: true + expected: + key: Pragma + value: + - no-cache + actual: + key: Pragma + value: + - no-cache + body_result: + - normal: true + type: PLAIN + expected: "" + actual: "" + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1707737196 + completed: 1707737196 + test_case_path: /home/pranshu.linux/samples-java/spring-petclinic/spring-petclinic-rest/keploy/test-set-0 + mock_path: "" + test_case_id: test-6 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/owners + header: + Accept: application/json, text/plain, */* + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Connection: keep-alive + Content-Length: "138" + Content-Type: application/json + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' + Sec-Ch-Ua-Mobile: ?0 + Sec-Ch-Ua-Platform: '"macOS"' + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: '{"id":null,"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678"}' + body_type: "" + timestamp: 0001-01-01T00:00:00Z + host: "" + resp: + status_code: 201 + header: + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Type: application/json + Date: Mon, 12 Feb 2024 11:24:48 GMT + Expires: "0" + Keep-Alive: timeout=60 + Location: /api/owners/1 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: '{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}' + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + noise: + body.city: [] + header.Access-Control-Expose-Headers: [] + header.Date: [] + result: + status_code: + normal: true + expected: 201 + actual: 201 + headers_result: + - normal: true + expected: + key: Pragma + value: + - no-cache + actual: + key: Pragma + value: + - no-cache + - normal: true + expected: + key: X-Xss-Protection + value: + - "0" + actual: + key: X-Xss-Protection + value: + - "0" + - normal: true + expected: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + actual: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + - normal: true + expected: + key: X-Content-Type-Options + value: + - nosniff + actual: + key: X-Content-Type-Options + value: + - nosniff + - normal: true + expected: + key: Date + value: + - Mon, 12 Feb 2024 11:24:48 GMT + actual: + key: Date + value: + - Mon, 12 Feb 2024 11:26:36 GMT + - normal: true + expected: + key: Access-Control-Expose-Headers + value: + - errors, content-type + actual: + key: Access-Control-Expose-Headers + value: + - errors, content-type + - normal: true + expected: + key: Expires + value: + - "0" + actual: + key: Expires + value: + - "0" + - normal: true + expected: + key: Access-Control-Allow-Origin + value: + - '*' + actual: + key: Access-Control-Allow-Origin + value: + - '*' + - normal: true + expected: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + actual: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Connection + value: + - keep-alive + actual: + key: Connection + value: + - keep-alive + - normal: true + expected: + key: Location + value: + - /api/owners/1 + actual: + key: Location + value: + - /api/owners/1 + - normal: true + expected: + key: X-Frame-Options + value: + - DENY + actual: + key: X-Frame-Options + value: + - DENY + - normal: true + expected: + key: Keep-Alive + value: + - timeout=60 + actual: + key: Keep-Alive + value: + - timeout=60 + body_result: + - normal: true + type: JSON + expected: '{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}' + actual: '{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}' + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1707737196 + completed: 1707737196 + test_case_path: /home/pranshu.linux/samples-java/spring-petclinic/spring-petclinic-rest/keploy/test-set-0 + mock_path: "" + test_case_id: test-7 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/owners + header: + Accept: application/json, text/plain, */* + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Connection: keep-alive + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' + Sec-Ch-Ua-Mobile: ?0 + Sec-Ch-Ua-Platform: '"macOS"' + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: "" + body_type: "" + timestamp: 0001-01-01T00:00:00Z + host: "" + resp: + status_code: 200 + header: + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Type: application/json + Date: Mon, 12 Feb 2024 11:24:48 GMT + Expires: "0" + Keep-Alive: timeout=60 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: '[{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}]' + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + noise: + body.city: [] + header.Access-Control-Expose-Headers: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: X-Content-Type-Options + value: + - nosniff + actual: + key: X-Content-Type-Options + value: + - nosniff + - normal: true + expected: + key: Expires + value: + - "0" + actual: + key: Expires + value: + - "0" + - normal: true + expected: + key: Access-Control-Allow-Origin + value: + - '*' + actual: + key: Access-Control-Allow-Origin + value: + - '*' + - normal: true + expected: + key: Connection + value: + - keep-alive + actual: + key: Connection + value: + - keep-alive + - normal: true + expected: + key: Date + value: + - Mon, 12 Feb 2024 11:24:48 GMT + actual: + key: Date + value: + - Mon, 12 Feb 2024 11:26:36 GMT + - normal: true + expected: + key: Keep-Alive + value: + - timeout=60 + actual: + key: Keep-Alive + value: + - timeout=60 + - normal: true + expected: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + actual: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Pragma + value: + - no-cache + actual: + key: Pragma + value: + - no-cache + - normal: true + expected: + key: X-Frame-Options + value: + - DENY + actual: + key: X-Frame-Options + value: + - DENY + - normal: true + expected: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + actual: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + - normal: true + expected: + key: Access-Control-Expose-Headers + value: + - errors, content-type + actual: + key: Access-Control-Expose-Headers + value: + - errors, content-type + - normal: true + expected: + key: X-Xss-Protection + value: + - "0" + actual: + key: X-Xss-Protection + value: + - "0" + body_result: + - normal: true + type: JSON + expected: '[{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}]' + actual: '[{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}]' + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1707737196 + completed: 1707737196 + test_case_path: /home/pranshu.linux/samples-java/spring-petclinic/spring-petclinic-rest/keploy/test-set-0 + mock_path: "" + test_case_id: test-8 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/specialties + header: + Accept: application/json, text/plain, */* + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Connection: keep-alive + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' + Sec-Ch-Ua-Mobile: ?0 + Sec-Ch-Ua-Platform: '"macOS"' + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: "" + body_type: "" + timestamp: 0001-01-01T00:00:00Z + host: "" + resp: + status_code: 404 + header: + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Length: "0" + Date: Mon, 12 Feb 2024 11:24:55 GMT + Expires: "0" + Keep-Alive: timeout=60 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: "" + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + noise: + header.Access-Control-Expose-Headers: [] + header.Date: [] + result: + status_code: + normal: true + expected: 404 + actual: 404 + headers_result: + - normal: true + expected: + key: Keep-Alive + value: + - timeout=60 + actual: + key: Keep-Alive + value: + - timeout=60 + - normal: true + expected: + key: Pragma + value: + - no-cache + actual: + key: Pragma + value: + - no-cache + - normal: true + expected: + key: X-Frame-Options + value: + - DENY + actual: + key: X-Frame-Options + value: + - DENY + - normal: true + expected: + key: Access-Control-Expose-Headers + value: + - errors, content-type + actual: + key: Access-Control-Expose-Headers + value: + - errors, content-type + - normal: true + expected: + key: Expires + value: + - "0" + actual: + key: Expires + value: + - "0" + - normal: true + expected: + key: X-Xss-Protection + value: + - "0" + actual: + key: X-Xss-Protection + value: + - "0" + - normal: true + expected: + key: X-Content-Type-Options + value: + - nosniff + actual: + key: X-Content-Type-Options + value: + - nosniff + - normal: true + expected: + key: Content-Length + value: + - "0" + actual: + key: Content-Length + value: + - "0" + - normal: true + expected: + key: Date + value: + - Mon, 12 Feb 2024 11:24:55 GMT + actual: + key: Date + value: + - Mon, 12 Feb 2024 11:26:36 GMT + - normal: true + expected: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + actual: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + - normal: true + expected: + key: Access-Control-Allow-Origin + value: + - '*' + actual: + key: Access-Control-Allow-Origin + value: + - '*' + - normal: true + expected: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + actual: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + - normal: true + expected: + key: Connection + value: + - keep-alive + actual: + key: Connection + value: + - keep-alive + body_result: + - normal: true + type: PLAIN + expected: "" + actual: "" + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1707737196 + completed: 1707737196 + test_case_path: /home/pranshu.linux/samples-java/spring-petclinic/spring-petclinic-rest/keploy/test-set-0 + mock_path: "" + test_case_id: test-9 + req: + method: OPTIONS + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/vets + header: + Accept: '*/*' + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Access-Control-Request-Headers: content-type + Access-Control-Request-Method: POST + Connection: keep-alive + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: "" + body_type: "" + timestamp: 0001-01-01T00:00:00Z + host: "" + resp: + status_code: 200 + header: + Access-Control-Allow-Headers: content-type + Access-Control-Allow-Methods: POST + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Access-Control-Max-Age: "1800" + Allow: GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, PATCH + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Length: "0" + Date: Mon, 12 Feb 2024 11:25:00 GMT + Expires: "0" + Keep-Alive: timeout=60 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: "" + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + noise: + header.Access-Control-Expose-Headers: [] + header.Access-Control-Max-Age: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Keep-Alive + value: + - timeout=60 + actual: + key: Keep-Alive + value: + - timeout=60 + - normal: true + expected: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + actual: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + - normal: true + expected: + key: Date + value: + - Mon, 12 Feb 2024 11:25:00 GMT + actual: + key: Date + value: + - Mon, 12 Feb 2024 11:26:36 GMT + - normal: true + expected: + key: X-Xss-Protection + value: + - "0" + actual: + key: X-Xss-Protection + value: + - "0" + - normal: true + expected: + key: Access-Control-Allow-Headers + value: + - content-type + actual: + key: Access-Control-Allow-Headers + value: + - content-type + - normal: true + expected: + key: Access-Control-Allow-Origin + value: + - '*' + actual: + key: Access-Control-Allow-Origin + value: + - '*' + - normal: true + expected: + key: Allow + value: + - GET + - ' HEAD' + - ' POST' + - ' PUT' + - ' DELETE' + - ' OPTIONS' + - ' TRACE' + - ' PATCH' + actual: + key: Allow + value: + - GET + - ' HEAD' + - ' POST' + - ' PUT' + - ' DELETE' + - ' OPTIONS' + - ' TRACE' + - ' PATCH' + - normal: true + expected: + key: Expires + value: + - "0" + actual: + key: Expires + value: + - "0" + - normal: true + expected: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + actual: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + - normal: true + expected: + key: Connection + value: + - keep-alive + actual: + key: Connection + value: + - keep-alive + - normal: true + expected: + key: Pragma + value: + - no-cache + actual: + key: Pragma + value: + - no-cache + - normal: true + expected: + key: Access-Control-Expose-Headers + value: + - errors, content-type + actual: + key: Access-Control-Expose-Headers + value: + - errors, content-type + - normal: true + expected: + key: X-Content-Type-Options + value: + - nosniff + actual: + key: X-Content-Type-Options + value: + - nosniff + - normal: true + expected: + key: X-Frame-Options + value: + - DENY + actual: + key: X-Frame-Options + value: + - DENY + - normal: true + expected: + key: Content-Length + value: + - "0" + actual: + key: Content-Length + value: + - "0" + - normal: true + expected: + key: Access-Control-Allow-Methods + value: + - POST + actual: + key: Access-Control-Allow-Methods + value: + - POST + - normal: true + expected: + key: Access-Control-Max-Age + value: + - "1800" + actual: + key: Access-Control-Max-Age + value: + - "1800" + body_result: + - normal: true + type: PLAIN + expected: "" + actual: "" + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1707737196 + completed: 1707737196 + test_case_path: /home/pranshu.linux/samples-java/spring-petclinic/spring-petclinic-rest/keploy/test-set-0 + mock_path: "" + test_case_id: test-10 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/vets + header: + Accept: application/json, text/plain, */* + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Connection: keep-alive + Content-Length: "70" + Content-Type: application/json + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' + Sec-Ch-Ua-Mobile: ?0 + Sec-Ch-Ua-Platform: '"macOS"' + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: '{"id":null,"firstName":"Alice ","lastName":"Hopkins","specialties":[]}' + body_type: "" + timestamp: 0001-01-01T00:00:00Z + host: "" + resp: + status_code: 400 + header: + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Content-Length: "0" + Date: Mon, 12 Feb 2024 11:25:00 GMT + Errors: '[{"objectName":"vetDto","fieldName":"firstName","fieldValue":"Alice ","errorMessage":"must match \"^[a-zA-Z]*$\""}]' + Expires: "0" + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: "" + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + noise: + header.Access-Control-Expose-Headers: [] + header.Date: [] + result: + status_code: + normal: true + expected: 400 + actual: 400 + headers_result: + - normal: true + expected: + key: Expires + value: + - "0" + actual: + key: Expires + value: + - "0" + - normal: true + expected: + key: Access-Control-Allow-Origin + value: + - '*' + actual: + key: Access-Control-Allow-Origin + value: + - '*' + - normal: true + expected: + key: Errors + value: + - '[{"objectName":"vetDto"' + - '"fieldName":"firstName"' + - '"fieldValue":"Alice "' + - '"errorMessage":"must match \"^[a-zA-Z]*$\""}]' + actual: + key: Errors + value: + - '[{"objectName":"vetDto"' + - '"fieldName":"firstName"' + - '"fieldValue":"Alice "' + - '"errorMessage":"must match \"^[a-zA-Z]*$\""}]' + - normal: true + expected: + key: Pragma + value: + - no-cache + actual: + key: Pragma + value: + - no-cache + - normal: true + expected: + key: X-Content-Type-Options + value: + - nosniff + actual: + key: X-Content-Type-Options + value: + - nosniff + - normal: true + expected: + key: Content-Length + value: + - "0" + actual: + key: Content-Length + value: + - "0" + - normal: true + expected: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + actual: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + - normal: true + expected: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + actual: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + - normal: true + expected: + key: Date + value: + - Mon, 12 Feb 2024 11:25:00 GMT + actual: + key: Date + value: + - Mon, 12 Feb 2024 11:26:36 GMT + - normal: true + expected: + key: X-Frame-Options + value: + - DENY + actual: + key: X-Frame-Options + value: + - DENY + - normal: true + expected: + key: X-Xss-Protection + value: + - "0" + actual: + key: X-Xss-Protection + value: + - "0" + - normal: true + expected: + key: Access-Control-Expose-Headers + value: + - errors, content-type + actual: + key: Access-Control-Expose-Headers + value: + - errors, content-type + body_result: + - normal: true + type: PLAIN + expected: "" + actual: "" + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1707737196 + completed: 1707737196 + test_case_path: /home/pranshu.linux/samples-java/spring-petclinic/spring-petclinic-rest/keploy/test-set-0 + mock_path: "" + test_case_id: test-11 + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/owners + header: + Accept: application/json, text/plain, */* + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Connection: keep-alive + Content-Length: "155" + Content-Type: application/json + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' + Sec-Ch-Ua-Mobile: ?0 + Sec-Ch-Ua-Platform: '"macOS"' + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: '{"id":null,"firstName":"Joe","lastName":"Hopkins","address":"24th Main Street, Something Street","city":"Los Angeles, California","telephone":"9090812030"}' + body_type: "" + timestamp: 0001-01-01T00:00:00Z + host: "" + resp: + status_code: 201 + header: + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Type: application/json + Date: Mon, 12 Feb 2024 11:25:50 GMT + Expires: "0" + Keep-Alive: timeout=60 + Location: /api/owners/2 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: '{"firstName":"Joe","lastName":"Hopkins","address":"24th Main Street, Something Street","city":"Los Angeles, California","telephone":"9090812030","id":2,"pets":[]}' + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + noise: + body.telephone: [] + header.Access-Control-Expose-Headers: [] + header.Date: [] + result: + status_code: + normal: true + expected: 201 + actual: 201 + headers_result: + - normal: true + expected: + key: Keep-Alive + value: + - timeout=60 + actual: + key: Keep-Alive + value: + - timeout=60 + - normal: true + expected: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + actual: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Connection + value: + - keep-alive + actual: + key: Connection + value: + - keep-alive + - normal: true + expected: + key: Date + value: + - Mon, 12 Feb 2024 11:25:50 GMT + actual: + key: Date + value: + - Mon, 12 Feb 2024 11:26:36 GMT + - normal: true + expected: + key: Expires + value: + - "0" + actual: + key: Expires + value: + - "0" + - normal: true + expected: + key: Location + value: + - /api/owners/2 + actual: + key: Location + value: + - /api/owners/2 + - normal: true + expected: + key: X-Xss-Protection + value: + - "0" + actual: + key: X-Xss-Protection + value: + - "0" + - normal: true + expected: + key: Access-Control-Expose-Headers + value: + - errors, content-type + actual: + key: Access-Control-Expose-Headers + value: + - errors, content-type + - normal: true + expected: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + actual: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + - normal: true + expected: + key: X-Frame-Options + value: + - DENY + actual: + key: X-Frame-Options + value: + - DENY + - normal: true + expected: + key: Access-Control-Allow-Origin + value: + - '*' + actual: + key: Access-Control-Allow-Origin + value: + - '*' + - normal: true + expected: + key: X-Content-Type-Options + value: + - nosniff + actual: + key: X-Content-Type-Options + value: + - nosniff + - normal: true + expected: + key: Pragma + value: + - no-cache + actual: + key: Pragma + value: + - no-cache + body_result: + - normal: true + type: JSON + expected: '{"firstName":"Joe","lastName":"Hopkins","address":"24th Main Street, Something Street","city":"Los Angeles, California","telephone":"9090812030","id":2,"pets":[]}' + actual: '{"firstName":"Joe","lastName":"Hopkins","address":"24th Main Street, Something Street","city":"Los Angeles, California","telephone":"9090812030","id":2,"pets":[]}' + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1707737196 + completed: 1707737197 + test_case_path: /home/pranshu.linux/samples-java/spring-petclinic/spring-petclinic-rest/keploy/test-set-0 + mock_path: "" + test_case_id: test-12 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/owners + header: + Accept: application/json, text/plain, */* + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Connection: keep-alive + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' + Sec-Ch-Ua-Mobile: ?0 + Sec-Ch-Ua-Platform: '"macOS"' + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: "" + body_type: "" + timestamp: 0001-01-01T00:00:00Z + host: "" + resp: + status_code: 200 + header: + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Type: application/json + Date: Mon, 12 Feb 2024 11:25:50 GMT + Expires: "0" + Keep-Alive: timeout=60 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: '[{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]},{"firstName":"Joe","lastName":"Hopkins","address":"24th Main Street, Something Street","city":"Los Angeles, California","telephone":"9090812030","id":2,"pets":[]}]' + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + noise: + body.city: [] + body.firstName: [] + body.telephone: [] + header.Access-Control-Expose-Headers: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Access-Control-Expose-Headers + value: + - errors, content-type + actual: + key: Access-Control-Expose-Headers + value: + - errors, content-type + - normal: true + expected: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + actual: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + - normal: true + expected: + key: Expires + value: + - "0" + actual: + key: Expires + value: + - "0" + - normal: true + expected: + key: Access-Control-Allow-Origin + value: + - '*' + actual: + key: Access-Control-Allow-Origin + value: + - '*' + - normal: true + expected: + key: X-Content-Type-Options + value: + - nosniff + actual: + key: X-Content-Type-Options + value: + - nosniff + - normal: true + expected: + key: Date + value: + - Mon, 12 Feb 2024 11:25:50 GMT + actual: + key: Date + value: + - Mon, 12 Feb 2024 11:26:36 GMT + - normal: true + expected: + key: Keep-Alive + value: + - timeout=60 + actual: + key: Keep-Alive + value: + - timeout=60 + - normal: true + expected: + key: Pragma + value: + - no-cache + actual: + key: Pragma + value: + - no-cache + - normal: true + expected: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + actual: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + - normal: true + expected: + key: X-Xss-Protection + value: + - "0" + actual: + key: X-Xss-Protection + value: + - "0" + - normal: true + expected: + key: X-Frame-Options + value: + - DENY + actual: + key: X-Frame-Options + value: + - DENY + - normal: true + expected: + key: Connection + value: + - keep-alive + actual: + key: Connection + value: + - keep-alive + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + body_result: + - normal: true + type: JSON + expected: '[{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]},{"firstName":"Joe","lastName":"Hopkins","address":"24th Main Street, Something Street","city":"Los Angeles, California","telephone":"9090812030","id":2,"pets":[]}]' + actual: '[{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]},{"firstName":"Joe","lastName":"Hopkins","address":"24th Main Street, Something Street","city":"Los Angeles, California","telephone":"9090812030","id":2,"pets":[]}]' + dep_result: [] + - kind: Http + name: report-1 + status: PASSED + started: 1707737197 + completed: 1707737197 + test_case_path: /home/pranshu.linux/samples-java/spring-petclinic/spring-petclinic-rest/keploy/test-set-0 + mock_path: "" + test_case_id: test-13 + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:9966/petclinic/api/owners?lastName=Doe + url_params: + lastName: Doe + header: + Accept: application/json, text/plain, */* + Accept-Encoding: gzip, deflate, br + Accept-Language: en-US,en;q=0.9 + Connection: keep-alive + Host: localhost:9966 + Origin: http://localhost:4200 + Referer: http://localhost:4200/ + Sec-Ch-Ua: '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"' + Sec-Ch-Ua-Mobile: ?0 + Sec-Ch-Ua-Platform: '"macOS"' + Sec-Fetch-Dest: empty + Sec-Fetch-Mode: cors + Sec-Fetch-Site: same-site + User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 + body: "" + body_type: "" + timestamp: 0001-01-01T00:00:00Z + host: "" + resp: + status_code: 200 + header: + Access-Control-Allow-Origin: '*' + Access-Control-Expose-Headers: errors, content-type + Cache-Control: no-cache, no-store, max-age=0, must-revalidate + Connection: keep-alive + Content-Type: application/json + Date: Mon, 12 Feb 2024 11:25:54 GMT + Expires: "0" + Keep-Alive: timeout=60 + Pragma: no-cache + Vary: Origin,Access-Control-Request-Method,Access-Control-Request-Headers + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + X-Xss-Protection: "0" + body: '[{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}]' + body_type: "" + status_message: "" + proto_major: 0 + proto_minor: 0 + timestamp: 0001-01-01T00:00:00Z + noise: + body.city: [] + header.Access-Control-Expose-Headers: [] + header.Date: [] + result: + status_code: + normal: true + expected: 200 + actual: 200 + headers_result: + - normal: true + expected: + key: Expires + value: + - "0" + actual: + key: Expires + value: + - "0" + - normal: true + expected: + key: X-Xss-Protection + value: + - "0" + actual: + key: X-Xss-Protection + value: + - "0" + - normal: true + expected: + key: Content-Type + value: + - application/json + actual: + key: Content-Type + value: + - application/json + - normal: true + expected: + key: Date + value: + - Mon, 12 Feb 2024 11:25:54 GMT + actual: + key: Date + value: + - Mon, 12 Feb 2024 11:26:36 GMT + - normal: true + expected: + key: X-Content-Type-Options + value: + - nosniff + actual: + key: X-Content-Type-Options + value: + - nosniff + - normal: true + expected: + key: Access-Control-Allow-Origin + value: + - '*' + actual: + key: Access-Control-Allow-Origin + value: + - '*' + - normal: true + expected: + key: Keep-Alive + value: + - timeout=60 + actual: + key: Keep-Alive + value: + - timeout=60 + - normal: true + expected: + key: Connection + value: + - keep-alive + actual: + key: Connection + value: + - keep-alive + - normal: true + expected: + key: Pragma + value: + - no-cache + actual: + key: Pragma + value: + - no-cache + - normal: true + expected: + key: X-Frame-Options + value: + - DENY + actual: + key: X-Frame-Options + value: + - DENY + - normal: true + expected: + key: Access-Control-Expose-Headers + value: + - errors, content-type + actual: + key: Access-Control-Expose-Headers + value: + - errors, content-type + - normal: true + expected: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + actual: + key: Vary + value: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + - normal: true + expected: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + actual: + key: Cache-Control + value: + - no-cache + - ' no-store' + - ' max-age=0' + - ' must-revalidate' + body_result: + - normal: true + type: JSON + expected: '[{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}]' + actual: '[{"firstName":"John","lastName":"Doe","address":"14th Main Street, Royal Street","city":"London, England","telephone":"12345678","id":1,"pets":[]}]' + dep_result: [] +test_set: test-set-0 From 6eaa29190db8a096b0ce1a664a57520f26e29948 Mon Sep 17 00:00:00 2001 From: Swapnoneel Saha <121167506+Swpn0neel@users.noreply.github.com> Date: Thu, 27 Jun 2024 13:11:24 +0530 Subject: [PATCH 2/9] Updated README (#71) * Updated README Signed-off-by: Swapnoneel Saha * fixed some README issues Signed-off-by: Swapnoneel Saha * fixed the Slack URL Signed-off-by: Swapnoneel Saha --------- Signed-off-by: Swapnoneel Saha Signed-off-by: Akash Jaiswal --- README.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 81b0284a..eaf45c03 100644 --- a/README.md +++ b/README.md @@ -13,27 +13,29 @@ This repo contains the sample for [Keploy's](https://keploy.io) Java Application. Please feel free to contribute if you'd like submit a sample for another use-case or library. ->**Note** :- Issue Creation is disabled on this Repository, please visit [here](https://github.com/keploy/keploy/issues/new/choose) to submit Issue. +> **Note** :- Issue Creation is disabled on this Repository, please visit [here](https://github.com/keploy/keploy/issues/new/choose) to submit Issue. +## Java Sample Apps with Keploy -## Sample Apps with Keploy - -1. [employee-manager](https://github.com/keploy/samples-java/tree/main/employee-manager) -2. [spring-boot-mongo](https://github.com/keploy/samples-java/tree/main/spring-boot-mongo) -3. [user-manager](https://github.com/keploy/samples-java/tree/main/user-manager) -4. [spring-boot-postgres-graphql](https://github.com/keploy/samples-java/tree/main/spring-boot-postgres-graphql) +1. [Employee Manager](https://github.com/keploy/samples-java/tree/main/employee-manager) - A sample Employee-Manager app to test Keploy integration capabilities using SpringBoot and PostgreSQL. +2. [Springboot MongoDB](https://github.com/keploy/samples-java/tree/main/spring-boot-mongo) - The application is built purely with Java Spring-Boot that does the complete CRUD in the MongoDB database. This CRUD Application is about managing the data of Magical Potions in the Keploy inventory. +3. [User Manager](https://github.com/keploy/samples-java/tree/main/user-manager) - A sample User-Manager app to test Keploy integration capabilities using SpringBoot and MongoDB. +4. [Springboot Postgres GraphQL](https://github.com/keploy/samples-java/tree/main/spring-boot-postgres-graphql) - This is a Spring Boot application implementing a GraphQL service to handle requests related to books and authors. +5. [Springboot PetClinic](https://github.com/keploy/samples-java/tree/main/spring-petclinic) - This is a Pet Clinic app where you can record testcases and mocks by interacting with the UI, and then test them using Keploy. ## Community Support ❤️ ### 🤔 Questions? + Reach out to us. We're here to help! -[![Slack](https://img.shields.io/badge/Slack-4A154B?style=for-the-badge&logo=slack&logoColor=white)](https://join.slack.com/t/keploy/shared_invite/zt-12rfbvc01-o54cOG0X1G6eVJTuI_orSA) +[![Slack](https://img.shields.io/badge/Slack-4A154B?style=for-the-badge&logo=slack&logoColor=white)](https://join.slack.com/t/keploy/shared_invite/zt-2dno1yetd-Ec3el~tTwHYIHgGI0jPe7A) [![LinkedIn](https://img.shields.io/badge/linkedin-%230077B5.svg?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/company/keploy/) [![YouTube](https://img.shields.io/badge/YouTube-%23FF0000.svg?style=for-the-badge&logo=YouTube&logoColor=white)](https://www.youtube.com/channel/UC6OTg7F4o0WkmNtSoob34lg) [![Twitter](https://img.shields.io/badge/Twitter-%231DA1F2.svg?style=for-the-badge&logo=Twitter&logoColor=white)](https://twitter.com/Keployio) ### 💖 Let's Build Together! + Whether you're a newbie coder or a wizard 🧙‍♀️, your perspective is golden. Take a peek at our: 📜 [Contribution Guidelines](https://github.com/keploy/keploy/blob/main/CONTRIBUTING.md) From 1213a41ec243dc6dc47de32038fe62c6469334d6 Mon Sep 17 00:00:00 2001 From: Shubham Jain Date: Sun, 30 Jun 2024 20:14:53 +0530 Subject: [PATCH 3/9] chore: update the ca.cert url (#72) Signed-off-by: Akash Jaiswal --- spring-petclinic/spring-petclinic-rest/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-petclinic/spring-petclinic-rest/Dockerfile b/spring-petclinic/spring-petclinic-rest/Dockerfile index 41108ae6..bec7fb7f 100644 --- a/spring-petclinic/spring-petclinic-rest/Dockerfile +++ b/spring-petclinic/spring-petclinic-rest/Dockerfile @@ -17,13 +17,13 @@ RUN mvn clean install -Dmaven.test.skip=true EXPOSE 9966 # Download the ca.crt file -RUN curl -o ca.crt https://raw.githubusercontent.com/keploy/keploy/main/pkg/proxy/asset/ca.crt +RUN curl -o ca.crt https://raw.githubusercontent.com/keploy/keploy/main/pkg/core/proxy/asset/ca.crt -RUN curl -o setup_ca.sh https://raw.githubusercontent.com/keploy/keploy/main/pkg/proxy/asset/setup_ca.sh +RUN curl -o setup_ca.sh https://raw.githubusercontent.com/keploy/keploy/main/pkg/core/proxy/asset/setup_ca.sh # Give execute permission to the setup_ca.sh script RUN chmod +x setup_ca.sh # Run the application when the container launches # CMD ["java", "-jar", ""] -CMD ["/bin/bash", "-c", "source ./setup_ca.sh && java -jar target/spring-petclinic-rest-3.0.2.jar"] \ No newline at end of file +CMD ["/bin/bash", "-c", "source ./setup_ca.sh && java -jar target/spring-petclinic-rest-3.0.2.jar"] From 8c233e3e517e70e95a2dc587cbc95f20a3327ca8 Mon Sep 17 00:00:00 2001 From: Akash Jaiswal Date: Fri, 19 Jul 2024 16:52:43 +0530 Subject: [PATCH 4/9] init Signed-off-by: Akash Jaiswal --- .DS_Store | Bin 0 -> 10244 bytes spring-boot-jwt/.DS_Store | Bin 0 -> 6148 bytes spring-boot-jwt/.gitignore | 33 +++ .../.mvn/wrapper/maven-wrapper.properties | 19 ++ spring-boot-jwt/mvnw | 259 ++++++++++++++++++ spring-boot-jwt/mvnw.cmd | 149 ++++++++++ spring-boot-jwt/pom.xml | 99 +++++++ spring-boot-jwt/src/.DS_Store | Bin 0 -> 6148 bytes .../com/akash/springboot/jwt/Application.java | 13 + .../src/main/resources/application.properties | 1 + .../springboot/jwt/ApplicationTests.java | 13 + 11 files changed, 586 insertions(+) create mode 100644 .DS_Store create mode 100644 spring-boot-jwt/.DS_Store create mode 100644 spring-boot-jwt/.gitignore create mode 100644 spring-boot-jwt/.mvn/wrapper/maven-wrapper.properties create mode 100755 spring-boot-jwt/mvnw create mode 100644 spring-boot-jwt/mvnw.cmd create mode 100644 spring-boot-jwt/pom.xml create mode 100644 spring-boot-jwt/src/.DS_Store create mode 100644 spring-boot-jwt/src/main/java/com/akash/springboot/jwt/Application.java create mode 100644 spring-boot-jwt/src/main/resources/application.properties create mode 100644 spring-boot-jwt/src/test/java/com/akash/springboot/jwt/ApplicationTests.java diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..8649bf051c2bee335c3f8090d9a95df8ee60ce24 GIT binary patch literal 10244 zcmeI1PiqrF7{;H8skXGVQP7jZq86msYA+sT+onnnR6}X-T?ilTzy`dJx2K z;K2_dh#x?Zp8NnFJo@Jw=)sc*eP(Bp%p~1p(~2m}!0tOc`#v+Xzj=2yGXWrGw^yeD z55OP~X;ULS?UUqvd32%W=qHd0&-`I#V@mdIA{NgWHCR-{m9O#IHOV~uxYn5YVzg(zg#wZ#Fo_(6xB=qqDfY@YqFug||tD z-;eI!6L3DXctq+f4g;S*bZf(W{jpvW7+k8Xg_*>6=bdOze$q{e_905nb5$J=! z5#{U2{r`D>*dzY`@1sWN>IgUj{~H03OfRKp*=rHebGg^<@p!;PCh1pKHk9xbZpYJx z+wr`R+wm88NZ-rS%EY{{ZCzQGF#YvE1Gu+g{fc($|JKe=bFaf9lMfW5h1iI z*<&2 + echo "JAVA_HOME is set to \"$JAVA_HOME\", but \"\$JAVA_HOME/bin/java\" or \"\$JAVA_HOME/bin/javac\" does not exist." >&2 + return 1 + fi + fi + else + JAVACMD="$( + 'set' +e + 'unset' -f command 2>/dev/null + 'command' -v java + )" || : + JAVACCMD="$( + 'set' +e + 'unset' -f command 2>/dev/null + 'command' -v javac + )" || : + + if [ ! -x "${JAVACMD-}" ] || [ ! -x "${JAVACCMD-}" ]; then + echo "The java/javac command does not exist in PATH nor is JAVA_HOME set, so mvnw cannot run." >&2 + return 1 + fi + fi +} + +# hash string like Java String::hashCode +hash_string() { + str="${1:-}" h=0 + while [ -n "$str" ]; do + char="${str%"${str#?}"}" + h=$(((h * 31 + $(LC_CTYPE=C printf %d "'$char")) % 4294967296)) + str="${str#?}" + done + printf %x\\n $h +} + +verbose() { :; } +[ "${MVNW_VERBOSE-}" != true ] || verbose() { printf %s\\n "${1-}"; } + +die() { + printf %s\\n "$1" >&2 + exit 1 +} + +trim() { + # MWRAPPER-139: + # Trims trailing and leading whitespace, carriage returns, tabs, and linefeeds. + # Needed for removing poorly interpreted newline sequences when running in more + # exotic environments such as mingw bash on Windows. + printf "%s" "${1}" | tr -d '[:space:]' +} + +# parse distributionUrl and optional distributionSha256Sum, requires .mvn/wrapper/maven-wrapper.properties +while IFS="=" read -r key value; do + case "${key-}" in + distributionUrl) distributionUrl=$(trim "${value-}") ;; + distributionSha256Sum) distributionSha256Sum=$(trim "${value-}") ;; + esac +done <"${0%/*}/.mvn/wrapper/maven-wrapper.properties" +[ -n "${distributionUrl-}" ] || die "cannot read distributionUrl property in ${0%/*}/.mvn/wrapper/maven-wrapper.properties" + +case "${distributionUrl##*/}" in +maven-mvnd-*bin.*) + MVN_CMD=mvnd.sh _MVNW_REPO_PATTERN=/maven/mvnd/ + case "${PROCESSOR_ARCHITECTURE-}${PROCESSOR_ARCHITEW6432-}:$(uname -a)" in + *AMD64:CYGWIN* | *AMD64:MINGW*) distributionPlatform=windows-amd64 ;; + :Darwin*x86_64) distributionPlatform=darwin-amd64 ;; + :Darwin*arm64) distributionPlatform=darwin-aarch64 ;; + :Linux*x86_64*) distributionPlatform=linux-amd64 ;; + *) + echo "Cannot detect native platform for mvnd on $(uname)-$(uname -m), use pure java version" >&2 + distributionPlatform=linux-amd64 + ;; + esac + distributionUrl="${distributionUrl%-bin.*}-$distributionPlatform.zip" + ;; +maven-mvnd-*) MVN_CMD=mvnd.sh _MVNW_REPO_PATTERN=/maven/mvnd/ ;; +*) MVN_CMD="mvn${0##*/mvnw}" _MVNW_REPO_PATTERN=/org/apache/maven/ ;; +esac + +# apply MVNW_REPOURL and calculate MAVEN_HOME +# maven home pattern: ~/.m2/wrapper/dists/{apache-maven-,maven-mvnd--}/ +[ -z "${MVNW_REPOURL-}" ] || distributionUrl="$MVNW_REPOURL$_MVNW_REPO_PATTERN${distributionUrl#*"$_MVNW_REPO_PATTERN"}" +distributionUrlName="${distributionUrl##*/}" +distributionUrlNameMain="${distributionUrlName%.*}" +distributionUrlNameMain="${distributionUrlNameMain%-bin}" +MAVEN_USER_HOME="${MAVEN_USER_HOME:-${HOME}/.m2}" +MAVEN_HOME="${MAVEN_USER_HOME}/wrapper/dists/${distributionUrlNameMain-}/$(hash_string "$distributionUrl")" + +exec_maven() { + unset MVNW_VERBOSE MVNW_USERNAME MVNW_PASSWORD MVNW_REPOURL || : + exec "$MAVEN_HOME/bin/$MVN_CMD" "$@" || die "cannot exec $MAVEN_HOME/bin/$MVN_CMD" +} + +if [ -d "$MAVEN_HOME" ]; then + verbose "found existing MAVEN_HOME at $MAVEN_HOME" + exec_maven "$@" +fi + +case "${distributionUrl-}" in +*?-bin.zip | *?maven-mvnd-?*-?*.zip) ;; +*) die "distributionUrl is not valid, must match *-bin.zip or maven-mvnd-*.zip, but found '${distributionUrl-}'" ;; +esac + +# prepare tmp dir +if TMP_DOWNLOAD_DIR="$(mktemp -d)" && [ -d "$TMP_DOWNLOAD_DIR" ]; then + clean() { rm -rf -- "$TMP_DOWNLOAD_DIR"; } + trap clean HUP INT TERM EXIT +else + die "cannot create temp dir" +fi + +mkdir -p -- "${MAVEN_HOME%/*}" + +# Download and Install Apache Maven +verbose "Couldn't find MAVEN_HOME, downloading and installing it ..." +verbose "Downloading from: $distributionUrl" +verbose "Downloading to: $TMP_DOWNLOAD_DIR/$distributionUrlName" + +# select .zip or .tar.gz +if ! command -v unzip >/dev/null; then + distributionUrl="${distributionUrl%.zip}.tar.gz" + distributionUrlName="${distributionUrl##*/}" +fi + +# verbose opt +__MVNW_QUIET_WGET=--quiet __MVNW_QUIET_CURL=--silent __MVNW_QUIET_UNZIP=-q __MVNW_QUIET_TAR='' +[ "${MVNW_VERBOSE-}" != true ] || __MVNW_QUIET_WGET='' __MVNW_QUIET_CURL='' __MVNW_QUIET_UNZIP='' __MVNW_QUIET_TAR=v + +# normalize http auth +case "${MVNW_PASSWORD:+has-password}" in +'') MVNW_USERNAME='' MVNW_PASSWORD='' ;; +has-password) [ -n "${MVNW_USERNAME-}" ] || MVNW_USERNAME='' MVNW_PASSWORD='' ;; +esac + +if [ -z "${MVNW_USERNAME-}" ] && command -v wget >/dev/null; then + verbose "Found wget ... using wget" + wget ${__MVNW_QUIET_WGET:+"$__MVNW_QUIET_WGET"} "$distributionUrl" -O "$TMP_DOWNLOAD_DIR/$distributionUrlName" || die "wget: Failed to fetch $distributionUrl" +elif [ -z "${MVNW_USERNAME-}" ] && command -v curl >/dev/null; then + verbose "Found curl ... using curl" + curl ${__MVNW_QUIET_CURL:+"$__MVNW_QUIET_CURL"} -f -L -o "$TMP_DOWNLOAD_DIR/$distributionUrlName" "$distributionUrl" || die "curl: Failed to fetch $distributionUrl" +elif set_java_home; then + verbose "Falling back to use Java to download" + javaSource="$TMP_DOWNLOAD_DIR/Downloader.java" + targetZip="$TMP_DOWNLOAD_DIR/$distributionUrlName" + cat >"$javaSource" <<-END + public class Downloader extends java.net.Authenticator + { + protected java.net.PasswordAuthentication getPasswordAuthentication() + { + return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() ); + } + public static void main( String[] args ) throws Exception + { + setDefault( new Downloader() ); + java.nio.file.Files.copy( java.net.URI.create( args[0] ).toURL().openStream(), java.nio.file.Paths.get( args[1] ).toAbsolutePath().normalize() ); + } + } + END + # For Cygwin/MinGW, switch paths to Windows format before running javac and java + verbose " - Compiling Downloader.java ..." + "$(native_path "$JAVACCMD")" "$(native_path "$javaSource")" || die "Failed to compile Downloader.java" + verbose " - Running Downloader.java ..." + "$(native_path "$JAVACMD")" -cp "$(native_path "$TMP_DOWNLOAD_DIR")" Downloader "$distributionUrl" "$(native_path "$targetZip")" +fi + +# If specified, validate the SHA-256 sum of the Maven distribution zip file +if [ -n "${distributionSha256Sum-}" ]; then + distributionSha256Result=false + if [ "$MVN_CMD" = mvnd.sh ]; then + echo "Checksum validation is not supported for maven-mvnd." >&2 + echo "Please disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." >&2 + exit 1 + elif command -v sha256sum >/dev/null; then + if echo "$distributionSha256Sum $TMP_DOWNLOAD_DIR/$distributionUrlName" | sha256sum -c >/dev/null 2>&1; then + distributionSha256Result=true + fi + elif command -v shasum >/dev/null; then + if echo "$distributionSha256Sum $TMP_DOWNLOAD_DIR/$distributionUrlName" | shasum -a 256 -c >/dev/null 2>&1; then + distributionSha256Result=true + fi + else + echo "Checksum validation was requested but neither 'sha256sum' or 'shasum' are available." >&2 + echo "Please install either command, or disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." >&2 + exit 1 + fi + if [ $distributionSha256Result = false ]; then + echo "Error: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised." >&2 + echo "If you updated your Maven version, you need to update the specified distributionSha256Sum property." >&2 + exit 1 + fi +fi + +# unzip and move +if command -v unzip >/dev/null; then + unzip ${__MVNW_QUIET_UNZIP:+"$__MVNW_QUIET_UNZIP"} "$TMP_DOWNLOAD_DIR/$distributionUrlName" -d "$TMP_DOWNLOAD_DIR" || die "failed to unzip" +else + tar xzf${__MVNW_QUIET_TAR:+"$__MVNW_QUIET_TAR"} "$TMP_DOWNLOAD_DIR/$distributionUrlName" -C "$TMP_DOWNLOAD_DIR" || die "failed to untar" +fi +printf %s\\n "$distributionUrl" >"$TMP_DOWNLOAD_DIR/$distributionUrlNameMain/mvnw.url" +mv -- "$TMP_DOWNLOAD_DIR/$distributionUrlNameMain" "$MAVEN_HOME" || [ -d "$MAVEN_HOME" ] || die "fail to move MAVEN_HOME" + +clean || : +exec_maven "$@" diff --git a/spring-boot-jwt/mvnw.cmd b/spring-boot-jwt/mvnw.cmd new file mode 100644 index 00000000..6f779cff --- /dev/null +++ b/spring-boot-jwt/mvnw.cmd @@ -0,0 +1,149 @@ +<# : batch portion +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Apache Maven Wrapper startup batch script, version 3.3.2 +@REM +@REM Optional ENV vars +@REM MVNW_REPOURL - repo url base for downloading maven distribution +@REM MVNW_USERNAME/MVNW_PASSWORD - user and password for downloading maven +@REM MVNW_VERBOSE - true: enable verbose log; others: silence the output +@REM ---------------------------------------------------------------------------- + +@IF "%__MVNW_ARG0_NAME__%"=="" (SET __MVNW_ARG0_NAME__=%~nx0) +@SET __MVNW_CMD__= +@SET __MVNW_ERROR__= +@SET __MVNW_PSMODULEP_SAVE=%PSModulePath% +@SET PSModulePath= +@FOR /F "usebackq tokens=1* delims==" %%A IN (`powershell -noprofile "& {$scriptDir='%~dp0'; $script='%__MVNW_ARG0_NAME__%'; icm -ScriptBlock ([Scriptblock]::Create((Get-Content -Raw '%~f0'))) -NoNewScope}"`) DO @( + IF "%%A"=="MVN_CMD" (set __MVNW_CMD__=%%B) ELSE IF "%%B"=="" (echo %%A) ELSE (echo %%A=%%B) +) +@SET PSModulePath=%__MVNW_PSMODULEP_SAVE% +@SET __MVNW_PSMODULEP_SAVE= +@SET __MVNW_ARG0_NAME__= +@SET MVNW_USERNAME= +@SET MVNW_PASSWORD= +@IF NOT "%__MVNW_CMD__%"=="" (%__MVNW_CMD__% %*) +@echo Cannot start maven from wrapper >&2 && exit /b 1 +@GOTO :EOF +: end batch / begin powershell #> + +$ErrorActionPreference = "Stop" +if ($env:MVNW_VERBOSE -eq "true") { + $VerbosePreference = "Continue" +} + +# calculate distributionUrl, requires .mvn/wrapper/maven-wrapper.properties +$distributionUrl = (Get-Content -Raw "$scriptDir/.mvn/wrapper/maven-wrapper.properties" | ConvertFrom-StringData).distributionUrl +if (!$distributionUrl) { + Write-Error "cannot read distributionUrl property in $scriptDir/.mvn/wrapper/maven-wrapper.properties" +} + +switch -wildcard -casesensitive ( $($distributionUrl -replace '^.*/','') ) { + "maven-mvnd-*" { + $USE_MVND = $true + $distributionUrl = $distributionUrl -replace '-bin\.[^.]*$',"-windows-amd64.zip" + $MVN_CMD = "mvnd.cmd" + break + } + default { + $USE_MVND = $false + $MVN_CMD = $script -replace '^mvnw','mvn' + break + } +} + +# apply MVNW_REPOURL and calculate MAVEN_HOME +# maven home pattern: ~/.m2/wrapper/dists/{apache-maven-,maven-mvnd--}/ +if ($env:MVNW_REPOURL) { + $MVNW_REPO_PATTERN = if ($USE_MVND) { "/org/apache/maven/" } else { "/maven/mvnd/" } + $distributionUrl = "$env:MVNW_REPOURL$MVNW_REPO_PATTERN$($distributionUrl -replace '^.*'+$MVNW_REPO_PATTERN,'')" +} +$distributionUrlName = $distributionUrl -replace '^.*/','' +$distributionUrlNameMain = $distributionUrlName -replace '\.[^.]*$','' -replace '-bin$','' +$MAVEN_HOME_PARENT = "$HOME/.m2/wrapper/dists/$distributionUrlNameMain" +if ($env:MAVEN_USER_HOME) { + $MAVEN_HOME_PARENT = "$env:MAVEN_USER_HOME/wrapper/dists/$distributionUrlNameMain" +} +$MAVEN_HOME_NAME = ([System.Security.Cryptography.MD5]::Create().ComputeHash([byte[]][char[]]$distributionUrl) | ForEach-Object {$_.ToString("x2")}) -join '' +$MAVEN_HOME = "$MAVEN_HOME_PARENT/$MAVEN_HOME_NAME" + +if (Test-Path -Path "$MAVEN_HOME" -PathType Container) { + Write-Verbose "found existing MAVEN_HOME at $MAVEN_HOME" + Write-Output "MVN_CMD=$MAVEN_HOME/bin/$MVN_CMD" + exit $? +} + +if (! $distributionUrlNameMain -or ($distributionUrlName -eq $distributionUrlNameMain)) { + Write-Error "distributionUrl is not valid, must end with *-bin.zip, but found $distributionUrl" +} + +# prepare tmp dir +$TMP_DOWNLOAD_DIR_HOLDER = New-TemporaryFile +$TMP_DOWNLOAD_DIR = New-Item -Itemtype Directory -Path "$TMP_DOWNLOAD_DIR_HOLDER.dir" +$TMP_DOWNLOAD_DIR_HOLDER.Delete() | Out-Null +trap { + if ($TMP_DOWNLOAD_DIR.Exists) { + try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null } + catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" } + } +} + +New-Item -Itemtype Directory -Path "$MAVEN_HOME_PARENT" -Force | Out-Null + +# Download and Install Apache Maven +Write-Verbose "Couldn't find MAVEN_HOME, downloading and installing it ..." +Write-Verbose "Downloading from: $distributionUrl" +Write-Verbose "Downloading to: $TMP_DOWNLOAD_DIR/$distributionUrlName" + +$webclient = New-Object System.Net.WebClient +if ($env:MVNW_USERNAME -and $env:MVNW_PASSWORD) { + $webclient.Credentials = New-Object System.Net.NetworkCredential($env:MVNW_USERNAME, $env:MVNW_PASSWORD) +} +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 +$webclient.DownloadFile($distributionUrl, "$TMP_DOWNLOAD_DIR/$distributionUrlName") | Out-Null + +# If specified, validate the SHA-256 sum of the Maven distribution zip file +$distributionSha256Sum = (Get-Content -Raw "$scriptDir/.mvn/wrapper/maven-wrapper.properties" | ConvertFrom-StringData).distributionSha256Sum +if ($distributionSha256Sum) { + if ($USE_MVND) { + Write-Error "Checksum validation is not supported for maven-mvnd. `nPlease disable validation by removing 'distributionSha256Sum' from your maven-wrapper.properties." + } + Import-Module $PSHOME\Modules\Microsoft.PowerShell.Utility -Function Get-FileHash + if ((Get-FileHash "$TMP_DOWNLOAD_DIR/$distributionUrlName" -Algorithm SHA256).Hash.ToLower() -ne $distributionSha256Sum) { + Write-Error "Error: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised. If you updated your Maven version, you need to update the specified distributionSha256Sum property." + } +} + +# unzip and move +Expand-Archive "$TMP_DOWNLOAD_DIR/$distributionUrlName" -DestinationPath "$TMP_DOWNLOAD_DIR" | Out-Null +Rename-Item -Path "$TMP_DOWNLOAD_DIR/$distributionUrlNameMain" -NewName $MAVEN_HOME_NAME | Out-Null +try { + Move-Item -Path "$TMP_DOWNLOAD_DIR/$MAVEN_HOME_NAME" -Destination $MAVEN_HOME_PARENT | Out-Null +} catch { + if (! (Test-Path -Path "$MAVEN_HOME" -PathType Container)) { + Write-Error "fail to move MAVEN_HOME" + } +} finally { + try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null } + catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" } +} + +Write-Output "MVN_CMD=$MAVEN_HOME/bin/$MVN_CMD" diff --git a/spring-boot-jwt/pom.xml b/spring-boot-jwt/pom.xml new file mode 100644 index 00000000..e0b851c0 --- /dev/null +++ b/spring-boot-jwt/pom.xml @@ -0,0 +1,99 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.4.0-SNAPSHOT + + + com.akash + springboot.jwt + 0.0.1-SNAPSHOT + springboot.jwt + Keploy Java Sample - JWT with Java and Spring Boot + + + + + + + + + + + + + + + 22 + + + + org.springframework.boot + spring-boot-starter-security + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework.security + spring-security-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/snapshot + + false + + + + + + spring-milestones + Spring Milestones + https://repo.spring.io/milestone + + false + + + + spring-snapshots + Spring Snapshots + https://repo.spring.io/snapshot + + false + + + + + diff --git a/spring-boot-jwt/src/.DS_Store b/spring-boot-jwt/src/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..1ee3df4528aa7f67bae08593946cf0fd776a391e GIT binary patch literal 6148 zcmeHK!A`?447H($NnCd17zyzK`-3o*FW7}6j3Gc;=_JOzU&jaVMZ6aq)QFBFLSReD zbL=>7U)4Af5naA)79w*InV}Jt%7oB7={oYsbSl@_-Y-_SeYcxfutY=jWK8W{Pm*tZ@%^K9>&}xgd*==?&MkabzXTJ`wr&y*sed2*Zp-~ ze&>*2AQ%V+f`Na|0BSa6c48QPFc1s`1D_0Ve@JM=>^K;ftpi=T0stGBi$E`DOkkn` zm>ma0SRiVlKnqpBVyK0~o_t<*91Ja7v}DFQp84bQqJF~FRHln&!{~#7V4!B;*oJe~ z|4aNzlb8HDBu2qNF!0A1(579rOT3iV)-SKeTAR?W(I}iZP=P=%r5IRBF$Ua6PK(q0 ai8}n*aWLd6w3l#T90Up>(FFrPz`#534m&>p literal 0 HcmV?d00001 diff --git a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/Application.java b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/Application.java new file mode 100644 index 00000000..2ed08396 --- /dev/null +++ b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/Application.java @@ -0,0 +1,13 @@ +package com.akash.springboot.jwt; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class Application { + + public static void main(String[] args) { + SpringApplication.run(Application.class, args); + } + +} diff --git a/spring-boot-jwt/src/main/resources/application.properties b/spring-boot-jwt/src/main/resources/application.properties new file mode 100644 index 00000000..e84ee73d --- /dev/null +++ b/spring-boot-jwt/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=springboot.jwt diff --git a/spring-boot-jwt/src/test/java/com/akash/springboot/jwt/ApplicationTests.java b/spring-boot-jwt/src/test/java/com/akash/springboot/jwt/ApplicationTests.java new file mode 100644 index 00000000..c50961c6 --- /dev/null +++ b/spring-boot-jwt/src/test/java/com/akash/springboot/jwt/ApplicationTests.java @@ -0,0 +1,13 @@ +package com.akash.springboot.jwt; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class ApplicationTests { + + @Test + void contextLoads() { + } + +} From 3c9cebeb152003f73b7ee3362e99416d1ae3ddbd Mon Sep 17 00:00:00 2001 From: amitpanwar789 Date: Sun, 21 Jul 2024 00:24:58 +0530 Subject: [PATCH 5/9] userController added for login and token verification Signed-off-by: Akash Jaiswal --- .../akash/springboot/jwt/UserController.java | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java diff --git a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java new file mode 100644 index 00000000..b86b9883 --- /dev/null +++ b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java @@ -0,0 +1,42 @@ +package com.akash.springboot.jwt; + +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import java.util.HashMap; +import java.util.Map; + +@RestController +@RequestMapping("/users") +public class UserController { + + private Map users = new HashMap<>(); + + @PostMapping("/login") + public ResponseEntity login(@RequestBody Map user) { + String username = user.get("username"); + String password = user.get("password"); + users.put(username, password); + + // TODO: Generate JWT token + + Map response = new HashMap<>(); + response.put("token", "demo-token"); + + return ResponseEntity.ok(response); + } + + + @PostMapping("/tokenAuthentication") + public ResponseEntity tokenAuthentication(@RequestBody Map request) { + String token = request.get("token"); + + //TODO: Validate token + boolean isValid = true; + + Map response = new HashMap<>(); + response.put("isValid", isValid); + + return ResponseEntity.ok(response); + } +} \ No newline at end of file From 951563ace793266aa888fa73f6ccff0e8dd45c62 Mon Sep 17 00:00:00 2001 From: amitpanwar789 Date: Tue, 23 Jul 2024 19:58:58 +0530 Subject: [PATCH 6/9] jwt added Signed-off-by: Akash Jaiswal --- spring-boot-jwt/pom.xml | 8 ++--- .../com/akash/springboot/jwt/JwtUtil.java | 32 +++++++++++++++++++ .../akash/springboot/jwt/UserController.java | 18 +++++++---- 3 files changed, 48 insertions(+), 10 deletions(-) create mode 100644 spring-boot-jwt/src/main/java/com/akash/springboot/jwt/JwtUtil.java diff --git a/spring-boot-jwt/pom.xml b/spring-boot-jwt/pom.xml index e0b851c0..cb3a9383 100644 --- a/spring-boot-jwt/pom.xml +++ b/spring-boot-jwt/pom.xml @@ -45,10 +45,10 @@ test - org.springframework.security - spring-security-test - test - + io.jsonwebtoken + jjwt + 0.9.1 + diff --git a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/JwtUtil.java b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/JwtUtil.java new file mode 100644 index 00000000..86df692e --- /dev/null +++ b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/JwtUtil.java @@ -0,0 +1,32 @@ +package com.akash.springboot.jwt; + +import io.jsonwebtoken.Jwts; +import io.jsonwebtoken.SignatureAlgorithm; +import io.jsonwebtoken.SignatureException; +import org.springframework.stereotype.Component; + +import java.util.Date; + +@Component +public class JwtUtil { + + private static final String SECRET_KEY = "your_secret_key"; + + public String generateToken(String username) { + return Jwts.builder() + .setSubject(username) + .setIssuedAt(new Date()) + .setExpiration(new Date(System.currentTimeMillis() + 86400000)) // 1 day expiration + .signWith(SignatureAlgorithm.HS256, SECRET_KEY) + .compact(); + } + + public boolean validateToken(String token) { + try { + Jwts.parser().setSigningKey(SECRET_KEY).parseClaimsJws(token); + return true; + } catch (SignatureException e) { + return false; + } + } +} diff --git a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java index b86b9883..6e8651b7 100644 --- a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java +++ b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java @@ -1,5 +1,7 @@ package com.akash.springboot.jwt; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; @@ -12,6 +14,9 @@ public class UserController { private Map users = new HashMap<>(); + @Autowired + private JwtUtil jwtUtil; + @PostMapping("/login") public ResponseEntity login(@RequestBody Map user) { String username = user.get("username"); @@ -19,11 +24,12 @@ public ResponseEntity login(@RequestBody Map user) { users.put(username, password); // TODO: Generate JWT token + String token = jwtUtil.generateToken(username); Map response = new HashMap<>(); - response.put("token", "demo-token"); - - return ResponseEntity.ok(response); + response.put("token", token); + System.err.println(token); + return new ResponseEntity<>(response, HttpStatus.OK); } @@ -32,11 +38,11 @@ public ResponseEntity tokenAuthentication(@RequestBody Map re String token = request.get("token"); //TODO: Validate token - boolean isValid = true; + boolean isValid = jwtUtil.validateToken(token); Map response = new HashMap<>(); response.put("isValid", isValid); - - return ResponseEntity.ok(response); + System.err.println(isValid); + return new ResponseEntity<>(response, HttpStatus.OK); } } \ No newline at end of file From 90d7ae6708e90be28e11ff76515892becf0eeb0f Mon Sep 17 00:00:00 2001 From: amitpanwar789 Date: Wed, 24 Jul 2024 15:10:53 +0530 Subject: [PATCH 7/9] jwt generation and validation working Signed-off-by: Akash Jaiswal --- spring-boot-jwt/pom.xml | 13 ++++++------ .../com/akash/springboot/jwt/JwtUtil.java | 7 +++++-- .../akash/springboot/jwt/UserController.java | 21 +++++++++++++------ .../springboot/jwt/tempCodeRunnerFile.java | 1 + .../src/main/resources/application.properties | 1 + 5 files changed, 29 insertions(+), 14 deletions(-) create mode 100644 spring-boot-jwt/src/main/java/com/akash/springboot/jwt/tempCodeRunnerFile.java diff --git a/spring-boot-jwt/pom.xml b/spring-boot-jwt/pom.xml index cb3a9383..c544af3b 100644 --- a/spring-boot-jwt/pom.xml +++ b/spring-boot-jwt/pom.xml @@ -27,13 +27,9 @@ - 22 + 17 - - org.springframework.boot - spring-boot-starter-security - org.springframework.boot spring-boot-starter-web @@ -48,7 +44,12 @@ io.jsonwebtoken jjwt 0.9.1 - + + + javax.xml.bind + jaxb-api + 2.3.1 + diff --git a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/JwtUtil.java b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/JwtUtil.java index 86df692e..918b55f8 100644 --- a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/JwtUtil.java +++ b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/JwtUtil.java @@ -3,17 +3,20 @@ import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; import io.jsonwebtoken.SignatureException; + import org.springframework.stereotype.Component; +import java.io.UnsupportedEncodingException; import java.util.Date; @Component public class JwtUtil { - private static final String SECRET_KEY = "your_secret_key"; + private static final String SECRET_KEY = "secret_key"; - public String generateToken(String username) { + public String generateToken(String username) throws UnsupportedEncodingException { return Jwts.builder() + .setIssuer("spring-boot-jwt") .setSubject(username) .setIssuedAt(new Date()) .setExpiration(new Date(System.currentTimeMillis() + 86400000)) // 1 day expiration diff --git a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java index 6e8651b7..c539511e 100644 --- a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java +++ b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java @@ -5,6 +5,7 @@ import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; +import java.io.UnsupportedEncodingException; import java.util.HashMap; import java.util.Map; @@ -17,19 +18,27 @@ public class UserController { @Autowired private JwtUtil jwtUtil; + @GetMapping("/") + public String index() { + return "Greetings from Spring Boot!"; + } + @PostMapping("/login") public ResponseEntity login(@RequestBody Map user) { String username = user.get("username"); String password = user.get("password"); users.put(username, password); - // TODO: Generate JWT token - String token = jwtUtil.generateToken(username); + try { + String token = jwtUtil.generateToken(username); Map response = new HashMap<>(); + response.put("token", token); + System.err.println(token); + return new ResponseEntity<>(response, HttpStatus.OK); + } catch (UnsupportedEncodingException e) { + e.printStackTrace(); + } - Map response = new HashMap<>(); - response.put("token", token); - System.err.println(token); - return new ResponseEntity<>(response, HttpStatus.OK); + return new ResponseEntity<>("Invalid user", HttpStatus.UNAUTHORIZED); } diff --git a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/tempCodeRunnerFile.java b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/tempCodeRunnerFile.java new file mode 100644 index 00000000..2155d644 --- /dev/null +++ b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/tempCodeRunnerFile.java @@ -0,0 +1 @@ +package com.akash.springboot.jwt; \ No newline at end of file diff --git a/spring-boot-jwt/src/main/resources/application.properties b/spring-boot-jwt/src/main/resources/application.properties index e84ee73d..9f8b50c5 100644 --- a/spring-boot-jwt/src/main/resources/application.properties +++ b/spring-boot-jwt/src/main/resources/application.properties @@ -1 +1,2 @@ +server. Port=8080 spring.application.name=springboot.jwt From 1ac57ed1253de8d7933f386ff745f614d8de29c8 Mon Sep 17 00:00:00 2001 From: Akash Jaiswal Date: Wed, 24 Jul 2024 23:16:51 +0530 Subject: [PATCH 8/9] chore: refractor the code Signed-off-by: Akash Jaiswal --- .../com/akash/springboot/jwt/UserController.java | 13 ++++++------- .../akash/springboot/jwt/tempCodeRunnerFile.java | 1 - 2 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 spring-boot-jwt/src/main/java/com/akash/springboot/jwt/tempCodeRunnerFile.java diff --git a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java index c539511e..71f5d425 100644 --- a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java +++ b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/UserController.java @@ -19,9 +19,9 @@ public class UserController { private JwtUtil jwtUtil; @GetMapping("/") - public String index() { - return "Greetings from Spring Boot!"; - } + public String index() { + return "Greetings from Spring Boot!"; + } @PostMapping("/login") public ResponseEntity login(@RequestBody Map user) { @@ -30,7 +30,8 @@ public ResponseEntity login(@RequestBody Map user) { users.put(username, password); try { - String token = jwtUtil.generateToken(username); Map response = new HashMap<>(); + String token = jwtUtil.generateToken(username); + Map response = new HashMap<>(); response.put("token", token); System.err.println(token); return new ResponseEntity<>(response, HttpStatus.OK); @@ -41,12 +42,10 @@ public ResponseEntity login(@RequestBody Map user) { return new ResponseEntity<>("Invalid user", HttpStatus.UNAUTHORIZED); } - - @PostMapping("/tokenAuthentication") + @PostMapping("/tokenVerification") public ResponseEntity tokenAuthentication(@RequestBody Map request) { String token = request.get("token"); - //TODO: Validate token boolean isValid = jwtUtil.validateToken(token); Map response = new HashMap<>(); diff --git a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/tempCodeRunnerFile.java b/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/tempCodeRunnerFile.java deleted file mode 100644 index 2155d644..00000000 --- a/spring-boot-jwt/src/main/java/com/akash/springboot/jwt/tempCodeRunnerFile.java +++ /dev/null @@ -1 +0,0 @@ -package com.akash.springboot.jwt; \ No newline at end of file From e8cd8966d0442c5ec421b5cce9b07678a3b3e8fa Mon Sep 17 00:00:00 2001 From: Akash Jaiswal Date: Thu, 25 Jul 2024 00:36:37 +0530 Subject: [PATCH 9/9] feat: added docker file and docs Signed-off-by: Akash Jaiswal --- spring-boot-jwt/Dockerfile | 17 ++++++ spring-boot-jwt/README.md | 112 +++++++++++++++++++++++++++++++++++++ 2 files changed, 129 insertions(+) create mode 100644 spring-boot-jwt/Dockerfile create mode 100644 spring-boot-jwt/README.md diff --git a/spring-boot-jwt/Dockerfile b/spring-boot-jwt/Dockerfile new file mode 100644 index 00000000..8006689d --- /dev/null +++ b/spring-boot-jwt/Dockerfile @@ -0,0 +1,17 @@ +# Use an official OpenJDK runtime as a parent image +FROM openjdk:22-bookworm + +# Set the working directory to /app +WORKDIR /app + +# Install Maven +RUN apt-get update && apt-get install -y maven + +# Copy the current directory contents into the container at /app +COPY . /app/ + +# Expose the port the app runs on +EXPOSE 8080 + +# Run the application when the container launches +CMD ["/usr/share/maven/bin/mvn", "spring-boot:run"] \ No newline at end of file diff --git a/spring-boot-jwt/README.md b/spring-boot-jwt/README.md new file mode 100644 index 00000000..6fe57329 --- /dev/null +++ b/spring-boot-jwt/README.md @@ -0,0 +1,112 @@ +# Keploy Sample Java - JWT Token Verification and Spring Boot + +This repository contains a sample project that demonstrates the integration of Keploy with JWT (JSON Web Token) authentication in a Spring Boot application. + +## Prerequisites + +Before getting started, make sure you have the following installed: + +- Latest version of JDK +- Install [Keploy](https://keploy.io/docs/server/installation/) +- Postman for testing APIs + +## Getting Started + +To get started, clone the repository: + +```bash +git clone https://github.com/jaiakash/samples-java.git +cd spring-boot-jwt +``` + +## API Endpoints + +The following API endpoints are available: + +#### Login + +- POST `/users/login` + + Authenticate a user and receive a JWT token. + + Request Body: + + ```json + { + "username": "your_username", + "password": "your_password" + } + ``` + + Response: + + ```json + { + "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." + } + ``` + +#### Token Verification + +- POST `/users/tokenVerification` + + Verify the validity of a JWT token. + + Request Body: + + ```json + { + "token": "your_jwt_token_here" + } + ``` + + Response: + + ```json + { + "isValid": true + } + ``` + +## Integration with Keploy + +#### RECORD Mode + +1. To run the application, run + + ``` + keploy run -c "./mvnw spring-boot:run" --delay 240 + ``` + +2. To generate testcases, you can make API calls using Postman or `curl`: + +- Login + + ```bash + curl --location --request POST 'http://localhost:8080/users/login' \ + --header 'Content-Type: application/json' \ + --data-raw '{ + "username": "akash@example.com", + "password": "password" + }' + ``` + +- Verify + + ```bash + curl --location --request POST 'http://localhost:8080/users/verify' \ + --header 'Content-Type: application/json' \ + --data-raw '{ + "token": "your_jwt_token_here" + }' + ``` + +#### TEST mode + +To test the application, start Keploy in test mode. In the root directory, run the following command: + +```bash +keploy test -c "./mvnw spring-boot:run" --delay 240 +``` + +This command will run the tests and generate the report in the `Keploy/reports` directory in the current working directory.