Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApacheJmeter Schema Assertion

Maven Tests CI codecov

a ApacheJmeter assertion plugin to validate JSON/YAML Schema (Based on Sampler response).

Features

  • Get JSON/YAML Schema from textarea or filepath
  • Use JsonPath expression to extract the schema object

Installation

Download the latest plugin JAR from GitHub Releases and copy it to <JMETER_HOME>/lib/ext/.

Quick Usage

Java JDK 11+ is required.

git clone git@github.com:yeshan333/ApacheJmeter_Schema_Assertion.git

cd ApacheJmeter_Schema_Assertion/examples

chmod +x jmeter_installer.sh

# install ApacheJmeter and the plugin
./jmeter_installer.sh

./apache-jmeter-5.6.3/bin/jmeter -t Schema_Assertion_5.5.jmx

Assertion Settings

Assertion Results

Running Tests

Maven & JDK 11+ is required.

To run tests, run the following command:

mvn clean test

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

Thanks for these awesome resources that were used during the development of the ApacheJmeter Schema Assertion:

About

a ApacheJmeter assertion plugin to validate Sampler response field types based on JSON/YAML Schema.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages