Sha256: 08bf2656363d80d195b85ce6b0a90e87a0290dd29813bfbf9415093fa3643304
Contents?: true
Size: 845 Bytes
Versions: 3
Compression:
Stored size: 845 Bytes
Contents
module JmeterPerf module Plugins class JsonPathExtractor attr_accessor :doc include Helper def initialize(params = {}) @doc = Nokogiri::XML(<<-EOF.strip_heredoc) <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
3 entries across 3 versions & 1 rubygems