a ApacheJmeter assertion plugin to validate JSON/YAML Schema (Based on Sampler response).
- Get JSON/YAML Schema from textarea or filepath
- Use JsonPath expression to extract the schema object
Java JDK is required.
git clone [email protected]:jyjunyin/ApacheJmeter_Schema_Assertion.git
cd ApacheJmeter_Schema_Assertion/examples
chmod +x jmeter_installer.sh
# install ApacheJmeter
./jmeter_installer.sh
./apache-jmeter-5.6.2/bin/jmeter -t Schema_Assertion_5.6.2.jmx
Maven & JDK 1.8+ is required.
To run tests, run the following command:
mvn clean test
mvn clean package
Distributed under the MIT License. See LICENSE for more information.
Thanks for these awesome resources that were used during the development of the ApacheJmeter Schema Assertion: