asriz7777 / FX-Scripts-Functional

0 stars 0 forks source link

Vulnerability [null] : GET:/api/v1/products #157

Closed asriz7777 closed 5 years ago

asriz7777 commented 5 years ago

Project : testapp

Template : ApiV1ProductsGetQueryParamPageSla

Run Id : 8a80810f695d230201695d30e7320e60

Job : Default

Env : Default

Category : null

Tags : null

Severity : null

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 200

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=OTE2MDgxZDMtYjg0Yi00ZjVjLWE1OTktMWIwMmIzMmIxNTMz; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Fri, 08 Mar 2019 12:04:47 GMT]}

Endpoint : http://54.215.136.217/api/v1/products?page=1001&pageSize=1001

Request :

Response :
{ "requestId" : "None", "requestTime" : "2019-03-08T12:04:47.303+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "findAll.arg1: must be less than or equal to 20" } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
Assertion [@StatusCode == 200 AND @ResponseTime < 1000] resolved-to [200 == 200 AND 2745 < 1000] result [Failed] --- FX Bot ---

asriz7777 commented 5 years ago

Message : This issue is manually closed from FX control plane.

Project : testapp

Template : ApiV1ProductsGetQueryParamPageSla

Run Id : 8a80810f695d230201695d30e7320e60

Job : Default

Env : Default

Category : null

Tags : null

Severity : null

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 200

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=OTE2MDgxZDMtYjg0Yi00ZjVjLWE1OTktMWIwMmIzMmIxNTMz; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Fri, 08 Mar 2019 12:04:47 GMT]}

Endpoint : http://54.215.136.217/api/v1/products?page=1001&pageSize=1001

Request :

Response :
{ "requestId" : "None", "requestTime" : "2019-03-08T12:04:47.303+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "findAll.arg1: must be less than or equal to 20" } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
Assertion [@StatusCode == 200 AND @ResponseTime < 1000] resolved-to [200 == 200 AND 2745 < 1000] result [Failed] --- FX Bot ---