Hi,
Do you log off before you want to application to request a new authentication?
I have made some checks and in my environment and the function seems to work as expected.
Please make the following test to check if authentication will be requested if you use Simulate new user on each iteration for the two parts of the business process:
- Create a parameter of type iteration number and call it count. Use format %d
- In the action part
- In evaluate javascript step put
var num = LR.getParam("count");
- Put if else step and use the following code as a condition:
num%2==1
- Put the steps for the first part of the business process in the if statement and the steps you would like the user to log in again in the else part.
3. Replay the script for a few iterations using simulate new user for each iteration
Please let us know the outcome.
Kind regards,