When do we use the Vuser_init(),Action,Vuser_end() while we record the application....?

Questions by t_ansar   answers by t_ansar

Showing Answers 1 - 2 of 2 Answers

Basically you should define that based on your requirement.?For example : A user log in and does some set of action and log out from the web page.

Here you can record user log in code in Vuser_init() and set of action like add or?edit?or search?in Action() and Log out in Vuser_end().

Pls let me know if you have concern.
Chrees.

  Was this answer useful?  Yes

If you have multiple iterations in your script, the only part that will run the number of times the iteration runs is "Action."

Vuser_init and Vuser_end only runs once in the script. So, having actions that you only want to run once before and after the Action component can help reduce your work; lke Crespoe said, having Login in Vuser_init and Log Out in Vuser_end.

anshooarora@gmail.com

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions