Learn how to start and stop the polling
HTTP polling is an extension to the HTTP DSL, whose entry point is the
If you want to deal with several pollers with per virtual users, you have to give them a name and pass this name on each polling operation:
Of course, this step is not required if you deal with one single poller per virtual user.
The first thing to do is start the polling, by specifying the request and how often it will run:
period parameter is from response received to next request sent.
exec( polling .every(10 seconds) .exec(http("name").get("url")) )
When you don’t need to poll a request anymore, you can stop the poller:
reconcile: When stopping a poller, the poller flow state (e.g. the session) is merged with the main flow state.