Class HttpElementHelper


  • public class HttpElementHelper
    extends Object
    Contains common logic used by HTTP samplers and config elements.
    • Constructor Detail

      • HttpElementHelper

        public HttpElementHelper()
    • Method Detail

      • modifyTestElementUrl

        public static void modifyTestElementUrl​(org.apache.jmeter.testelement.TestElement elem,
                                                String protocol,
                                                String host,
                                                String port,
                                                String path)
      • modifyTestElementEmbeddedResources

        public static void modifyTestElementEmbeddedResources​(org.apache.jmeter.testelement.TestElement ret,
                                                              boolean enabled,
                                                              String matchRegex,
                                                              String notMatchRegex)
      • modifyTestElementTimeouts

        public static void modifyTestElementTimeouts​(org.apache.jmeter.testelement.TestElement ret,
                                                     Duration connectionTimeout,
                                                     Duration responseTimeout)
      • modifyTestElementProxy

        public static void modifyTestElementProxy​(org.apache.jmeter.testelement.TestElement ret,
                                                  String url,
                                                  String user,
                                                  String password)
      • chainEmbeddedResourcesOptionsToMethodCall

        public static void chainEmbeddedResourcesOptionsToMethodCall​(MethodCall ret,
                                                                     TestElementParamBuilder paramBuilder)