LoadTest: MethodAccessException Microsoft.VisualStudio.TestTools.WebTesting.WebTest.set_Outcome | Blinded by the lights
I had a load test that used a coded web test. At some point the coded web test changed, i.e. this line was added: Outcome = Outcome.Fail;. After this change the test stopped working – it always ended with error message: ‘User aborted test run’. Apart from that each iteration of the web test produced…
How to abort load test when its scenario fails? | Blinded by the lights
By definition a load test is supposed to simulate many users accessing a server at the same time. It consists of series of iterations, which can be either Web tests or unit tests. Each operation is repeated the defined number of times for each virtual user. A load test completes with status ‘Completed’. If one…
Load Test – Plug-In class not found | Blinded by the lights
I wanted to change a load test so that it works similar to what Gabriel Szlechtman described in his blog. Additionally, I followed MSDN instruction on how to create a Load Test Plug-In. So I created a new project with a plug-in class, added a reference to it from load test project and wanted to…
Is it possible to fail a load test? | Blinded by the lights
It’s not really possible to fail a load test because by default it always ends with status ‘Completed’. Because of that anytime a load test completes one musts analyze the results – if performance stayed at the acceptable level. So, despite being a powerful tool, load tests require human attention, which makes the whole testing…