AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1DashboardCountRunsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound #19

Open AtifaFahmeen opened 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=YzZhNTk1ZmUtZTgzNS00ZWQzLWIyN2QtOTU1YjQ3MTE2Zjlj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 22 Jan 2019 09:38:12 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-runs-between?fromDate=

Request :

Response :
{ "timestamp" : "2019-01-22T09:38:12.911+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-runs-between" }

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

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-runs-between?fromDate=

Request :

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

Logs :
2019-01-23 05:47:16 ERROR [ApiV1DashboardCountRunsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : No module found with the name [FXLabs/Common/MySQL-TimeBound-SQL_Injection_Strings] defined in Fxfile.yaml 2019-01-23 05:47:18 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/dashboard/count-runs-between?fromDate=] 2019-01-23 05:47:18 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:47:18 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:47:18 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:47:18 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:47:18.125+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-runs-between" }] 2019-01-23 05:47:18 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : 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=ZWJmYWM3ODctZDJmYi00ZGEwLWI2MzctN2Q2MDJiZjRlZDBk; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:47:17 GMT]}] 2019-01-23 05:47:18 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:47:18 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Time [1394] 2019-01-23 05:47:18 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Size [163] 2019-01-23 05:47:18 INFO [ApiV1DashboardCountRunsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1394 < 7000 OR 1394 > 10000] result [Passed] 2019-01-23 05:47:18 ERROR [ApiV1DashboardCountRunsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : 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 : 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=ZjM3ZjA5ODQtYWI1ZS00YWQ4LWI0YzYtZTg1NjZhNmZkNDAz; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:54:28 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-runs-between?fromDate=

Request :

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

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [547 < 7000 OR 547 > 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-runs-between?fromDate=

Request :

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

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

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-runs-between?fromDate=

Request :

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

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

--- FX Bot ---