generated from keploy/template
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added new samples app called spring-petclinic (#58)
* feat: added new samples app called spring-petclinic Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com> * fix: removed petclinic Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com> * fix: added back spring-petclinic Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com> * fix: removed .github folder from both Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com> --------- Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>
- Loading branch information
1 parent
916db9e
commit d1942f0
Showing
483 changed files
with
116,743 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,344 @@ | ||
version: api.keploy.io/v1beta1 | ||
name: report-2 | ||
status: PASSED | ||
success: 5 | ||
failure: 0 | ||
total: 5 | ||
tests: | ||
- kind: Http | ||
name: report-2 | ||
status: PASSED | ||
started: 1701683508 | ||
completed: 1701683509 | ||
test_case_path: /home/pranshu.linux/samples-java/employee-manager/keploy/test-set-0 | ||
mock_path: "" | ||
test_case_id: test-1 | ||
req: | ||
method: POST | ||
proto_major: 1 | ||
proto_minor: 1 | ||
url: http://localhost:8080/api/employees | ||
header: | ||
Accept: '*/*' | ||
Content-Length: "100" | ||
Content-Type: application/json | ||
Host: localhost:8080 | ||
User-Agent: curl/7.81.0 | ||
body: |- | ||
{ | ||
"firstName": "Myke", | ||
"lastName": "Tyson", | ||
"email": "mt@gmail.com", | ||
"timestamp":1 | ||
} | ||
body_type: "" | ||
timestamp: 0001-01-01T00:00:00Z | ||
resp: | ||
status_code: 200 | ||
header: | ||
Content-Type: application/json | ||
Date: Mon, 04 Dec 2023 09:32:07 GMT | ||
body: '{"id":13,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682327}' | ||
body_type: "" | ||
status_message: "" | ||
proto_major: 0 | ||
proto_minor: 0 | ||
timestamp: 0001-01-01T00:00:00Z | ||
noise: | ||
body.timestamp: [] | ||
header.Date: [] | ||
result: | ||
status_code: | ||
normal: true | ||
expected: 200 | ||
actual: 200 | ||
headers_result: | ||
- normal: true | ||
expected: | ||
key: Content-Type | ||
value: | ||
- application/json | ||
actual: | ||
key: Content-Type | ||
value: | ||
- application/json | ||
- normal: true | ||
expected: | ||
key: Date | ||
value: | ||
- Mon, 04 Dec 2023 09:32:07 GMT | ||
actual: | ||
key: Date | ||
value: | ||
- Mon, 04 Dec 2023 09:51:49 GMT | ||
body_result: | ||
- normal: true | ||
type: JSON | ||
expected: '{"id":13,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682327}' | ||
actual: '{"id":13,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701683509}' | ||
dep_result: [] | ||
- kind: Http | ||
name: report-2 | ||
status: PASSED | ||
started: 1701683509 | ||
completed: 1701683509 | ||
test_case_path: /home/pranshu.linux/samples-java/employee-manager/keploy/test-set-0 | ||
mock_path: "" | ||
test_case_id: test-2 | ||
req: | ||
method: POST | ||
proto_major: 1 | ||
proto_minor: 1 | ||
url: http://localhost:8080/api/employees | ||
header: | ||
Accept: '*/*' | ||
Content-Length: "100" | ||
Content-Type: application/json | ||
Host: localhost:8080 | ||
User-Agent: curl/7.81.0 | ||
body: |- | ||
{ | ||
"firstName": "Myke", | ||
"lastName": "Tyson", | ||
"email": "mt@gmail.com", | ||
"timestamp":1 | ||
} | ||
body_type: "" | ||
timestamp: 0001-01-01T00:00:00Z | ||
resp: | ||
status_code: 200 | ||
header: | ||
Content-Type: application/json | ||
Date: Mon, 04 Dec 2023 09:32:09 GMT | ||
body: '{"id":14,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682329}' | ||
body_type: "" | ||
status_message: "" | ||
proto_major: 0 | ||
proto_minor: 0 | ||
timestamp: 0001-01-01T00:00:00Z | ||
noise: | ||
body.timestamp: [] | ||
header.Date: [] | ||
result: | ||
status_code: | ||
normal: true | ||
expected: 200 | ||
actual: 200 | ||
headers_result: | ||
- normal: true | ||
expected: | ||
key: Content-Type | ||
value: | ||
- application/json | ||
actual: | ||
key: Content-Type | ||
value: | ||
- application/json | ||
- normal: true | ||
expected: | ||
key: Date | ||
value: | ||
- Mon, 04 Dec 2023 09:32:09 GMT | ||
actual: | ||
key: Date | ||
value: | ||
- Mon, 04 Dec 2023 09:51:49 GMT | ||
body_result: | ||
- normal: true | ||
type: JSON | ||
expected: '{"id":14,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682329}' | ||
actual: '{"id":14,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701683509}' | ||
dep_result: [] | ||
- kind: Http | ||
name: report-2 | ||
status: PASSED | ||
started: 1701683509 | ||
completed: 1701683509 | ||
test_case_path: /home/pranshu.linux/samples-java/employee-manager/keploy/test-set-0 | ||
mock_path: "" | ||
test_case_id: test-3 | ||
req: | ||
method: GET | ||
proto_major: 1 | ||
proto_minor: 1 | ||
url: http://localhost:8080/api/employees/ | ||
header: | ||
Accept: '*/*' | ||
Host: localhost:8080 | ||
User-Agent: curl/7.81.0 | ||
body: "" | ||
body_type: "" | ||
timestamp: 0001-01-01T00:00:00Z | ||
resp: | ||
status_code: 200 | ||
header: | ||
Content-Type: application/json | ||
Date: Mon, 04 Dec 2023 09:32:13 GMT | ||
body: '[{"id":1,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700642324},{"id":2,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650840},{"id":3,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650845},{"id":4,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650846},{"id":5,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650870},{"id":6,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650871},{"id":7,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700668292},{"id":8,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701155376},{"id":9,"firstName":"GK","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701155441},{"id":10,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682065},{"id":11,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682066},{"id":12,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682068},{"id":13,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682327},{"id":14,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682329}]' | ||
body_type: "" | ||
status_message: "" | ||
proto_major: 0 | ||
proto_minor: 0 | ||
timestamp: 0001-01-01T00:00:00Z | ||
noise: | ||
body.timestamp: [] | ||
header.Date: [] | ||
result: | ||
status_code: | ||
normal: true | ||
expected: 200 | ||
actual: 200 | ||
headers_result: | ||
- normal: true | ||
expected: | ||
key: Content-Type | ||
value: | ||
- application/json | ||
actual: | ||
key: Content-Type | ||
value: | ||
- application/json | ||
- normal: true | ||
expected: | ||
key: Date | ||
value: | ||
- Mon, 04 Dec 2023 09:32:13 GMT | ||
actual: | ||
key: Date | ||
value: | ||
- Mon, 04 Dec 2023 09:51:49 GMT | ||
body_result: | ||
- normal: true | ||
type: JSON | ||
expected: '[{"id":1,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700642324},{"id":2,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650840},{"id":3,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650845},{"id":4,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650846},{"id":5,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650870},{"id":6,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650871},{"id":7,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700668292},{"id":8,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701155376},{"id":9,"firstName":"GK","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701155441},{"id":10,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682065},{"id":11,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682066},{"id":12,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682068},{"id":13,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682327},{"id":14,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682329}]' | ||
actual: '[{"id":1,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700642324},{"id":2,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650840},{"id":3,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650845},{"id":4,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650846},{"id":5,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650870},{"id":6,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700650871},{"id":7,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1700668292},{"id":8,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701155376},{"id":9,"firstName":"GK","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701155441},{"id":10,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682065},{"id":11,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682066},{"id":12,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682068},{"id":13,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682327},{"id":14,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682329}]' | ||
dep_result: [] | ||
- kind: Http | ||
name: report-2 | ||
status: PASSED | ||
started: 1701683509 | ||
completed: 1701683509 | ||
test_case_path: /home/pranshu.linux/samples-java/employee-manager/keploy/test-set-0 | ||
mock_path: "" | ||
test_case_id: test-4 | ||
req: | ||
method: GET | ||
proto_major: 1 | ||
proto_minor: 1 | ||
url: http://localhost:8080/api/employees/11 | ||
header: | ||
Accept: '*/*' | ||
Host: localhost:8080 | ||
User-Agent: curl/7.81.0 | ||
body: "" | ||
body_type: "" | ||
timestamp: 0001-01-01T00:00:00Z | ||
resp: | ||
status_code: 200 | ||
header: | ||
Content-Type: application/json | ||
Date: Mon, 04 Dec 2023 09:32:17 GMT | ||
body: '{"id":11,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682066}' | ||
body_type: "" | ||
status_message: "" | ||
proto_major: 0 | ||
proto_minor: 0 | ||
timestamp: 0001-01-01T00:00:00Z | ||
noise: | ||
body.timestamp: [] | ||
header.Date: [] | ||
result: | ||
status_code: | ||
normal: true | ||
expected: 200 | ||
actual: 200 | ||
headers_result: | ||
- normal: true | ||
expected: | ||
key: Content-Type | ||
value: | ||
- application/json | ||
actual: | ||
key: Content-Type | ||
value: | ||
- application/json | ||
- normal: true | ||
expected: | ||
key: Date | ||
value: | ||
- Mon, 04 Dec 2023 09:32:17 GMT | ||
actual: | ||
key: Date | ||
value: | ||
- Mon, 04 Dec 2023 09:51:49 GMT | ||
body_result: | ||
- normal: true | ||
type: JSON | ||
expected: '{"id":11,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682066}' | ||
actual: '{"id":11,"firstName":"Myke","lastName":"Tyson","email":"mt@gmail.com","timestamp":1701682066}' | ||
dep_result: [] | ||
- kind: Http | ||
name: report-2 | ||
status: PASSED | ||
started: 1701683509 | ||
completed: 1701683509 | ||
test_case_path: /home/pranshu.linux/samples-java/employee-manager/keploy/test-set-0 | ||
mock_path: "" | ||
test_case_id: test-5 | ||
req: | ||
method: GET | ||
proto_major: 1 | ||
proto_minor: 1 | ||
url: http://localhost:8080/api/employees/111 | ||
header: | ||
Accept: '*/*' | ||
Host: localhost:8080 | ||
User-Agent: curl/7.81.0 | ||
body: "" | ||
body_type: "" | ||
timestamp: 0001-01-01T00:00:00Z | ||
resp: | ||
status_code: 404 | ||
header: | ||
Content-Type: application/json | ||
Date: Mon, 04 Dec 2023 09:32:20 GMT | ||
body: '{"timestamp":"2023-12-04T09:32:20.584+00:00","message":"Employee not found for this id :: 111","details":"uri=/api/employees/111"}' | ||
body_type: "" | ||
status_message: "" | ||
proto_major: 0 | ||
proto_minor: 0 | ||
timestamp: 0001-01-01T00:00:00Z | ||
noise: | ||
body.timestamp: [] | ||
header.Date: [] | ||
result: | ||
status_code: | ||
normal: true | ||
expected: 404 | ||
actual: 404 | ||
headers_result: | ||
- normal: true | ||
expected: | ||
key: Content-Type | ||
value: | ||
- application/json | ||
actual: | ||
key: Content-Type | ||
value: | ||
- application/json | ||
- normal: true | ||
expected: | ||
key: Date | ||
value: | ||
- Mon, 04 Dec 2023 09:32:20 GMT | ||
actual: | ||
key: Date | ||
value: | ||
- Mon, 04 Dec 2023 09:51:49 GMT | ||
body_result: | ||
- normal: true | ||
type: JSON | ||
expected: '{"timestamp":"2023-12-04T09:32:20.584+00:00","message":"Employee not found for this id :: 111","details":"uri=/api/employees/111"}' | ||
actual: '{"timestamp":"2023-12-04T09:51:49.432+00:00","message":"Employee not found for this id :: 111","details":"uri=/api/employees/111"}' | ||
dep_result: [] | ||
test_set: test-set-0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
Oops, something went wrong.