You are hereSupport / Troubleshooting Tips and Best Practices / Using the Internet Macro to monitor a website.

Using the Internet Macro to monitor a website.


2 replies [Last post]
Andy - Heroix
Andy - Heroix's picture
Offline
Joined: 10/19/2009

With Longitude Version 6.2 you will need to have Firefox 3.5 or 3.6 installed with Selenium installed as an add on (Version 1.02 for Firefox 3.5. Version 1.0.5 for Firefox 3.6.)

If you are using Firefox version 3.6 you will need to go here and follow the directions before using the Internet Macro.

If you are using Longitude Version 6.1.2 see this Post.

  1. Log into Firefox on the machine you will be using to monitor the Internet Macro. You will have to Log In with the service account you specified on this Statistics Server. (You can identify this account by going to Services.msc, opening properties for the Heroix Longitude Statistics Server, Click the Log On tab.)
  2. Open up Selenium from under tools and then put in your Base URL (e.g. www.heroix.com). Then be sure the red button is depressed on the top right and the Macro is recording.
  3. Proceed to browse to the page in the manner you want the Macro to run. You will be able to see Selenium recording your progress as you go along. When you are finished go ahead and save the Macro.
  4. Access the Longitude WebUI from the statistics server you will be using to monitor the macro.(Server you recorded the macro on.)
  5. Go to Monitor Application under the Manage Applications Page and select the Internet Application.
  6. The computer field will be your base URL. The instance name you can leave blank.
  7. In the Macro field you will need to click the Manage Macros Link next to it to select the macro you saved. Go ahead and select the macro and save it. (This will make a copy of the macro in the Longitude Directory.)
  8. The schedule is how often you want the macro to run. The timeout will be how many seconds before it gives up and fails.
  9. The Protocol will be Http in most cases unless you are accessing an HTTPS site. The port is the port used to access the web site.

After you have filled out all of this information click Monitor Application and your Internet Macro is now registered.

sharriso
Offline
Joined: 01/10/2011
Modifying Internet Macro and attributes of execution?

I created an internet macro application to monitor a web site that requires a login, and it is working.

I don't see a way to modify the macro itself after implementation. Also, I noticed one failure when the page response after logging in took longer than 30 seconds to load.

It appears the only way to modify a macro is to create a new replacement following the process described in this article, register it in Longitude, and delete the old one. Correct?

Is there a way to adjust how long the macro processing will wait for a page to load?

Alison - Heroix
Offline
Joined: 10/16/2009
Macros

You can edit the macro after it was been monitoring by going to Manage Applications -> Monitoring Application, select the INternet application, then click manage macros. Click the triangle next to the macro you want to edit and then scroll to the bottom next to Modify and it let's you edit the commands. The only problem with this is you always want to make sure you edits work within the Selenium tool before trying to monitor within Longitude. Always best to delete the old macro and add in the newly tested macro.

If you do you use the modify option please make sure you re-monitor this macro so it picks up your changes.

To increase the timing, you can increase the total timeout field and this increases the amount time each step is allowed to run.