--- 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:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=B596AA8B326F084D487F4E5F131DC6DB; 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:37 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:36 GMT Set-Cookie: - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly - TCSESSIONID=6BA7F541E2F65F61F460A8BC68A8F968; 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:37 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=CC4B130A35C4C464C4A7DB1376FA258D; 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=7005D429EDE5C895F92E2EE946D26E8D; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"count\":0,\"vcs-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 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=CE139BFD7DEEBAAC8E197A4EF8DC1BC2; 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=075D496327403C88531E8635C0F32864; 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: put uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/buildTypes/SampleProject_SampleBuildConfiguration/settings/checkoutMode body: string: ON_AGENT headers: Content-Type: - text/plain response: status: code: 200 message: OK headers: Content-Type: - text/plain 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=5B401DB394E9E884725E35AAA142735C; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: ON_AGENT 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/settings 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=9287BD444C9011C8516BB4E6EB1FD966; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"property\":[{\"name\":\"allowExternalStatus\",\"value\":\"false\"},{\"name\":\"artifactRules\",\"value\":\"\"},{\"name\":\"buildNumberCounter\",\"value\":\"1\"},{\"name\":\"buildNumberPattern\",\"value\":\"%build.counter%\"},{\"name\":\"checkoutDirectory\"},{\"name\":\"checkoutMode\",\"value\":\"ON_AGENT\"},{\"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\":\"+:\"}]}" 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/settings 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=A765D8EC0CC099417F394C507696BD21; Path=/; HttpOnly Transfer-Encoding: - chunked Server: - Apache-Coyote/1.1 Cache-Control: - no-cache - no-store body: string: "{\"property\":[{\"name\":\"allowExternalStatus\",\"value\":\"false\"},{\"name\":\"artifactRules\",\"value\":\"\"},{\"name\":\"buildNumberCounter\",\"value\":\"1\"},{\"name\":\"buildNumberPattern\",\"value\":\"%build.counter%\"},{\"name\":\"checkoutDirectory\"},{\"name\":\"checkoutMode\",\"value\":\"ON_AGENT\"},{\"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\":\"+:\"}]}" http_version: recorded_at: Fri, 23 May 2014 15:05:37 GMT recorded_with: VCR 2.4.0