In 2012 I created a TestTool to test Business Rules that you can use in the ESB Toolkit for BizTalk 2010. (See the post: Testing ESB Toolkit 2.1 Business Rules for BizTalk 2010) The sample was downloaded over 350 times so I thought maybe it would be nice to port it to BizTalk 2013 and add some features to the tool!
The following changes and additions have been made:
With the sample Tool policies can be tested that have one of the following vocabularies from the ESB Toolkit:
Open the XML file in the TestTool and specify the following properties:
When you click on the “Test” button, the policy is executed against the BRE engine.
The sample is designed for BizTalk 2013 but if you want to use it for BizTalk 2010 you can change the target framework and remove the custom MapHelper class that performs the BizTalk transformations. Add a reference again to the ESB.TransformServices.dll assembly from the ESB Toolkit and use these classes to call a BizTalk map.
You can download the sample tool with the source code here: Testing Business Rules in ESB toolkit 2.2 for BizTalk 2013