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

后端 未结 2 729
隐瞒了意图╮
隐瞒了意图╮ 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

    0 讨论(0)
  • 2021-01-24 18:30

    I had the same problem and tryed to clarify it via Microsoft forum:

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

    According to the answer you can not have detailed test result for a web test run as a part of an ordered test.

    0 讨论(0)
提交回复
热议问题