Your e-Business Quality Partner eValid™ -- Automated Web Quality Solution
Browser-Based, Client-Side, Functional Testing & Validation,
Load & Performance Tuning, Page Timing, Website Analysis,
and Rich Internet Application Monitoring.
© Copyright 2000-2008 by Software Research, Inc.

eValid -- SaveRecord Command
eValid Home

Summary
This command is intended for use in situations where eValid is monitoring a complex transaction and where the need is to have a simplified record of timing data.

Command Description

Monitoring SaveRecord Command
KEY COMMAND SYNTAX:
Name(...)
ORIGIN EXPLANATION COMMENTS
PROF SaveRecord File "Formatted String" [OVERWRITE] Edit Writes information to the named file based on the contents of the "Formatted String".

If the optional tag OVERWRITE is present, the named file is deleted (if it exists) and THIS is the first record in the new file.

 
Meaning of Parameters in Formatted String
  • %E = Elapsed cumlative time of the current playback.
  • %e = Elapsed cumlative time since the last instance of a SaveRecord command.

  • %K = Total number of bytes downloaded so far in the current playback.
  • %k = Total number of bytes downloaded since the last instance of a SaveRecord command.

  • /t = Escaped symbol implying a tab character.

  • All of the C runtime function strftime's formatting codes (see complete list below), including for example:
    • %T = The current date/time in the format: YYYY/MM/DD HH:MM:SS.
    • %I = The current time in 12-hour format.
    • %Z = The current time zone abbreviation code (e.g. PDT).

Example Standard File
Here is how a typical SaveRecord file would appear when a test is run with multiple instances of SaveRecord commands.

Contents of Script File

	...
	SaveRecord "c:\\file.log" "%T\tLogin\t%E\t%e\tStartup of shopping activity." OVERWRITE
	SaveRecord "c:\\file.log" "%T\tShopping\t%E\t%e\tGo ahead and shop."
	SaveRecord "c:\\file.log" "%T\tPick\t%E\t%e\tPick an item for the cart."
	SaveRecord "c:\\file.log" "%T\tCheckout\t%E\t%e\tCheckout process has concluded."
	...
Contents of "File" produced during playback...
 2007/09/26 13:25:34       Login         241    0        Startup of shopping activity.
	2007/09/26 13:26:45       Shopping      2436   1800     Go ahead and shop.
	2007/09/26 13:27:56       Pick          3150   1222     Pick an item for the cart.
	2007/09/26 13:32:39       Checkout      8192   2200     Checkout process has concluded.
	...

Notes:

  1. The sample output above could also be done with TimeStamp commands.
  2. The order and presentation of data in the named file is under user control.
  3. Conversions of %E, %e, %B, and %b have precedence over the corresponding standard strftime codes.

Example XML-Style Format
Here is how you would use SaveRecord to create an XML-style output:

SaveRecord "c:\file.xml" "<RECORD tag='Login' time1='%E' time2='%e' timestamp='%T'/>"

Complete List of Available Time Variables
Here is the complete list of available symbols: