jaleelsyed / rbac

0 stars 0 forks source link

RBAC testing : ApiV1JobsPostRoleAdminDisallowedRbac #163

Closed jaleelsyed closed 5 years ago

jaleelsyed commented 5 years ago

Project : RBAC testing

Job : Default

Env : Default

Category : null

Tags : null

Severity : null

Region : local

Result : fail

Status Code : 500

Headers : {}

Endpoint : http://localhost:8090/api/v1/jobs

Request :
{ "categories" : "rNFB4SwJ", "closedIssues" : "1800558611", "createdBy" : "", "createdDate" : "", "cron" : "rNFB4SwJ", "description" : "", "environment" : { "auths" : [ { } ], "baseUrl" : "rNFB4SwJ", "createdBy" : "", "createdDate" : "", "description" : "rNFB4SwJ", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "rNFB4SwJ", "projectId" : "rNFB4SwJ", "refId" : "rNFB4SwJ", "version" : "" }, "id" : "", "inactive" : false, "issueTracker" : { "account" : "rNFB4SwJ", "accountType" : "Microsoft_TFS_Git", "id" : "", "name" : "rNFB4SwJ", "projectKey" : "rNFB4SwJ", "url" : "rNFB4SwJ" }, "issueTrackerToDo" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "rNFB4SwJ", "nextFire" : null, "notificationToDo" : false, "notifications" : [ { } ], "openIssues" : "1800558611", "project" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "rNFB4SwJ", "org" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "rNFB4SwJ", "version" : "" }, "version" : "" }, "refId" : "rNFB4SwJ", "regions" : "rNFB4SwJ", "version" : "" }

Response :
I/O error on POST request for "http://localhost:8090/api/v1/jobs": Connect to localhost:8090 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect; nested exception is org.apache.http.conn.HttpHostConnectException: Connect to localhost:8090 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect

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