Saturday, 26 May 2012

LoadRunner Agent Service vs Process

Few people might be wondering as to why LoadRunner agent has the option of running it as the service or as the process.

If we run it as process, the agent will be running until at least single user session logged into agent machine, whereas in case of agent as service no user needs to be login, just if the machine is up and running it is enough.

Note: Whether agent running as service or process name would be " Performance center Agent service" in services.msc
 
Below are few steps to follow to convert the agent from process to service or vice-versa

Converting Agent process to Service
1. Kill the process "magentproc.exe from Task manager
2. Open the command prompt and go to the path "%\HP\LoadRunner\bin%"(where loadrunner is installed into your machine)
3.type: magentservice.exe -install
4. go to run and type services.msc
5. look for the service "Loadrunner Agent Service" and restart the same


 
2nd method:
1.Kill the process "magentproc.exe from Task manager
2.Stop the process Performance center Agent service
3.Go to path C:\Program Files (x86)\HP\Performance Center Host\launch_service\bin\
4. run magentservice
5 Check in Task manager(magentservice.exe*32) would be running
6. Start the performance center Agent service
Now the agent would be running as service

Converting Agent Service to Process
1. Go to Services.msc and stop the loadrunner agent service
2. go to go to the path "%\HP\LoadRunner\bin%"(where loadrunner is installed into your machine)
3. type: magentservice.exe -remove
4 type magentsproc.exe

21 comments:

  1. Nice information about the load testing!!! I prefer Loadrunner automation testing tool to validate the performance of software application/system under actual load. Loadrunner Training in Chennai | Loadrunner training institute in Chennai|Qtp training institutes in chennai

    ReplyDelete
    Replies
    1. IntelliMindz is the best IT Training in Bangalore with placement, offering 200 and more software courses with 100% Placement Assistance.

      LoadRunner Training In Bangalore
      ETL Testing Course In Bangalore
      Selenium Training In Bangalore
      Java Training In Bangalore

      Delete
  2. I am so proud of you and your efforts and work make me realize that anything can be done with patience and sincerity. Well I am here to say that your work has inspired me without a doubt.
    python training in pune
    python training in chennai
    python training in Bangalore

    ReplyDelete
  3. Really very nice blog information for this one and more technical skills are improve,i like that kind of post.
    DevOps online Training
    DevOps Training in USA

    ReplyDelete
  4. Well Said, you have furnished the right information that will be useful to anyone at all time. Thanks for sharing your Ideas.
    fire and safety course in chennai

    ReplyDelete
  5. This is such a good post. One of the best posts that I\'ve read in my whole life. I am so happy that you chose this day to give me this. Please, continue to give me such valuable posts. Cheers!
    Microsoft Azure online training
    Selenium online training
    Java online training
    uipath online training
    Python online training

    ReplyDelete
  6. Thank you to your publish. This is excellent statistics.
    It is super and brilliant to visit your website.

    click here for more info.

    ReplyDelete
  7. Thank you for sharing such a nice and interesting blog with us regarding Java. I have seen that all will say the same thing repeatedly. But in your blog, I had a chance to get some useful and unique information. I would like to suggest your blog in my dude circle.
    Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

    ReplyDelete
  8. I think that thanks for the valuabe information and insights you have so provided here. North American Bancard Sales

    ReplyDelete
  9. This post is so interactive and informative.keep updating more information...
    Future Of Java Programming
    Java Career

    ReplyDelete

How to Change Password of IUSR_METRO Account

Sometime we need to change the password of IUSR_METRO Account. This may be required due to compliance issue. Below are the steps to chang...