Specify a test termination condition in the Visual Studio test load

I am testing a large BizTalk system using the Visual Studio boot test. Load Test for pushing messages in MQ, they are picked up by BizTalk and then processed.

Instead of completing the test (and completing all performance counters), as soon as Visual Studio finishes typing messages in MQ, I want the test to end if and only if some condition is met (in my case if (SELECT COUNT(*) FROM BizTalkMsgBoxDb.dbo.Spool) == 4),

I can see many ways to start the material after the test is completed, but there is no obvious way to extend the test and continue monitoring if a specific user exit condition is not met.

Is this possible, or if not, does anyone have an idea for a good job / hack to achieve this?

+5
source share
3 answers

At the time of this writing (as before) there is no way to extend the duration of the test using the custom load check plugin or not to get a virtual user type that refused to exit, or to block the closing period to check and prevent it from going out of this way.

The only way we were able to do something like this was to directly manipulate the LoadTest database and subsequently enter performance counter data from the log files, but this is not recommended and not recommended.

Oh good..

0
source

, , , . , .

  • : ( ) - , ( ), .
  • , :. "" , . - , , .
  • : - , . - , , (60 ?). , ( - $LoadTestUserContext , -).
  • : , TestFinished. , LoadTest.Abort().

There is one minor flaw in this method: the status of the test is marked as Abortedin the results database.

+1
source

All Articles