Please guide me, is it possible to achieve below business need - Load runner
We have 2 different scripts with same steps to update the cart for same user – User A (one with external user and other with customer agent). Now our business team needs to know what will happen both as external user and customer agent click on Update cart for the same user at same time.
My clarification - How to have common rendezvous point for both the scripts; where it has to wait and trigger Update cart transaction simultaneously in both the scripts
Thanks and Regards
Sathish Asokan
Hello Sathish,
As per my understanding, we will not be able to simulate rendezvous point for 2 different scripts at the same time.
Is it possible to ask the business team to provide both the user roles for 1 particular user? If yes then u can simulate both the tasks in same script and hence imitate the business scenario as required.
--
You received this message because you are subscribed to the Google Groups "LoadRunner" group.
To unsubscribe from this group and stop receiving emails from it, send an email to LR-LoadRunne...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Depending on the type of user, does the business flow change?
If not then create 1 script and parameterize the usernames.
If yes, then there is no way to create rendezvous points for 2 different scripts.
“If yes, then there is no way to create rendezvous points for 2 different scripts.”
This is factually incorrect information. Please examine the examples and documentation related to rendezvous, the most often misunderstood and abused feature of any performance testing tool. A resume which highlights rendezvous has a 95% correlation to a person who you do not want to hire.
Let me explain the scenario in more detail
Our application is online shopping where the customer they themselves can login to our online shopping website and they can add items and update the shopping cart. Also we have one more option where the customer calls customer care representatives and representatives will impersonate to our online shopping website with that customer profile details
Now our development team suspects; there is db blocking, For the same user, when simultaneously both external user and call center representatives tries to update the shopping cart at the same time either with same item or different item in the cart.
Note: For both external user and call center representative business flow; till certain point, steps (user navigation) will be different, after that adding item and clicking on Update button, steps will remain the same. Now for the above 2 different business flow, we need to have "Rendezvous" point for Update button
Please help me, as this in great need
I did the below, please correct me if it’s wrong
Script 1 – Transaction 1, Transaction 2, Transaction 3
Script 2 – Transaction 2, Transaction 2, Transaction 3
In both Script 1 & Script 2; Transaction 1 & Transaction 2 are different user actions whereas Transaction 3 of both the scripts is of same user action. [Transaction 3 à Update Cart]
I adjusted “Think Time” for both the scripts and made the third transaction (update cart) almost start close to each other [transaction 3 of script 1 and script 3].
In both the scripts, I added common Rendezvous point [lr_rendezvous (“common”);] before the third transaction. Now when I open these 2 scripts in the controller, I am seeing one common rendezvous point linked to both the scripts.
I set the policy and I tried running with different timeouts in rendezvous policy.
I felt transaction3 in both the scripts wait for that rendezvous and got executed
For example I kept 100% running vusers as policy with 5 users in first script and 5 users in second script and gave run, when the first 5 users of script 1 arrived to the rendezvous point then it waits for the remaining 5 users of script 2 to arrive at the rendezvous point and then it’s getting released.
Is this way, can we have same common rendezvous point for 2 different scripts which has one unique transaction (user action steps)?
I did this, with trial and error method. Please let me know is this proper?
Thanks and Regards
Sathish Asokan
Yes
-A
--