--- http_interactions: - request: method: get uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:35 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=01196933DC74130ED24C0D40ED1E7D29; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"project\":[{\"id\":\"_Root\",\"name\":\"\",\"href\":\"/httpAuth/app/rest/projects/id:_Root\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=_Root\"},{\"id\":\"SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=SampleProject\",\"parentProjectId\":\"_Root\"}]}" http_version: recorded_at: Fri, 23 May 2014 15:05:36 GMT - request: method: delete uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 403 message: Forbidden headers: Content-Type: - text/plain Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:35 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=5C723419223CD419EBBDFD3C9908D075; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: |- Error has occurred during request processing (Forbidden). Error: jetbrains.buildServer.serverSide.auth.AccessDeniedException: Root project cannot be removed Access denied. Check the user has enough permissions to perform the operation. http_version: recorded_at: Fri, 23 May 2014 15:05:36 GMT - request: method: delete uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:SampleProject body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 204 message: No Content headers: Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=38C5BB94E2B9B3A68025DAECC678139F; Path=/; HttpOnly Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "" http_version: recorded_at: Fri, 23 May 2014 15:05:37 GMT - request: method: get uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=93FF6AD40C51991CD3D1ABFBCF28A14D; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"count\":1,\"vcs-root\":[{\"id\":\"Root_SampleVcsRoot\",\"name\":\"Sample VCS Root\",\"href\":\"/httpAuth/app/rest/vcs-roots/id:Root_SampleVcsRoot\"}]}" http_version: recorded_at: Fri, 23 May 2014 15:05:37 GMT - request: method: delete uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots/id:Root_SampleVcsRoot body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 204 message: No Content headers: Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=107F1C9D061C183A22D97784494B2D2A; Path=/; HttpOnly Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "" http_version: recorded_at: Fri, 23 May 2014 15:05:37 GMT - request: method: post uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects body: string: "{\"name\":\"Sample Project\"}" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=18858DCB45B310867F0C4007CB887F7A; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"id\":\"SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=SampleProject\",\"parentProjectId\":\"_Root\"}" http_version: recorded_at: Fri, 23 May 2014 15:05:37 GMT - request: method: post uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:SampleProject/buildTypes body: string: "{\"name\":\"Sample Build Configuration\"}" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=91BC4E5271DC796D21740B1E649D6B6C; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"id\":\"SampleProject_SampleBuildConfiguration\",\"name\":\"Sample Build Configuration\",\"href\":\"/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration\",\"webUrl\":\"http://localhost:8111/viewType.html?buildTypeId=SampleProject_SampleBuildConfiguration\",\"paused\":false,\"project\":{\"id\":\"SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=SampleProject\",\"parentProjectId\":\"_Root\"},\"builds\":{\"href\":\"/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration/builds/\"},\"vcs-root-entries\":{\"vcs-root-entry\":[]},\"settings\":{\"property\":[{\"name\":\"allowExternalStatus\",\"value\":\"false\"},{\"name\":\"artifactRules\",\"value\":\"\"},{\"name\":\"buildNumberCounter\",\"value\":\"1\"},{\"name\":\"buildNumberPattern\",\"value\":\"%build.counter%\"},{\"name\":\"checkoutDirectory\"},{\"name\":\"checkoutMode\",\"value\":\"ON_SERVER\"},{\"name\":\"cleanBuild\",\"value\":\"false\"},{\"name\":\"enableHangingBuildsDetection\",\"value\":\"true\"},{\"name\":\"executionTimeoutMin\",\"value\":\"0\"},{\"name\":\"maximumNumberOfBuilds\",\"value\":\"0\"},{\"name\":\"shouldFailBuildIfTestsFailed\",\"value\":\"true\"},{\"name\":\"shouldFailBuildOnAnyErrorMessage\",\"value\":\"false\"},{\"name\":\"shouldFailBuildOnBadExitCode\",\"value\":\"true\"},{\"name\":\"shouldFailBuildOnOOMEOrCrash\",\"value\":\"true\"},{\"name\":\"showDependenciesChanges\",\"value\":\"false\"},{\"name\":\"vcsLabelingBranchFilter\",\"value\":\"+:\"}]},\"parameters\":{\"property\":[]},\"steps\":{\"step\":[]},\"features\":{\"feature\":[]},\"triggers\":{\"trigger\":[]},\"snapshot-dependencies\":{\"snapshot-dependency\":[]},\"artifact-dependencies\":{\"artifact-dependency\":[]},\"agent-requirements\":{\"agent-requirement\":[]}}" http_version: recorded_at: Fri, 23 May 2014 15:05:37 GMT - request: method: post uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration/steps body: string: "{\"name\":\"Sample Step\",\"properties\":{\"property\":[{\"value\":\"verify\",\"name\":\"goals\"}]},\"type\":\"Maven\"}" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=1A6B013F78E77A2FE6952FAE4661A64B; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"id\":\"RUNNER_52\",\"name\":\"Sample Step\",\"type\":\"Maven\",\"properties\":{\"property\":[{\"name\":\"goals\",\"value\":\"verify\"}]}}" http_version: recorded_at: Fri, 23 May 2014 15:05:37 GMT - request: method: get uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration/steps body: string: "" headers: Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json Expires: - Thu, 01 Jan 1970 00:00:00 GMT Pragma: - no-cache Date: - Fri, 23 May 2014 15:05:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=6DF21B2A80025F0960D54F5B70D28544; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"step\":[{\"id\":\"RUNNER_52\",\"name\":\"Sample Step\",\"type\":\"Maven\",\"properties\":{\"property\":[{\"name\":\"goals\",\"value\":\"verify\"}]}}]}" http_version: recorded_at: Fri, 23 May 2014 15:05:37 GMT recorded_with: VCR 2.4.0