{"action":"created","issue":{"url":"https://api.github.com/repos/betamaxteam/betamax/issues/218","repository_url":"https://api.github.com/repos/betamaxteam/betamax","labels_url":"https://api.github.com/repos/betamaxteam/betamax/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/betamaxteam/betamax/issues/218/comments","events_url":"https://api.github.com/repos/betamaxteam/betamax/issues/218/events","html_url":"https://github.com/betamaxteam/betamax/issues/218","id":193571966,"number":218,"title":"betamax doesn't creates tapes","user":{"login":"spilth","id":13157,"avatar_url":"https://avatars.githubusercontent.com/u/13157?v=3","gravatar_id":"","url":"https://api.github.com/users/spilth","html_url":"https://github.com/spilth","followers_url":"https://api.github.com/users/spilth/followers","following_url":"https://api.github.com/users/spilth/following{/other_user}","gists_url":"https://api.github.com/users/spilth/gists{/gist_id}","starred_url":"https://api.github.com/users/spilth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spilth/subscriptions","organizations_url":"https://api.github.com/users/spilth/orgs","repos_url":"https://api.github.com/users/spilth/repos","events_url":"https://api.github.com/users/spilth/events{/privacy}","received_events_url":"https://api.github.com/users/spilth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-05T18:18:10Z","updated_at":"2016-12-16T17:33:36Z","closed_at":null,"body":"When I run my test:\r\n\r\n- `src/test/resources/betamax/tapes` (the default tape directory) is not created\r\n- no tapes are made.\r\n\r\nI'm using https and have added the `betamax.pem` using `keytool`.\r\n\r\nHere's what's in my `pom.xml`:\r\n\r\n    <dependency>\r\n        <groupId>software.betamax</groupId>\r\n        <artifactId>betamax-junit</artifactId>\r\n        <version>2.0.1</version>\r\n        <scope>test</scope>\r\n    </dependency>\r\n    \r\n    <dependency>\r\n        <groupId>org.apache.httpcomponents</groupId>\r\n        <artifactId>httpclient</artifactId>\r\n        <version>4.5.1</version>\r\n    </dependency>\r\n        \r\nAnd here's what my test looks like:\r\n\r\n    public class ContentAPITest {\r\n        @Rule\r\n        public TestName testName = new TestName();\r\n\r\n        @Rule\r\n        public ExpectedException thrown = ExpectedException.none();\r\n\r\n        Configuration configuration = Configuration.builder().build();\r\n        @Rule\r\n        public RecorderRule recorder = new RecorderRule(configuration);\r\n        \r\n        private ContentAPI api;\r\n\r\n        @Before\r\n        public void before() throws ContentAPIException {\r\n            api = new ContentAPI(\r\n                    System.getenv(\"LIOX_API_ACCESS_KEY_ID\"),\r\n                    System.getenv(\"LIOX_API_SECRET_KEY\"),\r\n                    System.getenv(\"LIOX_API_ENDPOINT\"),\r\n                    System.getenv(\"LIOX_API_DEFAULT_CURRENCY\")\r\n            );\r\n        }\r\n    \r\n        @Test\r\n        public void listLocales_returnsLocalesList() throws ContentAPIException {\r\n            List<Locale> locales = api.listLocales().getLocales();\r\n\r\n            assertThat(locales, Matchers.<Locale>hasItem(hasProperty(\"name\", equalTo(\"English (United States)\"))));\r\n            assertThat(locales, Matchers.<Locale>hasItem(hasProperty(\"code\", equalTo(\"en-us\"))));\r\n        }   \r\n    }\r\n    \r\nContentAPI.listLocales uses `org.apache.httpcomponents:httpclient:4.5.1` to contact a REST API and retrieve a list of Locales.\r\n"},"comment":{"url":"https://api.github.com/repos/betamaxteam/betamax/issues/comments/267649826","html_url":"https://github.com/betamaxteam/betamax/issues/218#issuecomment-267649826","issue_url":"https://api.github.com/repos/betamaxteam/betamax/issues/218","id":267649826,"user":{"login":"cowboygneox","id":1126866,"avatar_url":"https://avatars.githubusercontent.com/u/1126866?v=3","gravatar_id":"","url":"https://api.github.com/users/cowboygneox","html_url":"https://github.com/cowboygneox","followers_url":"https://api.github.com/users/cowboygneox/followers","following_url":"https://api.github.com/users/cowboygneox/following{/other_user}","gists_url":"https://api.github.com/users/cowboygneox/gists{/gist_id}","starred_url":"https://api.github.com/users/cowboygneox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cowboygneox/subscriptions","organizations_url":"https://api.github.com/users/cowboygneox/orgs","repos_url":"https://api.github.com/users/cowboygneox/repos","events_url":"https://api.github.com/users/cowboygneox/events{/privacy}","received_events_url":"https://api.github.com/users/cowboygneox/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T17:33:36Z","updated_at":"2016-12-16T17:33:36Z","body":"@quiqua It's most likely that your http client needs to be specifically configured to use a proxy. Some clients use the JVM's configured proxy, but many don't. Can you try manually configuring the client to point at localhost on Betamax's port and see if that resolves the issue?"}}
{"actor":{"display_login":"cowboygneox"}}