| Project | Date |
|---|---|
| moviegram-test | 09 Jan 2024, 15:56 |
| Steps | Scenarios | Features | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Tag | Passed | Failed | Skipped | Pending | Undefined | Total | Passed | Failed | Total | Duration | Status |
| @negative | 168 | 0 | 0 | 0 | 0 | 168 | 14 | 0 | 14 | 6.855 | Passed |
15:56:31.680 karate.env system property was: qa 15:56:31.680 [print] test
15:56:31.700 [print] Inside get review service
15:56:32.533 request:
1 > GET http://localhost:8085/movies?moviename=asdfghjkljklgfld&movieyear=2009
1 > Host: localhost:8085
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231)
1 > Accept-Encoding: gzip,deflate
15:56:32.685 response time in milliseconds: 151
1 < 200
1 < Vary: Origin
1 < Vary: Access-Control-Request-Method
1 < Vary: Access-Control-Request-Headers
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Date: Tue, 09 Jan 2024 22:56:32 GMT
1 < Keep-Alive: timeout=60
1 < Connection: keep-alive
{"Year":null,"imdbID":null,"Poster":null,"Title":null}
15:56:32.688 {
"Year": null,
"imdbID": null,
"Poster": null,
"Title": null
}
15:56:31.675 karate.env system property was: qa 15:56:31.679 [print] test
15:56:31.701 [print] Inside get review service
15:56:32.531 request:
1 > GET http://localhost:8085/movies?moviename=star%20trek&movieyear=sad'f@
1 > Host: localhost:8085
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231)
1 > Accept-Encoding: gzip,deflate
15:56:32.692 response time in milliseconds: 159
1 < 200
1 < Vary: Origin
1 < Vary: Access-Control-Request-Method
1 < Vary: Access-Control-Request-Headers
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Date: Tue, 09 Jan 2024 22:56:32 GMT
1 < Keep-Alive: timeout=60
1 < Connection: keep-alive
{"Year":"2009","imdbID":"tt0796366","Poster":"https:\/\/m.media-amazon.com\/images\/M\/MV5BMjE5NDQ5OTE4Ml5BMl5BanBnXkFtZTcwOTE3NDIzMw@@._V1_SX300.jpg","Title":"Star Trek"}
15:56:32.698 {
"Year": "2009",
"imdbID": "tt0796366",
"Poster": "https://m.media-amazon.com/images/M/MV5BMjE5NDQ5OTE4Ml5BMl5BanBnXkFtZTcwOTE3NDIzMw@@._V1_SX300.jpg",
"Title": "Star Trek"
}
15:56:32.818 karate.env system property was: qa 15:56:32.822 [print] test
15:56:32.848 [print] Inside get review service
15:56:32.851 request:
1 > GET http://localhost:8085/movieposter?imdbID=tt9999999
1 > Host: localhost:8085
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231)
1 > Accept-Encoding: gzip,deflate
15:56:33.060 response time in milliseconds: 207
1 < 500
1 < Vary: Origin
1 < Vary: Access-Control-Request-Method
1 < Vary: Access-Control-Request-Headers
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Date: Tue, 09 Jan 2024 22:56:32 GMT
1 < Connection: close
{"path":"\/movieposter","error":"Internal Server Error","message":"ids for this class must be manually assigned before calling save(): com.revature.model.Movies; nested exception is org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.revature.model.Movies","timestamp":"2024-01-09T22:56:33.056+0000","status":500}
15:56:33.062 {
"path": "/movieposter",
"error": "Internal Server Error",
"message": "ids for this class must be manually assigned before calling save(): com.revature.model.Movies; nested exception is org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.revature.model.Movies",
"timestamp": "2024-01-09T22:56:33.056+0000",
"status": 500
}
15:56:33.063 Internal Server Error
15:56:33.064 Internal Server Error
15:56:32.873 karate.env system property was: qa 15:56:32.874 [print] test
15:56:32.885 [print] Inside get review service
15:56:32.892 request:
1 > GET http://localhost:8085/movieposter?imdbID=s@3,;'
1 > Host: localhost:8085
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231)
1 > Accept-Encoding: gzip,deflate
15:56:33.159 response time in milliseconds: 267
1 < 500
1 < Vary: Origin
1 < Vary: Access-Control-Request-Method
1 < Vary: Access-Control-Request-Headers
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Date: Tue, 09 Jan 2024 22:56:32 GMT
1 < Connection: close
{"path":"\/movieposter","error":"Internal Server Error","message":"ids for this class must be manually assigned before calling save(): com.revature.model.Movies; nested exception is org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.revature.model.Movies","timestamp":"2024-01-09T22:56:33.157+0000","status":500}
15:56:33.161 {
"path": "/movieposter",
"error": "Internal Server Error",
"message": "ids for this class must be manually assigned before calling save(): com.revature.model.Movies; nested exception is org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.revature.model.Movies",
"timestamp": "2024-01-09T22:56:33.157+0000",
"status": 500
}
15:56:33.162 Internal Server Error
15:56:33.163 Internal Server Error
15:56:32.877 karate.env system property was: qa 15:56:32.878 [print] test
15:56:32.888 [print] Inside get review service
15:56:32.892 request: 1 > GET http://localhost:8085/reviewsbyone?revid=999 1 > Host: localhost:8085 1 > Connection: Keep-Alive 1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231) 1 > Accept-Encoding: gzip,deflate 15:56:32.942 response time in milliseconds: 50 1 < 200 1 < Vary: Origin 1 < Vary: Access-Control-Request-Method 1 < Vary: Access-Control-Request-Headers 1 < Content-Length: 0 1 < Date: Tue, 09 Jan 2024 22:56:32 GMT 1 < Keep-Alive: timeout=60 1 < Connection: keep-alive
15:56:32.944
15:56:32.953 [FAILED toString()]
15:56:32.954 #notpresent
15:56:32.962 karate.env system property was: qa 15:56:32.964 [print] test
15:56:32.968 [print] Inside get review service
15:56:32.969 request:
1 > GET http://localhost:8085/reviewsbyone?revid=abc
1 > Host: localhost:8085
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231)
1 > Accept-Encoding: gzip,deflate
15:56:32.974 response time in milliseconds: 5
1 < 400
1 < Vary: Origin
1 < Vary: Access-Control-Request-Method
1 < Vary: Access-Control-Request-Headers
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Date: Tue, 09 Jan 2024 22:56:32 GMT
1 < Connection: close
{"path":"\/reviewsbyone","error":"Bad Request","message":"Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: \"abc\"","timestamp":"2024-01-09T22:56:32.973+0000","status":400}
15:56:32.975 {
"path": "/reviewsbyone",
"error": "Bad Request",
"message": "Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: \"abc\"",
"timestamp": "2024-01-09T22:56:32.973+0000",
"status": 400
}
15:56:32.977 Bad Request
15:56:32.977 Bad Request
15:56:33.168 karate.env system property was: qa 15:56:33.169 [print] test
15:56:33.175 [print] Inside get review service
15:56:33.177 request: 1 > GET http://localhost:8085/reviewsbymovie?imdbid=tt9999999 1 > Host: localhost:8085 1 > Connection: Keep-Alive 1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231) 1 > Accept-Encoding: gzip,deflate 15:56:33.220 response time in milliseconds: 43 1 < 200 1 < Vary: Origin 1 < Vary: Access-Control-Request-Method 1 < Vary: Access-Control-Request-Headers 1 < Content-Type: application/json 1 < Transfer-Encoding: chunked 1 < Date: Tue, 09 Jan 2024 22:56:32 GMT 1 < Keep-Alive: timeout=60 1 < Connection: keep-alive []
15:56:33.222
15:56:33.231 [FAILED toString()]
15:56:33.232 #notpresent
15:56:33.237 karate.env system property was: qa 15:56:33.238 [print] test
15:56:33.247 [print] Inside get review service
15:56:33.249 request: 1 > GET http://localhost:8085/reviewsbymovie?imdbid=abc@#$;,' 1 > Host: localhost:8085 1 > Connection: Keep-Alive 1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231) 1 > Accept-Encoding: gzip,deflate 15:56:33.317 response time in milliseconds: 67 1 < 200 1 < Vary: Origin 1 < Vary: Access-Control-Request-Method 1 < Vary: Access-Control-Request-Headers 1 < Content-Type: application/json 1 < Transfer-Encoding: chunked 1 < Date: Tue, 09 Jan 2024 22:56:32 GMT 1 < Keep-Alive: timeout=60 1 < Connection: keep-alive []
15:56:33.318
15:56:33.321 [FAILED toString()]
15:56:33.321 #notpresent
15:56:33.860 karate.env system property was: qa 15:56:33.861 [print] test
15:56:33.866 [print] Inside get review service
15:56:33.869 request: 1 > GET http://localhost:8085/reviewsbyuser?username=idontexistsorry 1 > Host: localhost:8085 1 > Connection: Keep-Alive 1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231) 1 > Accept-Encoding: gzip,deflate 15:56:34.023 response time in milliseconds: 154 1 < 200 1 < Vary: Origin 1 < Vary: Access-Control-Request-Method 1 < Vary: Access-Control-Request-Headers 1 < Content-Length: 0 1 < Date: Tue, 09 Jan 2024 22:56:33 GMT 1 < Keep-Alive: timeout=60 1 < Connection: keep-alive
15:56:34.024
15:56:34.028 [FAILED toString()]
15:56:34.028 #notpresent
15:56:33.862 karate.env system property was: qa 15:56:33.863 [print] test
15:56:33.869 [print] Inside get review service
15:56:33.872 request: 1 > GET http://localhost:8085/reviewsbyuser?username=abc@#$,;'. 1 > Host: localhost:8085 1 > Connection: Keep-Alive 1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231) 1 > Accept-Encoding: gzip,deflate 15:56:34.007 response time in milliseconds: 134 1 < 200 1 < Vary: Origin 1 < Vary: Access-Control-Request-Method 1 < Vary: Access-Control-Request-Headers 1 < Content-Length: 0 1 < Date: Tue, 09 Jan 2024 22:56:33 GMT 1 < Keep-Alive: timeout=60 1 < Connection: keep-alive
15:56:34.009
15:56:34.015 [FAILED toString()]
15:56:34.016 #notpresent
15:56:34.022 karate.env system property was: qa 15:56:34.023 [print] test
15:56:34.034 [print] Inside get review service
15:56:34.036 request:
1 > GET http://localhost:8085/userbyname?username=idontexistsorry
1 > Host: localhost:8085
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231)
1 > Accept-Encoding: gzip,deflate
15:56:34.108 response time in milliseconds: 71
1 < 500
1 < Vary: Origin
1 < Vary: Access-Control-Request-Method
1 < Vary: Access-Control-Request-Headers
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Date: Tue, 09 Jan 2024 22:56:33 GMT
1 < Connection: close
{"path":"\/userbyname","error":"Internal Server Error","message":"No message available","timestamp":"2024-01-09T22:56:34.107+0000","status":500}
15:56:34.109 Internal Server Error
15:56:34.110 Internal Server Error
15:56:34.035 karate.env system property was: qa 15:56:34.037 [print] test
15:56:34.043 [print] Inside get review service
15:56:34.045 request:
1 > GET http://localhost:8085/userbyname?username=hjkl;'@#$
1 > Host: localhost:8085
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231)
1 > Accept-Encoding: gzip,deflate
15:56:34.108 response time in milliseconds: 62
1 < 500
1 < Vary: Origin
1 < Vary: Access-Control-Request-Method
1 < Vary: Access-Control-Request-Headers
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Date: Tue, 09 Jan 2024 22:56:33 GMT
1 < Connection: close
{"path":"\/userbyname","error":"Internal Server Error","message":"No message available","timestamp":"2024-01-09T22:56:34.105+0000","status":500}
15:56:34.110 Internal Server Error
15:56:34.110 Internal Server Error
15:56:34.115 karate.env system property was: qa 15:56:34.116 [print] test
15:56:34.122 [print] Inside get review service
15:56:34.124 request:
1 > GET http://localhost:8085/namebyuser?userid=999
1 > Host: localhost:8085
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231)
1 > Accept-Encoding: gzip,deflate
15:56:34.176 response time in milliseconds: 51
1 < 500
1 < Vary: Origin
1 < Vary: Access-Control-Request-Method
1 < Vary: Access-Control-Request-Headers
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Date: Tue, 09 Jan 2024 22:56:33 GMT
1 < Connection: close
{"path":"\/namebyuser","error":"Internal Server Error","message":"No message available","timestamp":"2024-01-09T22:56:34.173+0000","status":500}
15:56:34.177 {
"path": "/namebyuser",
"error": "Internal Server Error",
"message": "No message available",
"timestamp": "2024-01-09T22:56:34.173+0000",
"status": 500
}
15:56:34.178 Internal Server Error
15:56:34.178 Internal Server Error
15:56:34.179 No message available
15:56:34.180 No message available
15:56:34.184 karate.env system property was: qa 15:56:34.185 [print] test
15:56:34.189 [print] Inside get review service
15:56:34.191 request:
1 > GET http://localhost:8085/namebyuser?userid=abc
1 > Host: localhost:8085
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_231)
1 > Accept-Encoding: gzip,deflate
15:56:34.196 response time in milliseconds: 5
1 < 400
1 < Vary: Origin
1 < Vary: Access-Control-Request-Method
1 < Vary: Access-Control-Request-Headers
1 < Content-Type: application/json
1 < Transfer-Encoding: chunked
1 < Date: Tue, 09 Jan 2024 22:56:33 GMT
1 < Connection: close
{"path":"\/namebyuser","error":"Bad Request","message":"Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: \"abc\"","timestamp":"2024-01-09T22:56:34.195+0000","status":400}
15:56:34.197 {
"path": "/namebyuser",
"error": "Bad Request",
"message": "Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: \"abc\"",
"timestamp": "2024-01-09T22:56:34.195+0000",
"status": 400
}
15:56:34.198 Bad Request
15:56:34.198 Bad Request
15:56:34.198 Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "abc"
15:56:34.199 Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "abc"