I am using Visual Studio Ultimate 2013 to do some load tests. I have some test data attached to my web test, with 10,000 rows of unique data, and i also have a web test plugin in another project, which i have referenced. in the web test.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.QualityTools.WebTestFramework;
using Microsoft.VisualStudio.TestTools.WebTesting;
namespace VUControl
{
public class VUControl : WebTestPlugin
{
public override void PreWebTest(object sender, PreWebTestEventArgs e)
{
base.PreWebTest(sender, e);
e.WebTest.MoveDataTableCursor("testdata", "strictly#csv", e.WebTest.Context.WebTestUserId);
}
}
}
I have set the Source table properties to 'Do not move cursor automatically'.
The load test is set to run on the cloud, running for 5 minutes with 500 users.
On running the tests, i am getting around 9500 tests completing succesfully, but i am only getting around 10 unique sets of data generated in the database.
The page i am testing is essentially a registration page on a web site.
can anyone tell me why i would only see 10 random selections of data appear?