How will you call a different vuser script from another
vuser script? Note: Former vuser script is already created
and needs to be called as the first thing before other code
in second vuser script is executed.
Answers were Sorted based on User's Feedback
Answer / veera
Never go for script coping to other action part, it's not
reusable. You need Replay log and genaration log for
verification and correlation.
Try record and enhance the script.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / devaprasanna
Import Second script action from the first script and then use the second script action as a module function so that you call the second action from first action wherever you need to execute the second Vuser script action
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / anaz
Your question will be more easy answer if get back with the
exact work flow
Try this
By inserting multiple actions in Vugen you can do that
After action 1 completes execution action 2 will starts
getting executing
V init()- Generally used for Login screen
action()1
.
. - Used record actual bussiness process
.
action()n
V.end() Ex. Logout or the last step
Is This Answer Correct ? | 5 Yes | 7 No |
What is bench mark specifications in requirements?
What is the benefit of running a vuser script as a thread?
What are the three sections of a vuser script and what is the purpose of each one?
What is stand-alone mode?
How can u find out hidden files in Load Runner Script and how can u correlate?
What protocols does loadrunner support?
if thoughput will be high /low what will be the problem?
When the rendezvous point is insert?
Analysis Scenario (Bottlenecks):?
what is the real process dealt in load runner,starting from getting the requirement till submitting the deliverables,when a tester is provided with the scenarios? if any real time user could answer it would be very useful for me.also i need what are the real time bottlenecks u have undergone
Where are automatic correlation options set?
what criteria did you use to select web transactions for load testing ?