Sha256: eaf7efbcd56ecc6836c7a618ab087ac9f4fbd56c2f928bd0df7fb75ffa26454f
Contents?: true
Size: 971 Bytes
Versions: 12
Compression:
Stored size: 971 Bytes
Contents
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 <com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.gui.JSONPathExtractorGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor" testname="jp@gc - JSON Path Extractor" enabled="true"> <stringProp name="VAR"></stringProp> <stringProp name="JSONPATH"></stringProp> </com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor> EOF ) ) update params update_at_xpath params if params.is_a?(Hash) && params[:update_at_xpath] end end end end
Version data entries
12 entries across 12 versions & 1 rubygems