| <?xml version="1.0" encoding="UTF-8"?> |
| <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.5"> |
| <hashTree> |
| <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true"> |
| <stringProp name="TestPlan.comments"></stringProp> |
| <boolProp name="TestPlan.functional_mode">false</boolProp> |
| <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp> |
| <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> |
| <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> |
| <collectionProp name="Arguments.arguments"/> |
| </elementProp> |
| <stringProp name="TestPlan.user_define_classpath"></stringProp> |
| </TestPlan> |
| <hashTree> |
| <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> |
| <boolProp name="ResultCollector.error_logging">false</boolProp> |
| <objProp> |
| <name>saveConfig</name> |
| <value class="SampleSaveConfiguration"> |
| <time>true</time> |
| <latency>true</latency> |
| <timestamp>true</timestamp> |
| <success>true</success> |
| <label>true</label> |
| <code>true</code> |
| <message>true</message> |
| <threadName>true</threadName> |
| <dataType>true</dataType> |
| <encoding>false</encoding> |
| <assertions>true</assertions> |
| <subresults>true</subresults> |
| <responseData>false</responseData> |
| <samplerData>false</samplerData> |
| <xml>false</xml> |
| <fieldNames>true</fieldNames> |
| <responseHeaders>false</responseHeaders> |
| <requestHeaders>false</requestHeaders> |
| <responseDataOnError>false</responseDataOnError> |
| <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage> |
| <assertionsResultsToSave>0</assertionsResultsToSave> |
| <bytes>true</bytes> |
| <sentBytes>true</sentBytes> |
| <url>true</url> |
| <threadCounts>true</threadCounts> |
| <idleTime>true</idleTime> |
| <connectTime>true</connectTime> |
| </value> |
| </objProp> |
| <stringProp name="filename"></stringProp> |
| </ResultCollector> |
| <hashTree/> |
| <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true"> |
| <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> |
| <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> |
| <boolProp name="LoopController.continue_forever">false</boolProp> |
| <stringProp name="LoopController.loops">1</stringProp> |
| </elementProp> |
| <stringProp name="ThreadGroup.num_threads">1</stringProp> |
| <stringProp name="ThreadGroup.ramp_time">1</stringProp> |
| <boolProp name="ThreadGroup.scheduler">false</boolProp> |
| <stringProp name="ThreadGroup.duration"></stringProp> |
| <stringProp name="ThreadGroup.delay"></stringProp> |
| <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> |
| </ThreadGroup> |
| <hashTree> |
| <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="JSR223 Sampler" enabled="true"> |
| <stringProp name="cacheKey">true</stringProp> |
| <stringProp name="filename"></stringProp> |
| <stringProp name="parameters"></stringProp> |
| <stringProp name="script">return """{ |
| "name": "apple", |
| "price": 0.8, |
| "amount": 1, |
| "currency": "EUR" |
| }""";</stringProp> |
| <stringProp name="scriptLanguage">groovy</stringProp> |
| </JSR223Sampler> |
| <hashTree> |
| <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion - price" enabled="true"> |
| <stringProp name="JSON_PATH">$.price</stringProp> |
| <stringProp name="EXPECTED_VALUE">0.8</stringProp> |
| <boolProp name="JSONVALIDATION">true</boolProp> |
| <boolProp name="EXPECT_NULL">false</boolProp> |
| <boolProp name="INVERT">false</boolProp> |
| <boolProp name="ISREGEX">false</boolProp> |
| </JSONPathAssertion> |
| <hashTree/> |
| <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion - price - regex" enabled="true"> |
| <stringProp name="JSON_PATH">$.price</stringProp> |
| <stringProp name="EXPECTED_VALUE">\d+\.?\d*</stringProp> |
| <boolProp name="JSONVALIDATION">true</boolProp> |
| <boolProp name="EXPECT_NULL">false</boolProp> |
| <boolProp name="INVERT">false</boolProp> |
| <boolProp name="ISREGEX">true</boolProp> |
| </JSONPathAssertion> |
| <hashTree/> |
| </hashTree> |
| </hashTree> |
| </hashTree> |
| </hashTree> |
| </jmeterTestPlan> |