Newman Run Dashboard

Monday, 25 October 2021 11:36:49
Total Iterations

1

Total Assertions

47

Total Failed Tests

0

Total Skipped Tests

0


File Information
Collection: MedGenie
Timings and Data
Total run duration: 3.5s
Total data received: 4.51KB
Average response time: 243ms
Summary Item Total Failed
Requests 12 0
Prerequest Scripts 12 0
Test Scripts 24 0
Assertions 47 0
Skipped Tests 0 -



There are no failed tests





There are no skipped tests



1 Iteration available to view
Request Information
Request Method: POST
Request URL: http://localhost:8080/api/newPatient
Response Information
Response Code: 201 - Created
Mean time per request: 341ms
Mean size per request: 188B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.28.4
Accept */*
Cache-Control no-cache
Postman-Token 24f8e3db-48fd-458d-abd8-f1d8f6a63844
Host localhost:8080
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 109
Request Body
{"name":"John Doe","password":"johndoe123","passwordConfirmation":"johndoe123","email":"johndoe@gmail.com","age":"20","gender":"M"}
Response Headers
Header NameHeader Value
X-Powered-By Express
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8
Content-Length 188
ETag W/"bc-6uN0HgD4BJvE+qAs2txOxGgPx0s"
Date Mon, 25 Oct 2021 06:06:46 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"_id":"61764976a801f502431e3d7c","name":"John Doe","email":"johndoe@gmail.com","age":20,"gender":"M","createdAt":"2021-10-25T06:06:46.415Z","updatedAt":"2021-10-25T06:06:46.415Z","__v":0}
Test Information
NamePassedFailedSkipped
Status code is 201 1 0 0
Name is correct 1 0 0
Email is correct 1 0 0
Content-Type header is present 1 0 0
Test data types of the response body 1 0 0
Total 5 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:8080/api/login/patient
Response Information
Response Code: 200 - OK
Mean time per request: 283ms
Mean size per request: 389B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.28.4
Accept */*
Cache-Control no-cache
Postman-Token f10770a6-eccd-4acc-a137-c4d9f2b7415a
Host localhost:8080
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 45
Request Body
{"email":"johndoe@gmail.com","password":"johndoe123"}
Response Headers
Header NameHeader Value
X-Powered-By Express
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8
Content-Length 389
ETag W/"185-hOvxHxuoIQzUQhqWDI8XaSPde0g"
Date Mon, 25 Oct 2021 06:06:47 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"accessToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImpvaG5kb2VAZ21haWwuY29tIiwidHlwZSI6InBhdGllbnQiLCJpYXQiOjE2MzUxNDIwMDcsImV4cCI6MTYzNTE0MzIwN30.R3Z2aP7Xgo--_igSEwdAfqI5xKAPrKACy3cP4mcCacw","refreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImpvaG5kb2VAZ21haWwuY29tIiwidHlwZSI6InBhdGllbnQiLCJpYXQiOjE2MzUxNDIwMDd9.KeWYnu7W90cSYGCbbsuPE1j8QBKfWkutPahfGryVfdY"}
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Content-Type header is present 1 0 0
Tokens available 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:8080/api/me
Response Information
Response Code: 200 - OK
Mean time per request: 219ms
Mean size per request: 98B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImpvaG5kb2VAZ21haWwuY29tIiwidHlwZSI6InBhdGllbnQiLCJpYXQiOjE2MzUxNDIwMDcsImV4cCI6MTYzNTE0MzIwN30.R3Z2aP7Xgo--_igSEwdAfqI5xKAPrKACy3cP4mcCacw
User-Agent PostmanRuntime/7.28.4
Accept */*
Cache-Control no-cache
Postman-Token 58915a51-f59b-45a2-9037-4f18cc8bf45c
Host localhost:8080
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
X-Powered-By Express
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8
Content-Length 98
ETag W/"62-DMvfTDz7WklKiUVzX0TA4LqvYoU"
Date Mon, 25 Oct 2021 06:06:47 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"email":"johndoe@gmail.com","type":"patient","iat":1635142007,"exp":1635143207,"name":"John Doe"}
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response body received 1 0 0
Name is Correct 1 0 0
User type is correct 1 0 0
Email is correct 1 0 0
Total 5 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:8080/api/newDoctor
Response Information
Response Code: 201 - Created
Mean time per request: 278ms
Mean size per request: 283B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.28.4
Accept */*
Cache-Control no-cache
Postman-Token 16f51161-a956-46e4-9cfb-baa7a8fbdbeb
Host localhost:8080
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 190
Request Body
{"name":"Jane Doe","age":"20","email":"janedoe@gmail.com","password":"janedoe123","passwordConfirmation":"janedoe123","mobileNo":"0715465987","license":"1231234","gender":"F","isAvailable":"true","specialization":"Cardiologist"}
Response Headers
Header NameHeader Value
X-Powered-By Express
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8
Content-Length 283
ETag W/"11b-CGh53eA9XT1NtVYlkkaQ1oYRVc8"
Date Mon, 25 Oct 2021 06:06:47 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"_id":"61764977a801f502431e3d82","name":"Jane Doe","age":20,"email":"janedoe@gmail.com","mobileNo":"0715465987","license":"1231234","gender":"F","isAvailable":true,"specialization":"Cardiologist","createdAt":"2021-10-25T06:06:47.371Z","updatedAt":"2021-10-25T06:06:47.371Z","__v":0}
Test Information
NamePassedFailedSkipped
Status code is 201 1 0 0
Response body received 1 0 0
Name is correct 1 0 0
Email is correct 1 0 0
Content-Type header is present 1 0 0
Test data types of the response body 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:8080/api/doctors/janedoe@gmail.com
Response Information
Response Code: 200 - OK
Mean time per request: 225ms
Mean size per request: 84B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.28.4
Accept */*
Cache-Control no-cache
Postman-Token a02a2b96-ad46-436f-ae3e-7e36088e6ac9
Host localhost:8080
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
X-Powered-By Express
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8
Content-Length 84
ETag W/"54-lQThnFyiszMEaFwTyRbr0tzZSBo"
Date Mon, 25 Oct 2021 06:06:47 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"_id":"61764977a801f502431e3d82","name":"Jane Doe","specialization":"Cardiologist"}
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response body received 1 0 0
Name is correct 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:8080/api/newSchedule
Response Information
Response Code: 201 - Created
Mean time per request: 227ms
Mean size per request: 260B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.28.4
Accept */*
Cache-Control no-cache
Postman-Token 8e1bab8d-79cc-45bb-a8c1-e843d51b901c
Host localhost:8080
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 111
Request Body
{"doctor":"janedoe@gmail.com","date":"2021-10-13","time":"09:50","doctorName":"Jane Doe","doctorSpecialization":"Cardiologist"}
Response Headers
Header NameHeader Value
X-Powered-By Express
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8
Content-Length 260
ETag W/"104-8i5N11RocFgBthpLwRhO5IBrMsk"
Date Mon, 25 Oct 2021 06:06:48 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"patients":[],"_id":"61764978a801f502431e3d85","doctor":"janedoe@gmail.com","date":"2021-10-13","time":"09:50","doctorName":"Jane Doe","doctorSpecialization":"Cardiologist","createdAt":"2021-10-25T06:06:48.001Z","updatedAt":"2021-10-25T06:06:48.001Z","__v":0}
Test Information
NamePassedFailedSkipped
Status code is 201 1 0 0
Response body received 1 0 0
Doctor's is correct 1 0 0
Doctor's email is correct 1 0 0
Patient list is initially empty 1 0 0
Content-Type header is present 1 0 0
Total 6 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:8080/api/schedules
Response Information
Response Code: 200 - OK
Mean time per request: 221ms
Mean size per request: 1.85KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.28.4
Accept */*
Cache-Control no-cache
Postman-Token dfda331f-9a08-4930-a0da-1719008f4e95
Host localhost:8080
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
X-Powered-By Express
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8
Content-Length 1893
ETag W/"765-1HMhzz3uezO4u2Hi2n1Habmdp9w"
Date Mon, 25 Oct 2021 06:06:48 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
[{"patients":["pbandara@gmail.com"],"_id":"61721e8cdd268e024105f3c2","doctor":"monicag@gmail.com","doctorName":"Monica Geller","doctorSpecialization":"1231234","date":"2021-10-13","time":"20:45","createdAt":"2021-10-22T02:14:36.842Z","updatedAt":"2021-10-25T05:10:20.745Z","__v":0},{"patients":["patient"],"_id":"61721effdd268e024105f3d0","doctor":"rossg@gmail.com","doctorName":"Ross Geller","doctorSpecialization":"1231234","date":"2021-10-05","time":"21:48","createdAt":"2021-10-22T02:16:31.219Z","updatedAt":"2021-10-24T15:55:16.206Z","__v":0},{"patients":["johndoe@gmail.com"],"_id":"6175290b14420f0040287c28","doctor":"cosmok@gmail.com","doctorName":"Cosmo Kramer","doctorSpecialization":"1231234","date":"2021-11-01","time":"01:10","createdAt":"2021-10-24T09:36:11.918Z","updatedAt":"2021-10-25T02:01:33.414Z","__v":0},{"patients":[],"_id":"617635a0dea46a01ab07b00d","doctor":"cosmok@gmail.com","doctorName":"Cosmo Kramer","doctorSpecialization":"1231234","date":"2021-10-16","time":"22:15","createdAt":"2021-10-25T04:42:08.219Z","updatedAt":"2021-10-25T04:42:08.219Z","__v":0},{"patients":[],"_id":"617636596a9ae201d33f080b","doctor":"leomessi@gmail.com","doctorName":"Dr.Leo Messi","doctorSpecialization":"30303030","date":"2021-10-07","time":"22:17","createdAt":"2021-10-25T04:45:13.435Z","updatedAt":"2021-10-25T04:45:13.435Z","__v":0},{"patients":["pbandara@gmail.com"],"_id":"6176370488c482021ddf6fea","doctor":"leomessi@gmail.com","doctorName":"Dr.Leo Messi","doctorSpecialization":"Neurologist","date":"2021-10-05","time":"22:19","createdAt":"2021-10-25T04:48:04.120Z","updatedAt":"2021-10-25T05:10:29.173Z","__v":0},{"patients":[],"_id":"61764978a801f502431e3d85","doctor":"janedoe@gmail.com","date":"2021-10-13","time":"09:50","doctorName":"Jane Doe","doctorSpecialization":"Cardiologist","createdAt":"2021-10-25T06:06:48.001Z","updatedAt":"2021-10-25T06:06:48.001Z","__v":0}]
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Content-Type is present 1 0 0
Response body received 1 0 0
Schedule has been created properly 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: POST
Request URL: http://localhost:8080/api/newAppointment
Response Information
Response Code: 201 - Created
Mean time per request: 227ms
Mean size per request: 324B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.28.4
Accept */*
Cache-Control no-cache
Postman-Token 0dd269f1-0925-4037-b19d-77b21e61f0fd
Host localhost:8080
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 181
Request Body
{"doctorName":"Jane Doe","doctorSpeciality":"Cardiologist","paid":"true","patient":"johndoe@gmail.com","date":"2021-10-13","time":"09:50","scheduleId":"61764978a801f502431e3d85","doctor":"janedoe@gmail.com"}
Response Headers
Header NameHeader Value
X-Powered-By Express
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8
Content-Length 324
ETag W/"144-uss/reoxNzaUb18sS0WSHvCZmc0"
Date Mon, 25 Oct 2021 06:06:48 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"_id":"61764978a801f502431e3d88","doctorName":"Jane Doe","doctorSpeciality":"Cardiologist","paid":true,"patient":"johndoe@gmail.com","date":"2021-10-13","time":"09:50","scheduleId":"61764978a801f502431e3d85","doctor":"janedoe@gmail.com","createdAt":"2021-10-25T06:06:48.561Z","updatedAt":"2021-10-25T06:06:48.561Z","__v":0}
Test Information
NamePassedFailedSkipped
Status code is 201 1 0 0
Patient is correct 1 0 0
Doctor is correct 1 0 0
Schedule is correct 1 0 0
Total 4 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: http://localhost:8080/api/appointments/johndoe@gmail.com
Response Information
Response Code: 200 - OK
Mean time per request: 216ms
Mean size per request: 240B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.28.4
Accept */*
Cache-Control no-cache
Postman-Token 3215f0fe-94d1-4697-a7b3-0951000e7bf9
Host localhost:8080
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
X-Powered-By Express
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8
Content-Length 240
ETag W/"f0-eK9nk7j7CyRhcuKyc3IqfSFRy+c"
Date Mon, 25 Oct 2021 06:06:49 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
[{"_id":"61764978a801f502431e3d88","doctorName":"Jane Doe","doctorSpeciality":"Cardiologist","paid":true,"patient":"johndoe@gmail.com","date":"2021-10-13","time":"09:50","scheduleId":"61764978a801f502431e3d85","doctor":"janedoe@gmail.com"}]
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response body received 1 0 0
Doctor is Correct 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Response Information
Response Code: 200 - OK
Mean time per request: 227ms
Mean size per request: 287B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.28.4
Accept */*
Cache-Control no-cache
Postman-Token 25446373-89c6-4c1c-849d-43d6494d6c4e
Host localhost:8080
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 0
Response Headers
Header NameHeader Value
X-Powered-By Express
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8
Content-Length 287
ETag W/"11f-BMNjRTCgsjpueTHBJitlCnz/2/A"
Date Mon, 25 Oct 2021 06:06:49 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"n":1,"nModified":1,"opTime":{"ts":"7022881444380803081","t":113},"electionId":"7fffffff0000000000000071","ok":1,"$clusterTime":{"clusterTime":"7022881444380803081","signature":{"hash":"VOV03MurZYUEdsdaX0RHqOZeftw=","keyId":"6959643849153052673"}},"operationTime":"7022881444380803081"}
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response body received 1 0 0
Patient added properly 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: DELETE
Request URL: http://localhost:8080/api/appointments/61764978a801f502431e3d88
Response Information
Response Code: 200 - OK
Mean time per request: 223ms
Mean size per request: 290B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.28.4
Accept */*
Cache-Control no-cache
Postman-Token df395f1c-9368-4d1f-b062-99555b8998b6
Host localhost:8080
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
X-Powered-By Express
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8
Content-Length 290
ETag W/"122-x5A11rAatGIdIPmZS5CBqfQyRFU"
Date Mon, 25 Oct 2021 06:06:49 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"n":1,"opTime":{"ts":"7022881444380803084","t":113},"electionId":"7fffffff0000000000000071","ok":1,"$clusterTime":{"clusterTime":"7022881444380803084","signature":{"hash":"VOV03MurZYUEdsdaX0RHqOZeftw=","keyId":"6959643849153052673"}},"operationTime":"7022881444380803084","deletedCount":1}
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response body received 1 0 0
Total 2 0 0
Test Failure
Test NameAssertion Error
Response Information
Response Code: 200 - OK
Mean time per request: 229ms
Mean size per request: 287B

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.28.4
Accept */*
Cache-Control no-cache
Postman-Token fb357635-eaf6-4ada-aa6f-70b434d6eb64
Host localhost:8080
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 0
Response Headers
Header NameHeader Value
X-Powered-By Express
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8
Content-Length 287
ETag W/"11f-ER98+JCx8LKyTUqvrsa+9mbjgO0"
Date Mon, 25 Oct 2021 06:06:49 GMT
Connection keep-alive
Keep-Alive timeout=5
Response Body
{"n":1,"nModified":1,"opTime":{"ts":"7022881448675770374","t":113},"electionId":"7fffffff0000000000000071","ok":1,"$clusterTime":{"clusterTime":"7022881448675770374","signature":{"hash":"HAjZRBoLoWv7Y1Y7C7ZW+B+KIyk=","keyId":"6959643849153052673"}},"operationTime":"7022881448675770374"}
Test Information
NamePassedFailedSkipped
Status code is 200 1 0 0
Response body received 1 0 0
Patient properly removed from the schedule 1 0 0
Total 3 0 0
Test Failure
Test NameAssertion Error