Aaron H. Kim Fearless Integration Maniac

How to test BizTalk pipeline?

Aaron Kim

There are some hidden tools that Microsoft provides out of the box but not often used. One of those is the pipeline.exe It’s located in %BTSInstallDir%\SDK\Utilities\PipelineTools\

This is a sample usage that I’ve practiced.

C:\Program Files\Microsoft BizTalk Server 2006\SDK\Utilities\PipelineTools>**Pipel  
ine.exe ReceivePipeline.btp -d 00590009.out -pf property.xml -p -v**  
Creating objects.  
Using encoding Unicode (UTF-8)  
Creating message.  
Adding message to a pipeline.  
Executing pipeline.  
Getting processed message(s).  
Doing output for a message 1.

Message 1 context properties:  

Name = "MQMD_CorrelId" namespace = "http://schemas.microsoft.com/BizTalk/2003/mq  
s-properties" value = "test1" promoted = "Yes" type = "String"

You can basically test your pipeline with this tool. But the best thing is that you can actually put context properties with your own xml file.

	<property name="MQMD_CorrelId" namespaceURI="http://schemas.microsoft.com/BizTalk/2003/mqs-properties" value="test1" />  

I used this tool to put context property called “MQMD_CorrelId” into pipeline and it worked like a charm. This can actually save a lot of your time when you develop pipeline component.

Similar Posts