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 |
Hi all, I am having an interview on LoadRunner (SAP Web Protocol). I am wondering if somebody can help me with some interview questions at a 2 yr Scriptor level. Thanks and all answers are much appreciated.
What is the advantage of running vuser as a process than a thread?
Where we can analyse the perfomance graph in Loadrunner? (Chandana)
How to create a host list for a scenario?
I want step by step guidelines on loadrunner.i think it will be a great.please can any one help me.
A good link for loadrunner scripting ?
what is the difference bet ween loadrunner 6.0 and loadrunner 7.5?
when a Load Runner controller fails?
How to upload media use loadrunner? I record the script but it fail because the top of document is invalidation.How to solve the problem?Which one know the answer please tell me. Thanks!
What is use of URL Mode Recording?
Recognize the debugging tools available in vugen?
can we run the script using mozila or netscape, recorded using internet explorer ?