deepanshu1422 / ApacheJmeter_Schema_Assertion

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ApacheJmeter Schema Assertion

Maven Tests CI Code Coverage

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

Quick Usage

Java JDK is required.

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

cd ApacheJmeter_Schema_Assertion/examples

chmod +x jmeter_installer.sh

# install ApacheJmeter
./jmeter_installer.sh

./apache-jmeter/bin/jmeter -t Schema-Assertion.jmx

Assertion Settings

Assertion Results

Running Tests

Maven & JDK 1.8 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.

License:MIT License


Languages

Language:Java 100.0%