devopsenggineer / Sanity

0 stars 0 forks source link

twre : ApiV1UsersEnterpriseSignUpPostRoleUserDisallowedRbac #12

Open devopsenggineer opened 5 years ago

devopsenggineer commented 5 years ago

Project : twre

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=[Thu, 21 Feb 2019 09:59:23 GMT]}

Endpoint : http://54.215.136.217/api/v1/users/enterprise-sign-up

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Powlowski, Powlowski and Powlowski", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "malvina.bednar@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Accounting Associate", "location" : "ft92120z", "modifiedBy" : "", "modifiedDate" : "", "name" : "ft92120z", "password" : "ft92120z", "privileges" : [ "ft92120z" ], "username" : "ressie.hane", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-21T09:59:23.611+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Powlowski, Powlowski and Powlowski] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

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