Class ApplicationTest


  • public class ApplicationTest
    extends java.lang.Object
    Main application for Test.
    • Constructor Detail

      • ApplicationTest

        public ApplicationTest​(TestPlanWrapper testPlanWrapper)
        create application test.
        Parameters:
        testPlanWrapper - test plan.
      • ApplicationTest

        public ApplicationTest​(TestPlanWrapper testPlanWrapper,
                               java.util.List<PrepareInterceptor> prepareInterceptors)
        create application test.
        Parameters:
        testPlanWrapper - test plan.
        prepareInterceptors - interceptors.
      • ApplicationTest

        protected ApplicationTest​(TestElementWrapper<?> testElement)
        Only for Test.
    • Method Detail

      • toJmx

        public TestElementWrapper toJmx​(java.io.Writer out)
                                 throws java.io.IOException
        Generate Jmx file.
        Parameters:
        out - Destination output.
        Throws:
        java.io.IOException - – If an I/O error occurs.
      • toJmx

        public TestElementWrapper toJmx​(java.io.File file)
                                 throws java.io.IOException
        Generate Jmx file.
        Parameters:
        file - Destination output.
        Throws:
        java.io.IOException - – If an I/O error occurs.
      • createScript

        protected org.anasoid.jmc.core.application.ScriptWrapper createScript()
      • validate

        protected void validate​(org.anasoid.jmc.core.application.ScriptWrapper script)
      • prepare

        protected void prepare​(org.anasoid.jmc.core.application.ScriptWrapper script)
      • run

        public void run()
                 throws java.io.IOException
        Execute test.
        Throws:
        java.io.IOException - – If an I/O error occurs.
      • check

        public void check()
                   throws java.io.IOException
        Check test, Parsing by jmeter.
        Throws:
        java.io.IOException - – If an I/O error occurs.