Class ServletContainerFeature

    • Constructor Detail

      • ServletContainerFeature

        public ServletContainerFeature()
    • Method Detail

      • initialize

        public void initialize​(FeaturesRunner runner)
                        throws Exception
        Description copied from interface: RunnerFeature
        Called when preparing to run the test class. Framework is not started at this point. Here is time for the feature to configure the runner from annotations on the test class.
        Specified by:
        initialize in interface RunnerFeature
        Throws:
        Exception
      • findFreePort

        protected int findFreePort()
      • getPort

        public int getPort()
        Returns the port allocated for this servlet container.
        Since:
        10.10
      • getHttpUrl

        public String getHttpUrl()
        Since:
        2023.13