AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1DashboardCountTestsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound #145

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=ZDE0ZjY2MDUtZDhkNy00YWUwLThlZWUtMDdiM2ZkYTZhNjFk; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:48:20 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-tests-between?toDate=

Request :

Response :
{ "timestamp" : "2019-01-23T05:48:20.210+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-tests-between" }

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [706 < 7000 OR 706 > 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=MDE1NTlmNGEtYTlmMy00MzQxLTlkZTItYzIyYTZmOWRlODBh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:57:03 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-tests-between?toDate=

Request :

Response :
{ "timestamp" : "2019-01-23T05:57:03.318+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-tests-between" }

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [703 < 7000 OR 703 > 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 : pass

Status Code : 500

Headers : {}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-tests-between?toDate=

Request :

Response :
I/O error on GET request for "http://localhost:8080/api/v1/api/v1/dashboard/count-tests-between": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out

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

AtifaFahmeen commented 5 years ago

Project : FX SQL Test

Job : Default

Env : Default

Region : US_WEST_2

Result : pass

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=M2E3Y2FlNjctYjUyNS00ZTZmLTg2M2QtM2U0YWJmODgyNWNj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:57:28 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-tests-between?toDate=

Request :

Response :
{ "timestamp" : "2019-01-23T09:57:28.382+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-tests-between" }

Logs :
2019-01-23 09:57:27 ERROR [ApiV1DashboardCountTestsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : No module found with the name [FXLabs/Common/MySQL-TimeBound-SQL_Injection_Strings] defined in Fxfile.yaml 2019-01-23 09:57:28 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/dashboard/count-tests-between?toDate=] 2019-01-23 09:57:28 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 09:57:28 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Request [] 2019-01-23 09:57:28 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 09:57:28 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T09:57:28.382+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-tests-between" }] 2019-01-23 09:57:28 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : 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=M2E3Y2FlNjctYjUyNS00ZTZmLTg2M2QtM2U0YWJmODgyNWNj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:57:28 GMT]}] 2019-01-23 09:57:28 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 09:57:28 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Time [523] 2019-01-23 09:57:28 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Size [164] 2019-01-23 09:57:28 INFO [ApiV1DashboardCountTestsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [523 < 7000 OR 523 > 10000] result [Passed] 2019-01-23 09:57:28 ERROR [ApiV1DashboardCountTestsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed]

--- FX Bot ---