When using JSON Extractor with "JMeter variable Name to use", if the variable is missing, then JSON Extractor will trigger a NullPointerException leading to a logging and setting of default value. It's cleaner to test the nullity.
Author: pmouawad Date: Mon Oct 29 09:23:28 2018 New Revision: 1845092 URL: http://svn.apache.org/viewvc?rev=1845092&view=rev Log: Bug 62860 - JSON Extractor : Avoid NPE and noisy error message "Error processing JSON content in" when variable is not found Bugzilla Id: 62860 Modified: jmeter/trunk/src/components/org/apache/jmeter/extractor/json/jsonpath/JSONPostProcessor.java jmeter/trunk/xdocs/changes.xml Author: pmouawad Date: Mon Oct 29 09:23:45 2018 New Revision: 1845093 URL: http://svn.apache.org/viewvc?rev=1845093&view=rev Log: Bug 62860 - JSON Extractor : Avoid NPE and noisy error message "Error processing JSON content in" when variable is not found Bugzilla Id: 62860 Modified: jmeter/trunk/test/src/org/apache/jmeter/extractor/TestJSONPostProcessor.java
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4904