{"action":"created","issue":{"url":"https://api.github.com/repos/jayway/rest-assured/issues/239","labels_url":"https://api.github.com/repos/jayway/rest-assured/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/jayway/rest-assured/issues/239/comments","events_url":"https://api.github.com/repos/jayway/rest-assured/issues/239/events","html_url":"https://github.com/jayway/rest-assured/issues/239","id":96144299,"number":239,"title":"Global configuration mechanism wanted","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/enhancement","name":"enhancement","color":"FFFFFF"},{"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-Low","name":"Priority-Low","color":"ededed"},{"url":"https://api.github.com/repos/jayway/rest-assured/labels/wontfix","name":"wontfix","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-20T19:50:27Z","updated_at":"2015-07-20T19:50:40Z","closed_at":null,"body":"_From [yegor256](https://code.google.com/u/yegor256/) on July 09, 2011 08:03:00_\n\nIn every test case I have to repeat this:\r\n\r\n    @BeforeClass\r\n    public static void configureRestAssured() {\r\n        RestAssured.port = Integer.valueOf(System.getProperty(\"jetty.port\"));\r\n    }\r\n\r\nWould be much better to enable this configuration directly through some system property. I would set it once in pom.xml and RestAssured understand its value and configure itself. Makes sense?\n\n_Original issue: http://code.google.com/p/rest-assured/issues/detail?id=84_"},"comment":{"url":"https://api.github.com/repos/jayway/rest-assured/issues/comments/123007119","html_url":"https://github.com/jayway/rest-assured/issues/239#issuecomment-123007119","issue_url":"https://api.github.com/repos/jayway/rest-assured/issues/239","id":123007119,"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-07-20T19:50:40Z","updated_at":"2015-07-20T19:50:40Z","body":"_From [yegor256](https://code.google.com/u/yegor256/) on July 09, 2011 10:36:18_\n\nWell, one base class for all test cases sounds like a very dirty solution. Would be much better to enable global configuration of RestAssured through \".properties\" file, or system variables (the most preferable way). Thanks!"}}