Answered question

Define a transaction and call the same transaction multiple times.

I have a set of steps declared as a transaction in neoload and I want to use that transaction multiple times. for better understanding of the scenario I will use below example.
transaction_1{
Step 1
Step 2
Step 3
Step 4
}
transaction_2{
Step 1
Step 2
Step 3
Step 4
}
Switch(a){
case 1:
do something
transaction_1
transaction_2
do something
case 2:
do something
transaction_2
do something
case 2:
do something
transaction_1
do something
}
can we call already declared transaction at later point so that it would look little less messy ?

Raj N.
Raj N.

Raj N.

Level
1
110 / 750
points
Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

Drag it from the shared area to where it is needed in the user path

Did you find this useful ?

No (0)

Yes (0)

0% of users found this answer useful

Other answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

The transactions could be added to the shared area below the user paths section and reused multiple times

Raj N.
Raj N.

Raj N.

Level
1
110 / 750
points

I have added a transaction folder in the shared area but not sure how to reference it again at a different point?