Difference between Agent as Process & Agent as Service
Agent as Process
|
Agent as Service
|
It runs the ‘magentproc.exe’
|
It runs the service ‘magentservice’
|
User needs to login to the machine in order
to start this Agent
|
Runs automatically even if the user does not
log in to the system
|
You need to put the LoadRunner agent process into a windows startup group
|
During
Load Runner Installation
Agent as process :- During installation select the option "Manual log into the Load Generator machine”
Agent
as service :- During installation
select the option "Allow Virtual Users to
run on this machine without user login"
After Load Runner installation
***To switch from running the LoadRunner agent as a
service to running as a process:
1. Uninstall
LoadRunner agent service by typing in
magentservice.exe -remove<enter>
2. If the uninstall is sucessful, you will receive the following messages:
Stopping Load Runner Agent Service.
Load Runner Agent Service stopped.
Load Runner Agent Service removed.
3. Start the agent process by running magentproc.exe from <LoadRunner>\launch_service\bin
4. Add the LoadRunner Agent Process shortcut back into the Startup group.
magentservice.exe -remove<enter>
2. If the uninstall is sucessful, you will receive the following messages:
Stopping Load Runner Agent Service.
Load Runner Agent Service stopped.
Load Runner Agent Service removed.
3. Start the agent process by running magentproc.exe from <LoadRunner>\launch_service\bin
4. Add the LoadRunner Agent Process shortcut back into the Startup group.
***To switch from running the LoadRunner agent as a
process to running as a service:
1. Remove the
LoadRunner Agent Process shortcut from the Start -> Program Files -> Startup
group.
2. Install magentservice.exe
2. Install magentservice.exe
Type in magentservice.exe -install<enter>
3. If the install
is successful, you will receive the following messages:
LoadRunner Agent Service installed or started
4. Go to the Window’s Services and change its properties to start it as "Automatic."
LoadRunner Agent Service installed or started
4. Go to the Window’s Services and change its properties to start it as "Automatic."
NOTE - You need admin rights to do this.
***The magentservice.exe file path is
C:\Program Files (x86)\HP\LoadRunner\bin or
C:\Program Files\HP\LoadRunner\bin
*** Jain
No comments:
Post a Comment