https://bz.apache.org/bugzilla/show_bug.cgi?id=59845
Bug ID: 59845
Summary: JSONPostProcessor should not log an error level
message for JSON elements not being found
Product: JMeter
Version: 3.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
The Response JSON extractor logs a message at ERROR level if the specified JSON
path expression cannot be found.
For example:
2016/07/12 09:44:16 ERROR - jmeter.extractor.json.jsonpath.JSONPostProcessor:
Error processing JSON content in Response Json Extractor, message:No results
for path: $['companyId']
I believe that this should not be even an INFO level message. Consider the
XPathExtractor which logs no message for a element that is missing or cannot be
found.
As the JSONPostProcessor also sets the variable to a specific default value if
it cannot be found I feel the log message should be moved to debug level
logging.
This is causing our logs to be spammed with false "errors" when in fact the
server has failed to respond under load and therefore the json element will not
be present.
--
You are receiving this mail because:
You are the assignee for the bug.