load test and webtest exception

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ddoc

    #1

    load test and webtest exception

    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:

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

    Error Stack Trace is given below:

    at
    Microsoft.Visua lStudio.TestToo ls.WebTesting.T hreadedWebTest. <GetRequestEnum erator>d__0.Mov eNext()
    at
    Microsoft.Visua lStudio.TestToo ls.WebStress.We bTestCaseVariat ion.ExecuteNext TopLevelRequest ()

    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?

Working...