load test and webtest exception

  • Thread starter Thread starter alexandre.barault
  • Start date Start date
A

alexandre.barault

Hi,

I record a webtest.
When I lauched by testManager this webtest, the result is a success.
I launch one more time and the result is the same.

I create a loadtest and I add this webtest.
When I launch this loadtest :

I meet several exception :

The following exception is generated:

RequestEnumeratorException
Exception occurred: The given key was not present in the dictionary.

Error Stack Trace is given below:

at
Microsoft.VisualStudio.TestTools.WebTesting.ThreadedWebTest.<GetRequestEnumerator>d__0.MoveNext()
at
Microsoft.VisualStudio.TestTools.WebStress.WebTestCaseVariation.ExecuteNextTopLevelRequest()

This error is coming when there is a problem with the hidden context.
The network environnment is composed by a farm of 2 iis and an isa
server.
The isa server carried the load balancing between the 2 iis.
I added the necessaries machinekey in the two web.config.

I try the same load test in an environnment with only one IIS and a
computer wich lauched the loadtest.
In this case, no exception appeared.

Anyone have an idea?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top