LoadRunner Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Can TruClient start IE with the -nomerge option?

SOLVED
Go to Solution
Frequent Advisor

Can TruClient start IE with the -nomerge option?

Hi,

 

I am using "simulate new user each iteration set" with "failed event causes step failure" when testing using TruClient and IE10 (VUgen 11.52 patch 1). In the script I made sure cache and cookies are cleared before the usecase actually starts. The problem is that sometimes the scripts runs into an unexpected situation, and it is rather random at what point this happens. When this happens the script step will then fail and the iteration aborts. Next iteration cache and cookies are cleared, but on the server the session remains for 15 more minutes. So when the browser approaches the server again the page presented is how it was left at time of the abort of the previous iteration. The app developer tells me that I should start IE with the -nomerge commandline option to make sure a new session is started on the server.

 

Can this be done in TruClient?

 

Regards,

Peet

3 REPLIES
HPE Expert

Re: Can TruClient start IE with the -nomerge option?

[ Edited ]

Hi Peet, 

 

I would suggest you to try the following possible workarounds:

1. Create a parameter in the init part LR.setParam("isLogged","false")

2. In the Action

 if LR.getParam("isLogged")=="true"

execute log off step

3. Log in and set LR.setParam("isLogged","true")

4. Perform the rest of the steps 

5. At the end of the script if the user logs off successfully set isLogged to false again. 

 

Kind regards, 

HPE Support
If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution and give Kudos to the author for their assistance.
Frequent Advisor

Re: Can TruClient start IE with the -nomerge option?

Thanks, it's simple, I could have thought of this...(but didn't).

 

But from your answer I understand that the - nomerge commandline option is not possible in TruClient?

 

Thanks,

Peet

HPE Expert

Re: Can TruClient start IE with the -nomerge option?

Hi Peet,

It isn't.

 

Cheers,

Guy Rosenthal
Network Virtualization PM