module JmeterPerf module Plugins class JsonPathExtractor attr_accessor :doc include JmeterPerf::Helpers::XmlDocumentUpdater def initialize(params = {}) @doc = Nokogiri::XML( JmeterPerf::Helpers::String.strip_heredoc( <<-EOF EOF ) ) update params update_at_xpath params if params.is_a?(Hash) && params[:update_at_xpath] end end end end