Class XpathPayloadVariableExtractor

  • All Implemented Interfaces:
    MessageProcessor, MessageTransformer, VariableExtractor

    public class XpathPayloadVariableExtractor
    extends Object
    implements VariableExtractor
    Class reads message elements via XPath expressions and saves the text values as new test variables. Implementation parsed the message payload as DOM document, so XML message payload is needed here.
    Author:
    Christoph Deppisch
    • Constructor Detail

      • XpathPayloadVariableExtractor

        public XpathPayloadVariableExtractor()
    • Method Detail

      • getXpathExpressions

        public Map<String,​Object> getXpathExpressions()
        Gets the xPathExpressions.
        Returns:
        the xPathExpressions
      • getNamespaces

        public Map<String,​String> getNamespaces()
        Gets the namespaces.
        Returns:
        the namespaces