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 |
Suppose you are not using Web server (But using Application Server and DB server). Then what are the graphs available in LoadRunner?
What is scenario default?
difference between GET & POST methods in JAVA?
When the rendezvous point is insert?
How do you enable text and image checks in vugen?
Can we use Loadrunner Functions in QTP SCript......?
How do we write a user-defined function in loadrunner?
WHAT IS THE BEST INSTITUTE FOR LOADRUNNER TRAINING IN HYDERABAD
How to find get the Response time of the Online News Feeds (News headlines getting updated in every second with out any user intervention)using Load Runner ?
How to identify what to correlate and what to parameterize?
Suppose ur app server is .net server. In that connection pool is related to memory ?explain how?
How to reinstall LoadRunner Trial version without formatting the system