{"action":"created","issue":{"url":"https://api.github.com/repos/jayway/rest-assured/issues/534","labels_url":"https://api.github.com/repos/jayway/rest-assured/issues/534/labels{/name}","comments_url":"https://api.github.com/repos/jayway/rest-assured/issues/534/comments","events_url":"https://api.github.com/repos/jayway/rest-assured/issues/534/events","html_url":"https://github.com/jayway/rest-assured/issues/534","id":96275736,"number":534,"title":"Support baseURL/port setting for parallel testing","user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jayway/rest-assured/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/jayway/rest-assured/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/jayway/rest-assured/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-21T09:52:26Z","updated_at":"2015-11-13T11:10:59Z","closed_at":null,"body":"_From [eskato...@gmail.com](https://code.google.com/u/115671622875546989676/) on December 15, 2014 10:43:19_\n\nWhat steps will reproduce the problem? 1. Set RestAssured.baseURL and RestAssured.port in a @BeforeClass\r\n2. Have multiple tests using different baseURLs/ports but without specifying on each rest-assured invocation\r\n3. Running tests in sequence work as expected\r\n4. Running tests in parallel fail as baseURLs and ports are statics\r\n\r\nSo, the issue here is that as baseURLs and port are statics, running tests in parallel mix them up.\r\nThis is how things should work.\r\n\r\nBut, what would you propose in order to be able to run tests in parallel without specifying baseURL & port on each rest-assured invocation ?\r\n\r\nI see nasty ThreadLocals ... but maybe you could suggest something else I haven't tought about.\r\n\r\nLoving rest-assured BTW :)\n\n_Original issue: http://code.google.com/p/rest-assured/issues/detail?id=379_"},"comment":{"url":"https://api.github.com/repos/jayway/rest-assured/issues/comments/156399993","html_url":"https://github.com/jayway/rest-assured/issues/534#issuecomment-156399993","issue_url":"https://api.github.com/repos/jayway/rest-assured/issues/534","id":156399993,"user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T11:10:59Z","updated_at":"2015-11-13T11:10:59Z","body":"@whiskeysierra That looks like a nice API and it would be great if REST Assured were to support this. Unfortunately I can't see myself having time to implement this in the near future. You're very welcome to have a go at it yourself if you like (a pull request would be greatly appreciated). "}}