Visual Studio Load Test – Could not read result repository

Issue

After running a web test, you see an error such as this:

Error message:

Could not read result repository: Unknown transaction id in results: XX.

Will display the runtime result instead of the repository result.

You also get a similar error when you try to load historical results from the “Open and Managed Load Test Results” screen. In my case, I am running Visual Studio 2015 with Update 3. The controller and agents are 2013 with update 5.

Solution / Workaround

In this case, the workaround is to update your load test “Run Settings” to include a “Cool-down Duration”. This can set by:

  1. Open the load test file
  2. Click on the run settings section (the active one)

  1. In the properties window, set the “Cool-down Duration” to at least 1 minute:

Advertisements

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