what is a sample in jmeter
How to Use JMeter Assertions in Three Easy Steps The Scope of JMeter Assertions. You must also consider the scope when setting assertions. Assertions can be applied to a main sample and its subsamples, or only to subsamples. Some assertions, like the Response Assertion or the Size Assertion, can also be used against a JMeter Variable. Code-based assertions (such as Beanshell, BSF and JSR223) donât have the GUI element that identifies scope.