AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound #150

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

Endpoint : http://localhost:8080/api/v1/api/v1/data-records?pageSize=

Request :

Response :
{ "timestamp" : "2019-01-23T05:49:14.618+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/data-records" }

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

Endpoint : http://localhost:8080/api/v1/api/v1/data-records?pageSize=

Request :

Response :
{ "timestamp" : "2019-01-23T05:56:01.070+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/data-records" }

Logs :
2019-01-23 05:56:01 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/data-records?pageSize=] 2019-01-23 05:56:01 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:56:01 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:56:01 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:56:01 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:56:01.070+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/data-records" }] 2019-01-23 05:56:01 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : 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=NGE5NzY3ZWMtZDcwZC00OGE3LWFjYmItMDc4YTgwZjYzMTRk; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:56:00 GMT]}] 2019-01-23 05:56:01 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:56:01 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Time [638] 2019-01-23 05:56:01 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Size [147] 2019-01-23 05:56:01 INFO [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [638 < 7000 OR 638 > 10000] result [Passed] 2019-01-23 05:56:01 ERROR [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : 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/data-records?pageSize=

Request :

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

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

Endpoint : http://localhost:8080/api/v1/api/v1/data-records?pageSize=

Request :

Response :
{ "timestamp" : "2019-01-23T09:58:39.593+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/data-records" }

Logs :
2019-01-23 09:58:39 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/data-records?pageSize=] 2019-01-23 09:58:39 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 09:58:39 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Request [] 2019-01-23 09:58:39 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 09:58:39 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T09:58:39.593+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/data-records" }] 2019-01-23 09:58:39 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : 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=YjRlYzM5MTMtZjMzMS00MmZlLWE0ZDUtOWJjMmEwYTM0ZGU4; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:58:39 GMT]}] 2019-01-23 09:58:39 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 09:58:39 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Time [13807] 2019-01-23 09:58:39 DEBUG [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Size [147] 2019-01-23 09:58:39 INFO [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [13807 < 7000 OR 13807 > 10000] result [Passed] 2019-01-23 09:58:39 ERROR [ApiV1DataRecordsGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed]

--- FX Bot ---