Your e-Business Quality Partner eValid™ -- The Web Quality Suite
Browser-Based Client-Side Functional Testing and Validation Page Timing/Tuning Transaction Monitoring. WebSite Spidering & Analysis and Realistic Server Loading.
© Copyright 2000-2011 by Software Research, Inc.

eValid -- Power User Tips & Tricks
Prior   |   Catalog   |   eValid Home   |   Search   |   Next

Become an eValid Power User!
eValid Power User's Tips and Tricks can help you use eValid to get better results, quicker, and easier. Each Tips and Tricks item addresss one or two issues that will help you to increase your effectiveness with eValid.

> Setting Up a Multi Tier Alarm Script

  The eValid timer alarms provide useful information to the user
  who monitors the performance of a site by sending an email alert
  to a specified recepient. This however, can result in numerous and
  non-urgent email alerts. A good way of configuring eValid to send
  only the most urgent email alert is by using a 3 Tier Alarm Script.

  (1) Navigate to the page you want to monitor and edit in the
      WaitMod commands to specify the exact time to run the script.

  (2) Insert the "OnAlarmGoScript" command at the beginning 
      of the script and proceed to set the Timer Alarm.

      e.g.

      #Launches the script every hour.
      WaitModHH 00
      # Launches the second script upon error
      OnAlarmGoScript "script2.evs"
      ResetTimer
      InitLink "URL"
      Wait 1000
      ElapsedTime
      OvertimeAlarm 500 "Alarm Message " "" "" 2

  (3) Copy the same script and rename it as the second script without
      the Wait command and replacing the script called to the third
      and final script.

      e.g.

      # Launches the third script upon error
      OnAlarmGoScript "script3.evs"
      ResetTimer
      InitLink "URL"
      Wait 1000
      ElapsedTime
      OvertimeAlarm 500 "Alarm Message " "" "" 2

  (4) On the third and final script, simply add the Overtime Alarm
      message with the corresponding CGI script and the recepients
      email. You may also add a GoScript command to return to the
      original script once the email alert has been sent.

      e.g.

      OvertimeAlarm 500 "Alarm Message Here" 
      "CGI script here" "email here" 2 
      GoScript "script1.evs"

In the example shown, eValid will only send the email alert once
it has confirmed twice that the page loads slower than the 
expected time and when the script has reached the final script 
due to the errors reported.