This project is read-only.

TransMock v1.1 released!

Jun 13, 2016 at 8:56 PM
Edited Jun 13, 2016 at 8:56 PM
TransMock v1.1 was just released! There was added new behavior to the MockReceiveStep and MockRequestResponseStep classes related to handling multiple messages in a single step instance. This allows to author much easier tests related to de-batching scenarios.

There have been added 3 new properties to these classes:
  • DebatchedMessageCount - the number of messages that are expected to be debatched in BizTalk server and sent to this step instance
  • ValidationMode - defines the way the validation sub steps will be executed and has the following allowed enum values:
    • MultiMessageValidationMode.Serial (Default) - executes each and every sub step found in the SubSteps collection for each and every received message, and
    • MultiMessageValidationMode.Cascading - executes each sub step found in the collection found at the corresponding to the received message index location in the CascadingSubSteps dictionary (see below). This mode allows to execute different sub steps for each message.
    • CascadingSubSteps - a dictionary with a definition of int, Collection<SubStepBase> elements, where the key is the 0 based index of a received message and the collection contains the sub steps that should be executed for this message.