After the record, a User Path using polling with the Lightstreamer Framework is displayed as follows.
The following point should be noted:
XXX/bind_session.jshave been recorded. These requests are polling requests.
Once processed by the NeoLoad Post-recording wizard, the User Path is modified as follows.
NeoLoad has made the following noticeable changes:
polling_whilefor example), which continues to loop until the
NL-stopPollingvariable generated by NeoLoad becomes
true. Lastly, the loop itself has been placed in a secondary execution thread using a fork action (
push_forkfor example). For more information, see Polling requests.
NL-stopPollingvariable, with the
falsevalue, to have the polling function work on every Virtual User iteration.
Xrepresents the updated HTML component.
LS_phaseparameter is handled using the
LS_phaseVariable Extractor set both on the session creation request (
creation_session.jsfor example) and on the Push request (
LS_phase_update1for example) increments the value of the
LS_phasevariable at each loop iteration to reproduce the browser behavior.
polling_delaypolling delay is the average of the time intervals between two polling requests in the original User Path.
stop_pollingvariable modifier stops the polling loop by modifying the value of the