Sha256: 1ee75b3c6617022af97416822915ee305a73734dda44b027ffc485bf8a790a35
Contents?: true
Size: 1023 Bytes
Versions: 12
Compression:
Stored size: 1023 Bytes
Contents
module JmeterPerf module Plugins class JsonPathAssertion attr_accessor :doc include JmeterPerf::Helpers::XmlDocumentUpdater def initialize(params = {}) @doc = Nokogiri::XML( JmeterPerf::Helpers::String.strip_heredoc( <<-EOF <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> <boolProp name="INVERT">false</boolProp> </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion> EOF ) ) update params end end end end
Version data entries
12 entries across 12 versions & 1 rubygems