Class HTTPSamplerBaseWrapper.HTTPSamplerBaseWrapperBuilder<T extends org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase,​G extends org.apache.jmeter.samplers.gui.AbstractSamplerGui,​C extends HTTPSamplerBaseWrapper<T,​G>,​B extends HTTPSamplerBaseWrapper.HTTPSamplerBaseWrapperBuilder<T,​G,​C,​B>>

    • Constructor Detail

      • HTTPSamplerBaseWrapperBuilder

        public HTTPSamplerBaseWrapperBuilder()
    • Method Detail

      • withBody

        public B withBody​(java.lang.String body)
        set body.
      • withPostBodyRaw

        protected B withPostBodyRaw​(java.lang.Boolean postBodyRaw)
        set body.
      • withAutoRedirects

        public B withAutoRedirects​(java.lang.Boolean autoRedirects)
        set autoRedirects.
      • withFollowRedirects

        public B withFollowRedirects​(java.lang.Boolean followRedirects)
        set followRedirects.
      • withPort

        public B withPort​(int port)
        Port Number.
      • withPort

        public B withPort​(Variable port)
        Port Number.
      • withPort

        public B withPort​(java.lang.String port)
        Port Number.
      • withProxyPort

        public B withProxyPort​(int proxyPort)
        set Proxy Port.
      • withProxyPort

        public B withProxyPort​(Variable proxyPort)
        set Proxy Port.
      • withProxyPort

        public B withProxyPort​(java.lang.String proxyPort)
        set Proxy Port.
      • withConcurrentPool

        public B withConcurrentPool​(int pool)
        Embedded Resources from HTML Files: Concurrent pool for parallel download.
      • withConcurrentPool

        public B withConcurrentPool​(Variable pool)
        Embedded Resources from HTML Files: Concurrent pool for parallel download.
      • withConcurrentPool

        public B withConcurrentPool​(java.lang.String concurrentPool)
        Embedded Resources from HTML Files: Concurrent pool for parallel download.
      • withConnectTimeout

        public B withConnectTimeout​(int timeout)
        set Connect Timeout.
      • withConnectTimeout

        public B withConnectTimeout​(Variable timeout)
        set Connect Timeout.
      • withConnectTimeout

        public B withConnectTimeout​(java.lang.String connectTimeout)
        set Connect Timeout.
      • withResponseTimeout

        public B withResponseTimeout​(int timeout)
        set Response Timeout.
      • withResponseTimeout

        public B withResponseTimeout​(Variable timeout)
        set Response Timeout.
      • withResponseTimeout

        public B withResponseTimeout​(java.lang.String responseTimeout)
        set Response Timeout.
      • addFileArguments

        public B addFileArguments​(java.util.Collection<HTTPFileArgWrapper> filesArguments)
        Add file arguments.
        Parameters:
        filesArguments - List of HTTPFileArgWrapper.
      • addFileArgument

        public B addFileArgument​(HTTPFileArgWrapper filesArgument)
        Add file argument.
        Parameters:
        filesArgument - HTTPFileArgWrapper.
      • addArguments

        public B addArguments​(java.util.Collection<HTTPArgumentWrapper> arguments)
        Add arguments. Each argument consists of a name/value pair, as well as (optional) metadata.
        Parameters:
        arguments - List of arguments.
      • addArgument

        public B addArgument​(java.lang.String name,
                             java.lang.String value)
        Add argument, consists of a name/value pair, default metadata is '='.
        Parameters:
        name - name.
        value - value.
      • addArgument

        public B addArgument​(HTTPArgumentWrapper argument)
        Add arguments. Each argument consists of a name/value pair, as well as (optional) metadata.
        Parameters:
        argument - argument. to be add
      • withDomain

        public B withDomain​(java.lang.String domain)
        Returns:
        this.
      • withPath

        public B withPath​(java.lang.String path)
        Returns:
        this.
      • withProtocol

        public B withProtocol​(java.lang.String protocol)
        Returns:
        this.
      • withContentEncoding

        public B withContentEncoding​(java.lang.String contentEncoding)
        Returns:
        this.
      • withMethod

        public B withMethod​(HttpMethod method)
        Returns:
        this.
      • withImplementation

        public B withImplementation​(Implementation implementation)
        Returns:
        this.
      • withIpSourceType

        public B withIpSourceType​(IpSourceType ipSourceType)
        Returns:
        this.
      • withIpSource

        public B withIpSource​(java.lang.String ipSource)
        Returns:
        this.
      • withProxyScheme

        public B withProxyScheme​(java.lang.String proxyScheme)
        Returns:
        this.
      • withProxyHost

        public B withProxyHost​(java.lang.String proxyHost)
        Returns:
        this.
      • withProxyUser

        public B withProxyUser​(java.lang.String proxyUser)
        Returns:
        this.
      • withProxyPass

        public B withProxyPass​(java.lang.String proxyPass)
        Returns:
        this.
      • withUseKeepAlive

        public B withUseKeepAlive​(java.lang.Boolean useKeepAlive)
        Returns:
        this.
      • withDoMultipartPost

        public B withDoMultipartPost​(java.lang.Boolean doMultipartPost)
        Returns:
        this.
      • withDoBrowserCompatibleMultipart

        public B withDoBrowserCompatibleMultipart​(java.lang.Boolean doBrowserCompatibleMultipart)
        Returns:
        this.
      • withMd5

        public B withMd5​(java.lang.Boolean md5)
        Returns:
        this.
      • withEmbeddedUrlRE

        public B withEmbeddedUrlRE​(java.lang.String embeddedUrlRE)
        Returns:
        this.
      • withEmbeddedUrlExcludeRE

        public B withEmbeddedUrlExcludeRE​(java.lang.String embeddedUrlExcludeRE)
        Returns:
        this.
      • withConcurrentDwn

        public B withConcurrentDwn​(java.lang.Boolean concurrentDwn)
        Returns:
        this.
      • withImageParser

        public B withImageParser​(java.lang.Boolean imageParser)
        Returns:
        this.