Class DisableSslCertificateValidation

  • All Implemented Interfaces:
    org.testng.ISuiteListener, org.testng.ITestNGListener

    public class DisableSslCertificateValidation
    extends Object
    implements org.testng.ISuiteListener
    Disables SSL certificate validation before the TestNG test suites begins execution. This allows running with self-signed certificates.

    Usage: TestNG Listeners

    Author:
    Adrian Herscu
    • Constructor Detail

      • DisableSslCertificateValidation

        public DisableSslCertificateValidation()
    • Method Detail

      • onStart

        public void onStart​(org.testng.ISuite suite)
        Specified by:
        onStart in interface org.testng.ISuiteListener
      • onFinish

        public void onFinish​(org.testng.ISuite suite)
        Specified by:
        onFinish in interface org.testng.ISuiteListener