使用的监听类有:IRetryAnalyzer.TestListenerAdapter.IAnnotationTransformer public class Retry implements IRetryAnalyzer { private int retryCnt = 0; private int maxRetryCnt = 1; @Override public boolean retry(ITestResult iTestResult) { if (retryCnt<maxRetryCnt