AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1ProjectsSearchGetQueryParamPageMysqlSqlInjectionTimebound #164

Closed AtifaFahmeen closed 5 years ago

AtifaFahmeen commented 5 years ago

Project : FX SQL Test

Job : Default

Env : Default

Category : null

Tags : null

Severity : null

Region : US_WEST_2

Result : fail

Status Code : 404

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Set-Cookie=[SESSION=ZWNiZWRlMTktN2I1ZC00NDM5LWE5MTQtZmNlMDEwZWM0OWVj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:50:36 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/projects/search?page=

Request :

Response :
{ "timestamp" : "2019-01-23T05:50:36.202+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/projects/search" }

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [396 < 7000 OR 396 > 10000] result [Passed]Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed] --- FX Bot ---

AtifaFahmeen commented 5 years ago

Project : FX SQL Test

Job : Default

Env : Default

Region : US_WEST_2

Result : fail

Status Code : 404

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Set-Cookie=[SESSION=NGU2ZmQ3ZTgtYjkzZi00ZWIxLTllYjktYjQ0YzU0NzJjOWE3; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:57:08 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/projects/search?page=

Request :

Response :
{ "timestamp" : "2019-01-23T05:57:08.341+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/projects/search" }

Logs :
2019-01-23 05:57:08 DEBUG [ApiV1ProjectsSearchGetQueryParamPageMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/projects/search?page=] 2019-01-23 05:57:08 DEBUG [ApiV1ProjectsSearchGetQueryParamPageMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:57:08 DEBUG [ApiV1ProjectsSearchGetQueryParamPageMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:57:08 DEBUG [ApiV1ProjectsSearchGetQueryParamPageMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:57:08 DEBUG [ApiV1ProjectsSearchGetQueryParamPageMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:57:08.341+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/projects/search" }] 2019-01-23 05:57:08 DEBUG [ApiV1ProjectsSearchGetQueryParamPageMysqlSqlInjectionTimebound] : Response-Headers [{X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Set-Cookie=[SESSION=NGU2ZmQ3ZTgtYjkzZi00ZWIxLTllYjktYjQ0YzU0NzJjOWE3; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:57:08 GMT]}] 2019-01-23 05:57:08 DEBUG [ApiV1ProjectsSearchGetQueryParamPageMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:57:08 DEBUG [ApiV1ProjectsSearchGetQueryParamPageMysqlSqlInjectionTimebound] : Time [428] 2019-01-23 05:57:08 DEBUG [ApiV1ProjectsSearchGetQueryParamPageMysqlSqlInjectionTimebound] : Size [150] 2019-01-23 05:57:08 INFO [ApiV1ProjectsSearchGetQueryParamPageMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [428 < 7000 OR 428 > 10000] result [Passed] 2019-01-23 05:57:08 ERROR [ApiV1ProjectsSearchGetQueryParamPageMysqlSqlInjectionTimebound] : Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed]

--- FX Bot ---

AtifaFahmeen commented 5 years ago

Project : FX SQL Test

Job : Default

Env : Default

Region : US_WEST_2

Result : pass

Status Code : 500

Headers : {}

Endpoint : http://localhost:8080/api/v1/api/v1/projects/search?page=

Request :

Response :
I/O error on GET request for "http://localhost:8080/api/v1/api/v1/projects/search": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out

Logs :
Assertion [@StatusCode != 404] resolved-to [500 != 404] result [Passed]Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [15021 < 7000 OR 15021 > 10000] result [Passed] --- FX Bot ---