Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pehrs/jmeter-json-postprocessor

Simple post processor to pretty-print JSON responses for readability
https://github.com/pehrs/jmeter-json-postprocessor

Last synced: 5 days ago
JSON representation

Simple post processor to pretty-print JSON responses for readability

Awesome Lists containing this project

README

        

README.md

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_PAPER = "sv_SE.UTF-8",
LC_ADDRESS = "sv_SE.UTF-8",
LC_MONETARY = "sv_SE.UTF-8",
LC_NUMERIC = "sv_SE.UTF-8",
LC_TELEPHONE = "sv_SE.UTF-8",
LC_IDENTIFICATION = "sv_SE.UTF-8",
LC_MEASUREMENT = "sv_SE.UTF-8",
LC_TIME = "sv_SE.UTF-8",
LC_NAME = "sv_SE.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

com.pehrs.jmeter-json-postprocessor

This is a plugin for JMeter 2.9

Download JMETER

JMETER can be downloaded from jmeter.apache.org.

Build and Install the plugin

This plugin enables you to view the formatted JSON responses

$ cd ${SRC}/com.pehrs.jmeter-json-postprocessor

$ mvn package
$ mvn dependency:copy-dependencies

Copy the plugin and the dependent jackson jars to the ${JMETERHOME}/lib/ext directory

$ cp target/jmeter-json-postprocessor-*.jar ${JMETERHOME}/lib/ext

$ cp target/dependency/jackson-annotations-*.jar ${JMETERHOME}/lib/ext
$ cp target/dependency/jackson-core-*.jar ${JMETERHOME}/lib/ext
$ cp target/dependency/jackson-databind-*.jar ${JMETERHOME}/lib/ext

Using the plugin

Just add the "JSON PostProcessor" as you would with the "Debug PostProcessor"