Using JSR223 PostProcessor
When dealing with more complicated JSON structures, you might find that the Regular Expression Extractor PostProcessor doesn't remove it. You might struggle to come up with the right regular expression to extract all the info you need. Examples of that might be deeply nested object graphs that have embedded lists of objects in them. At such times, a JSR223 PostProcessor will fit the bill. JSR223 is a standard that provides scripting language support within Java applications. This opens a whole realm of possibilities, allowing you to leverage the knowledge and power of scripting languages within your test plan, while still retaining access to Java class libraries. Scripting languages supported within JMeter at the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access