amjadafanah / FX-SAAS-9

This project is for testing the security and quality of APIs in FX SaaS
0 stars 0 forks source link

FX-SAAS-9 : ApiV1DataSetsGetQueryParamNegativeNumberPage #1309

Open amjadafanah opened 6 years ago

amjadafanah commented 6 years ago

Project : FX-SAAS-9

Job : Dev

Env : Dev

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], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Thu, 04 Oct 2018 11:07:59 GMT]}

Endpoint : http://13.56.210.25/api/v1/data-sets?page=-1

Request :

Response :
{ "requestId" : "None", "requestTime" : "2018-10-04T11:08:00.115+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Page index must not be less than zero!" } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
Assertion [@StatusCode != 401] resolved-to [200 != 401] result [Passed]Assertion [@StatusCode != 404] resolved-to [200 != 404] result [Passed]Assertion [@StatusCode != 200] resolved-to [200 != 200] result [Failed] --- FX Bot ---

amjadafanah commented 6 years ago

Project : FX-SAAS-9

Job : Dev

Env : Dev

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], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Fri, 05 Oct 2018 11:22:06 GMT]}

Endpoint : http://13.56.210.25/api/v1/data-sets?page=-1

Request :

Response :
{ "requestId" : "None", "requestTime" : "2018-10-05T11:22:06.947+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Page index must not be less than zero!" } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
Assertion [@StatusCode != 401] resolved-to [200 != 401] result [Passed]Assertion [@StatusCode != 404] resolved-to [200 != 404] result [Passed]Assertion [@StatusCode != 200] resolved-to [200 != 200] result [Failed] --- FX Bot ---