Project Date
moviegram-test 09 Jan 2024, 15:56

Tag Report

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
Tags: @negative
2.168
* print 'test' 0.001
15:56:31.680 karate.env system property was: qa 
15:56:31.680 [print] test 
* def test = call read('classpath:tests/services/moviesearch.feature') 1.002
tests/services/moviesearch.feature 0.000
> * print 'Inside get review service' 0.001
15:56:31.700 [print] Inside get review service 
> Given url baseUrl + 'movies?moviename=' + filmtitle + '&movieyear=' + filmyear 0.000
> When method get 0.984
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}
> Then status 200 0.000
* karate.log(test.response) 0.001
15:56:32.688 {
  "Year": null,
  "imdbID": null,
  "Poster": null,
  "Title": null
}
 
* assert test.responseStatus == respStatus 0.000
* match test.response.imdbID == imdbID 0.175
Tags: @negative
2.178
* print 'test' 0.001
15:56:31.675 karate.env system property was: qa 
15:56:31.679 [print] test 
* def test = call read('classpath:tests/services/moviesearch.feature') 1.016
tests/services/moviesearch.feature 0.000
> * print 'Inside get review service' 0.001
15:56:31.701 [print] Inside get review service 
> Given url baseUrl + 'movies?moviename=' + filmtitle + '&movieyear=' + filmyear 0.000
> When method get 0.991
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"}
> Then status 200 0.000
* karate.log(test.response) 0.001
15:56:32.698 {
  "Year": "2009",
  "imdbID": "tt0796366",
  "Poster": "https://m.media-amazon.com/images/M/MV5BMjE5NDQ5OTE4Ml5BMl5BanBnXkFtZTcwOTE3NDIzMw@@._V1_SX300.jpg",
  "Title": "Star Trek"
}
 
* assert test.responseStatus == respStatus 0.000
* match test.response.imdbID == imdbID 0.164
Tags: @negative
0.460
* print 'test' 0.001
15:56:32.818 karate.env system property was: qa 
15:56:32.822 [print] test 
* def test = call read('classpath:tests/services/movieposter.feature') 0.239
tests/services/movieposter.feature 0.000
> * print 'Inside get review service' 0.001
15:56:32.848 [print] Inside get review service 
> Given url baseUrl + 'movieposter?imdbID=' + imdbID 0.000
> When method get 0.212
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}
* karate.log(test.response) 0.001
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
}
 
* assert test.responseStatus == respStatus 0.000
* karate.log(test.response.error) 0.000
15:56:33.063 Internal Server Error 
* karate.log(error) 0.000
15:56:33.064 Internal Server Error 
* assert test.response.error == error 0.000
* assert test.response.message == message 0.000
Tags: @negative
0.566
* print 'test' 0.000
15:56:32.873 karate.env system property was: qa 
15:56:32.874 [print] test 
* def test = call read('classpath:tests/services/movieposter.feature') 0.285
tests/services/movieposter.feature 0.000
> * print 'Inside get review service' 0.001
15:56:32.885 [print] Inside get review service 
> Given url baseUrl + 'movieposter?imdbID=' + imdbID 0.000
> When method get 0.273
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}
* karate.log(test.response) 0.000
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
}
 
* assert test.responseStatus == respStatus 0.000
* karate.log(test.response.error) 0.001
15:56:33.162 Internal Server Error 
* karate.log(error) 0.000
15:56:33.163 Internal Server Error 
* assert test.response.error == error 0.000
* assert test.response.message == message 0.000
Tags: @negative
0.135
* print 'test' 0.000
15:56:32.877 karate.env system property was: qa 
15:56:32.878 [print] test 
* def test = call read('classpath:tests/services/reviewsbyone.feature') 0.065
tests/services/reviewsbyone.feature 0.000
> * print 'Inside get review service' 0.002
15:56:32.888 [print] Inside get review service 
> Given url baseUrl + 'reviewsbyone?revid=' + revid 0.001
> When method get 0.052
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

