This test should extend the [BaseApiLiveTest](https://github.com/jclouds/jclouds/blob/master/core/src/test/java/org/jclouds/apis/BaseApiLiveTest.java). This way the glacier client will be automatically created using the credentials and configuration passed as system properties, and you'll have it accessible in the `api` protected variable.