The New JSON/YAML Plugin: Using YAML in JMeter

#ICYDK: The JSON Plugin was deprecated in Apache JMeter™version 4, following the donation of the JSON Assertion component from jmeter-plugins.org to core JMeter. Now, I have updated this plugin to support new features and abilities. In this new version, the two plugin components, the JSON Path Extractor, and the JSON Path Assertion have a new input format — YAML. So, users can choose between JSON and YAML input formats when running JMeter load tests. This provides more options and flexibility for performance testers — everything that was done before in JSON can now also be done in YAML.

Let’s see how the JSON/YAML plugin works by generating a simple test plan. This test plan will take random values from two arrays (lists) in YAML and use them in a POST request as body parameters. The two arrays will be received from another request. https://goo.gl/S24GoC

Subscribe To Newsletter

Sign up for my newsletter and get the latest technology news

2019 © Craig Brown PhD. All rights reserved.