* karate.log(test.response) 0.001
15:56:32.944  
* assert test.responseStatus == respStatus 0.000
* karate.log(test.response.error) 0.008
15:56:32.953 [FAILED toString()]
* karate.log(error) 0.001
15:56:32.954 #notpresent 
* match test.response.error == error 0.001
* match test.response.message == message 0.000
Tags: @negative
0.021
* print 'test' 0.000
15:56:32.962 karate.env system property was: qa 
15:56:32.964 [print] test 
* def test = call read('classpath:tests/services/reviewsbyone.feature') 0.010
tests/services/reviewsbyone.feature 0.000
> * print 'Inside get review service' 0.000
15:56:32.968 [print] Inside get review service 
> Given url baseUrl + 'reviewsbyone?revid=' + revid 0.000
> When method get 0.006
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}
* karate.log(test.response) 0.000
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
}
 
* assert test.responseStatus == respStatus 0.000
* karate.log(test.response.error) 0.000
15:56:32.977 Bad Request 
* karate.log(error) 0.000
15:56:32.977 Bad Request 
* match test.response.error == error 0.000
* match test.response.message == message 0.000
Tags: @negative
0.110
* print 'test' 0.000
15:56:33.168 karate.env system property was: qa 
15:56:33.169 [print] test 
* def test = call read('classpath:tests/services/reviewsbymovie.feature') 0.051
tests/services/reviewsbymovie.feature 0.000
> * print 'Inside get review service' 0.000
15:56:33.175 [print] Inside get review service 
> Given url baseUrl + 'reviewsbymovie?imdbid=' + imdbid 0.000
> When method get 0.045
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
[]
> Then status 200 0.000
* karate.log(test.response) 0.001
15:56:33.222 
* assert test.responseStatus == respStatus 0.000
* karate.log(test.response.error) 0.007
15:56:33.231 [FAILED toString()]
* karate.log(error) 0.000
15:56:33.232 #notpresent 
* match test.response.error == error 0.000
* match test.response.message == message 0.000
Tags: @negative
0.154
* print 'test' 0.000
15:56:33.237 karate.env system property was: qa 
15:56:33.238 [print] test 
* def test = call read('classpath:tests/services/reviewsbymovie.feature') 0.078
tests/services/reviewsbymovie.feature 0.000
> * print 'Inside get review service' 0.000
15:56:33.247 [print] Inside get review service 
> Given url baseUrl + 'reviewsbymovie?imdbid=' + imdbid 0.000
> When method get 0.069
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
[]
> Then status 200 0.000
* karate.log(test.response) 0.000
15:56:33.318 
* assert test.responseStatus == respStatus 0.000
* karate.log(test.response.error) 0.002
15:56:33.321 [FAILED toString()]
* karate.log(error) 0.000
15:56:33.321 #notpresent 
* match test.response.error == error 0.000
* match test.response.message == message 0.000
Tags: @negative
0.326
* print 'test' 0.000
15:56:33.860 karate.env system property was: qa 
15:56:33.861 [print] test 
* def test = call read('classpath:tests/services/reviewsbyuser.feature') 0.161
tests/services/reviewsbyuser.feature 0.000
> * print 'Inside get review service' 0.000
15:56:33.866 [print] Inside get review service 
> Given url baseUrl + 'reviewsbyuser?username=' + revusername 0.000
> When method get 0.155
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

* karate.log(test.response) 0.000
15:56:34.024  
* assert test.responseStatus == respStatus 0.000
* karate.log(test.response.error) 0.003
15:56:34.028 [FAILED toString()]
* karate.log(error) 0.000
15:56:34.028 #notpresent 
* match test.response.error == error 0.002
* match test.response.message == message 0.000
Tags: @negative
0.292
* print 'test' 0.000
15:56:33.862 karate.env system property was: qa 
15:56:33.863 [print] test 
* def test = call read('classpath:tests/services/reviewsbyuser.feature') 0.144
tests/services/reviewsbyuser.feature 0.000
> * print 'Inside get review service' 0.000
15:56:33.869 [print] Inside get review service 
> Given url baseUrl + 'reviewsbyuser?username=' + revusername 0.000
> When method get 0.137
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

