Scripting with Groovy
This part writes code inside a plan. A JSR223 element runs a script where a plan needs one: a sampler that builds its own request, a processor that reads an answer, an assertion that decides. The language is Groovy, which JMeter carries, and every script here is linted by CodeNarc before the page shows it.
035
A JSR223 sampler in Groovy
the engine JMeter carries, a script, and the value it returns
Open
036
JSR223 processors and assertions
a pre-processor, an assertion, prev and AssertionResult
Open
037
vars, props, prev and log
the four objects a script sees, and what each one may change
Open
038
Compiled scripts and BeanShell
compiled-script caching, why BeanShell is not used, and the linted Groovy of the course
Open