The can cause class instantiation failure for testng which stops the whole testing. We can move initialization of hcat clients to the BeforeClass/BeforeMethod functions.