zahedmohammed / testingApi

0 stars 0 forks source link

Test13 : ApiV1UsersEnterpriseSignUpPostRoleAdminDisallowedRbac #190

Open zahedmohammed opened 5 years ago

zahedmohammed commented 5 years ago

Project : Test13

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:18:32 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Stehr-Stehr", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "eusebio.toy@yahoo.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Marketing Associate", "location" : "AnTFQfww", "modifiedBy" : "", "modifiedDate" : "", "name" : "AnTFQfww", "password" : "AnTFQfww", "privileges" : [ "AnTFQfww" ], "username" : "maria.shanahan", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-21T09:18:32.940+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Stehr-Stehr] 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 ---

zahedmohammed commented 5 years ago

Project : Test13

Job : Default

Env : Default

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:25:23 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Stracke-Stracke", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "freddie.stehr@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Marketing Officer", "location" : "0vC9MQlZ", "modifiedBy" : "", "modifiedDate" : "", "name" : "0vC9MQlZ", "password" : "0vC9MQlZ", "privileges" : [ "0vC9MQlZ" ], "username" : "berneice.kutch", "version" : "" }

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

Logs :
2019-02-21 09:25:23 DEBUG [ApiV1UsersEnterpriseSignUpPostRoleAdminDisallowedRbac] : URL [http://54.215.136.217/api/v1/users/enterprise-sign-up] 2019-02-21 09:25:23 DEBUG [ApiV1UsersEnterpriseSignUpPostRoleAdminDisallowedRbac] : Method [POST] 2019-02-21 09:25:23 DEBUG [ApiV1UsersEnterpriseSignUpPostRoleAdminDisallowedRbac] : Request [{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Stracke-Stracke", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "freddie.stehr@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Marketing Officer", "location" : "0vC9MQlZ", "modifiedBy" : "", "modifiedDate" : "", "name" : "0vC9MQlZ", "password" : "0vC9MQlZ", "privileges" : [ "0vC9MQlZ" ], "username" : "berneice.kutch", "version" : "" }] 2019-02-21 09:25:23 DEBUG [ApiV1UsersEnterpriseSignUpPostRoleAdminDisallowedRbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-02-21 09:25:23 DEBUG [ApiV1UsersEnterpriseSignUpPostRoleAdminDisallowedRbac] : Response [{ "requestId" : "None", "requestTime" : "2019-02-21T09:25:23.318+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Stracke-Stracke] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }] 2019-02-21 09:25:23 DEBUG [ApiV1UsersEnterpriseSignUpPostRoleAdminDisallowedRbac] : 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], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Thu, 21 Feb 2019 09:25:23 GMT]}] 2019-02-21 09:25:23 DEBUG [ApiV1UsersEnterpriseSignUpPostRoleAdminDisallowedRbac] : StatusCode [200] 2019-02-21 09:25:23 DEBUG [ApiV1UsersEnterpriseSignUpPostRoleAdminDisallowedRbac] : Time [536] 2019-02-21 09:25:23 DEBUG [ApiV1UsersEnterpriseSignUpPostRoleAdminDisallowedRbac] : Size [209] 2019-02-21 09:25:23 ERROR [ApiV1UsersEnterpriseSignUpPostRoleAdminDisallowedRbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]

--- FX Bot ---