Home > Load Testing > Visual Studio Performance Testing #7: Unique Data

Visual Studio Performance Testing #7: Unique Data


Some of your test scenarios require unique data. For example, if the script adds a new user account, company, personal information, address, etc, you should use unique data because most system won’t allow you to enter duplicate data.

With Visual Studio, most likely you will be using a data source with the prepared unique data. If you are using one Agent or Visual Studio to execute your load test, the tool may not reuse the data if you have enough data for your test. However, when using multiple Test Agents, it is almost guaranteed that the tool will use the data more than once. Visual Studio allows you to configure that behavior.

 

I am assuming that you have already added the data source. Expand the datasource node, expand the Tables node and select Unique from the Access Method list as shown below

 

 

With such configuration the Test Controller divides the data among the Test Agents

About Lajak Technologies

A consulting firm in Ottawa, Ontario that provides services related to Microsoft technologies, Team Foundation Server, DevOps practices, security and more. Contact us today to help you solving your complex software problems.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: