Question: how to use jsr223 sampler in jmeter?
Answer: JSR223 Sampler JMeter Sampler elements allow taking actions in any place in the test, without depending on a specific request. In this example a JSR223 sampler will be used to send HTTP requests to either BlazeMeter or JMeter websites, based on the thread id.