MockWebServer server = mockOpenStackServer();
server.enqueue(addCommonHeaders(new MockResponse().setBody(stringFromResource("/access.json"))));
server.enqueue(addCommonHeaders(new MockResponse().setResponseCode(201).setBody(stringFromResource("/autoscale_groups_create_response.json"))));
try {
AutoscaleApi autoscaleApi = api(server.getUrl("/").toString(), "rackspace-autoscale", overrides);
GroupApi api = autoscaleApi.getGroupApiForZone("DFW");
GroupConfiguration groupConfiguration = GroupConfiguration.builder()
.maxEntities(10)
.cooldown(360)
.name("testscalinggroup198547")