The Link Action lets you re-use parts of a Virtual User across your load testing project.
Create link action¶
The easiest way to create a link action is to transform existing nodes of your virtual user:
This way they will now be available as link actions from any other virtual user profile in the same project:
Only container actions present in a Virtual User of type Fragments can be selected.
When a virtual user is executed every link action will point to the corresponding action inside a Fragments virtual user:
This can be used to merge statistics from several virtual user profiles into one. This way you can have only one entry for your login in the result table instead of one per virtual user.
When using links within links, cyclic dependencies can happen, since they could lead to infinite loops, we detect them before the script is executed and they must be fixed:
Clicking the magnifier icon shows us:
We can clearly see that this link is referencing himself. This behavior must be changed before proceeding with a test.
Click on the Open Link button bellow the linked action tree or directly on the magnifier icon on the upper right corner of the action to go the the linked Virtual User / Action.
When validating a virtual user you can see the debug result by using this Open Link button.