zahedmohammed / testingApi

0 stars 0 forks source link

teat326126 : ApiV1PrimaryTransactionPutAnonymousInvalid #156

Open zahedmohammed opened 5 years ago

zahedmohammed commented 5 years ago

Project : teat326126

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], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Feb 2019 14:06:22 GMT]}

Endpoint : http://54.215.136.217/api/v1/primary-transaction

Request :
{ "amount" : "7100", "availableBalance" : "931601524", "createdBy" : "", "createdDate" : "", "description" : "ToXThTqe", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "ToXThTqe", "type" : "ToXThTqe", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "ToXThTqe", "version" : "" }, "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-20T14:06:22.173+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed] --- FX Bot ---