@Test(groups = "wso2.all", description = "Identifying and storing unsatisfied OSGI components") public void testOSGIUnsatisfiedComponents() throws Exception { telnet.connect(InetAddress.getLocalHost().getHostAddress(), telnetPort); telnet.setSoTimeout(10000); ArrayList<String> arr = retrieveUnsatisfiedComponentsList("ls"); for (int x = 0; x < arr.size(); x++) { unsatisfiedList.add(arrList.get(x).split("\t")[3]); log.info(unsatisfiedList.get(x)); } assertEquals( unsatisfiedList.size(), 0, "Unsatisfied components detected" + " in server startup. " + getString(unsatisfiedList)); }