Sha256: e8dcfae68535d0996c4e4e7f36d7de59d4f2a68d1dc93dbcd148a21350085181
Contents?: true
Size: 834 Bytes
Versions: 24
Compression:
Stored size: 834 Bytes
Contents
module RubyJmeter module Plugins class JsonPathAssertion attr_accessor :doc include Helper def initialize(params={}) @doc = Nokogiri::XML(<<-EOF.strip_heredoc) <com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion guiclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.gui.JSONPathAssertionGui" testclass="com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion" testname="jp@gc - JSON Path Assertion" enabled="true"> <stringProp name="EXPECTED_VALUE"></stringProp> <stringProp name="JSON_PATH"></stringProp> <boolProp name="JSONVALIDATION">true</boolProp> </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion> EOF update params end end end end
Version data entries
24 entries across 24 versions & 1 rubygems