Skip to content

Plugin for Loadrunner to allow for the dependence on arbitrarily fired events.

Notifications You must be signed in to change notification settings

kennethkufluk/Signal-for-Loadrunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

@danwrong will hate me for this, but here it is.

Loadrunner Signals

This plugin extends Loadrunner to depend on arbitrarily triggered events which need only be fired once.

To depend on an arbitrary signal, foo:

using('>foo', function() { ... });

This will not trigger the loading of any files. Events do not pass any parameters to the function block.

To trigger an event foo, and so execute the function block above:

signal('foo');

If a new 'using' block depends on an event that has already been fired, it will fired immediately. This behaviour is similar to common domReady libraries.

EVENTS ARE CONSIDERED AN ANTI-PATTERN FOR SCRIPT LOADING. ONLY USE IF THE SCRIPT AND MODULE TYPES CANNOT BE USED.

There is a risk that this will become a plague upon your codebase. So be it.

About

Plugin for Loadrunner to allow for the dependence on arbitrarily fired events.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published