How do I re-run a webtest that requires unique values?

I have a multi-page webtest that registers a new user. The username entered by the user must be unique.

I imagine that I could do this with a coded webtest by calling a routine that generates the username for me.

Is it possible to record such a test and somehow have it use a unique value for username each time it is run?

[329 byte] By [kklasman] at [2008-2-15]
# 1

There are a few choices here in a non-coded test:
- write a pre-request callback that sets generates the user name in code
- data bind the user name to a canned set of usernames. Checkouot the walkthrough for an example of how to do databinding. You would have to re-generate the user names after each test, or reset the database that the usernames are in.

EdGlas at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...

Visual Studio Team System

Site Classified