Web test details are not displayed when ran from an ordered test

后端 未结 2 733
隐瞒了意图╮
隐瞒了意图╮ 2021-01-24 18:03

I have an ordered test that contains 4 web tests. The problem is that Visual Studio seems to have a problem loading the test results for an individual test.

I included a

2条回答
  •  不知归路
    2021-01-24 18:19

    Here is an alternative to Ordered Tests:

    1. Add the web tests to a load test

    2. In the test mix choose 'Test mix based on sequential test order'. This will achieve the same thing as an Ordered Test.

      enter image description here

    3. In the load test run settings, make sure 'Save Log on Test Failure' is set to True:

      enter image description here

    4. Set a Constant Load Pattern of 1 user

    At the end of the "load" test you will be able to see the number of failures and on the Tables view you can click on the error count which takes you to a dialog that lets you browse the individual web test failures.

    enter image description here

    enter image description here

提交回复
热议问题