* karate.log(test.response) 0.001
15:56:34.009  
* assert test.responseStatus == respStatus 0.000
* karate.log(test.response.error) 0.005
15:56:34.015 [FAILED toString()]
* karate.log(error) 0.000
15:56:34.016 #notpresent 
* match test.response.error == error 0.000
* match test.response.message == message 0.000
Tags: @negative
0.162
* print 'test' 0.000
15:56:34.022 karate.env system property was: qa 
15:56:34.023 [print] test 
* def test = call read('classpath:tests/services/userbyname.feature') 0.085
tests/services/userbyname.feature 0.000
> * print 'Inside get review service' 0.000
15:56:34.034 [print] Inside get review service 
> Given url baseUrl + 'userbyname?username=' + textuname 0.000
> When method get 0.073
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}
* assert test.responseStatus == respStatus 0.000
* karate.log(test.response.error) 0.000
15:56:34.109 Internal Server Error 
* karate.log(error) 0.000
15:56:34.110 Internal Server Error 
* assert test.response.error == error 0.000
* assert test.response.message == message 0.000
Tags: @negative
0.138
* print 'test' 0.000
15:56:34.035 karate.env system property was: qa 
15:56:34.037 [print] test 
* def test = call read('classpath:tests/services/userbyname.feature') 0.071
tests/services/userbyname.feature 0.000
> * print 'Inside get review service' 0.000
15:56:34.043 [print] Inside get review service 
> Given url baseUrl + 'userbyname?username=' + textuname 0.000
> When method get 0.064
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}
* assert test.responseStatus == respStatus 0.000
* karate.log(test.response.error) 0.000
15:56:34.110 Internal Server Error 
* karate.log(error) 0.000
15:56:34.110 Internal Server Error 
* assert test.response.error == error 0.000
* assert test.response.message == message 0.000
Tags: @negative
0.119
* print 'test' 0.000
15:56:34.115 karate.env system property was: qa 
15:56:34.116 [print] test 
* def test = call read('classpath:tests/services/userbyid.feature') 0.060
tests/services/userbyid.feature 0.000
> * print 'Inside get review service' 0.000
15:56:34.122 [print] Inside get review service 
> Given url baseUrl + 'namebyuser?userid=' + textuid 0.001
> When method get 0.052
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}
* karate.log(test.response) 0.000
15:56:34.177 {
  "path": "/namebyuser",
  "error": "Internal Server Error",
  "message": "No message available",
  "timestamp": "2024-01-09T22:56:34.173+0000",
  "status": 500
}
 
* assert test.responseStatus == respStatus 0.000
* karate.log(test.response.error) 0.000
15:56:34.178 Internal Server Error 
* karate.log(error) 0.000
15:56:34.178 Internal Server Error 
* assert test.response.error == error 0.000
* karate.log(test.response.message) 0.000
15:56:34.179 No message available 
* karate.log(message) 0.000
15:56:34.180 No message available 
* assert test.response.message == message 0.000
Tags: @negative
0.021
* print 'test' 0.000
15:56:34.184 karate.env system property was: qa 
15:56:34.185 [print] test 
* def test = call read('classpath:tests/services/userbyid.feature') 0.011
tests/services/userbyid.feature 0.000
> * print 'Inside get review service' 0.000
15:56:34.189 [print] Inside get review service 
> Given url baseUrl + 'namebyuser?userid=' + textuid 0.000
> When method get 0.007
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}
* karate.log(test.response) 0.000
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
}
 
* assert test.responseStatus == respStatus 0.000
* karate.log(test.response.error) 0.000
15:56:34.198 Bad Request 
* karate.log(error) 0.000
15:56:34.198 Bad Request 
* assert test.response.error == error 0.000
* karate.log(test.response.message) 0.000
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" 
* karate.log(message) 0.000
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" 
* assert test.response.message == message 0.000