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.

> How to Handle Sites with Multiple Secure Session IDs?

  ** Problem:

  Some websites use a security method that involves using two or
  more secure session IDs.  These IDs are assigned by the server and
  are passed to the browser as the value on the right hand side of a
  name=value pair.  You might see something like
  "...?...&SessionID=73323..." in the URL.

  Depending on the server, there can be several of these &name=value
  pairs.  Unless all of the values for a set of named &name=value
  pairs are preserved, the session is declared "invalid" by the
  server.  Your test fails.

  ** Solution:

  eValid provides a special method that supports maintaining these
  values.  It involves editing the recording to declare a section of
  the script to be a "secure zone" and declaring to eValid the names
  of &name=value pairs to be preserved.

  If the server you are working with uses, for example, two
  &name=value pairs called &NAME1= and &NAME2=, your edited script
  will look like this:

        # Regular eValid commands...
        ...
        EnterSecureZone
        SecureDataID=NAME1
        SecureDataID=NAME2
        ...
        # All your regular commands...
        ...
        ExitSecureZone
        ...

  You can find the values NAME1 and NAME2 when you navigate with
  eValid in the normal way.  The two SecureDataID commands tell
  eValid to respect (i.e. preserve) the dynamic values assigned to
  NAME1 and NAME2.