Class SoapSampler

    • Constructor Detail

      • SoapSampler

        public SoapSampler()
    • Method Detail

      • setXmlData

        public void setXmlData​(String data)
      • getXmlData

        public String getXmlData()
      • setXmlFile

        public void setXmlFile​(String filename)
        it's kinda obvious, but we state it anyways. Set the xml file with a string path.
        Parameters:
        filename - path to the xml file
      • getXmlFile

        public String getXmlFile()
        Get the file location of the xml file.
        Returns:
        String file path.
      • getURLData

        public String getURLData()
      • setURLData

        public void setURLData​(String url)
      • getSOAPAction

        public String getSOAPAction()
      • getSOAPActionQuoted

        public String getSOAPActionQuoted()
      • setSOAPAction

        public void setSOAPAction​(String action)
      • getSendSOAPAction

        public boolean getSendSOAPAction()
      • setSendSOAPAction

        public void setSendSOAPAction​(boolean action)
      • setPostHeaders

        protected int setPostHeaders​(PostMethod post)
      • sample

        protected HTTPSampleResult sample​(URL url,
                                          String method,
                                          boolean areFollowingRedirect,
                                          int frameDepth)
        Description copied from class: HTTPSamplerBase
        Samples the URL passed in and stores the result in HTTPSampleResult, following redirects and downloading page resources as appropriate.

        When getting a redirect target, redirects are not followed and resources are not downloaded. The caller will take care of this.

        Overrides:
        sample in class HTTPSampler2
        Parameters:
        url - URL to sample
        method - HTTP method: GET, POST,...
        areFollowingRedirect - whether we're getting a redirect target
        frameDepth - Depth of this target in the frame structure. Used only to prevent infinite recursion.
        Returns:
        results of the sampling, can be null if u is in CacheManager