Correlate asynchronous Vuser scripts

For a list of protocols that support asynchronous communication, see 64-bit recording, Async, and IPv6 support.

After modifying a Vuser script to enable it to emulate asynchronous communication, it may be necessary to perform correlation activities on the modified script. Due to asynchronous nature, dynamic values from asynchronous communication cannot be handled by Design Studio, and must be correlated manually.

You can search for dynamic values inside Response callbacks functions using the lr_save_param_regexp function. This function can be called from a callback to extract the necessary value from server response (ResponseCB) or response buffer (ResponseBodyBufferCB), and assign this value to a parameter. This parameter can then be used for correlations.

For details about the lr_save_param_regexp function, see the Function Reference (select the relevant version).

Back to top