Sha256: 6f617776675474e060d7a0f99eab27b2e16cf2c303cd643082569bc08147ead8
Contents?: true
Size: 889 Bytes
Versions: 3
Compression:
Stored size: 889 Bytes
Contents
module JmeterPerf 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> <boolProp name="INVERT">false</boolProp> </com.atlantbh.jmeter.plugins.jsonutils.jsonpathassertion.JSONPathAssertion> EOF update params end end end end
Version data entries
3 entries across 3 versions & 1 rubygems