Geeks With Blogs
Cogito Ergo Code If I don't put it here - I will surely forget! February 2009 Entries
Powershell and BizTalk testing (Mk 1)
I really like TDD (Test Driven Design) and like to push messages through the system as soon as possible. I have really enjoyed using Powershell to drive the input of XML files into file receive locations. Here are two of the simplest recipes. Repeatedly dropping the same file This will copy a single file one hundred times, each with a different numeric filename (i.e. 1.xml, 2.xml, etc...) for($i = 0; $i -le 100; $ += 1) { Copy-Item .\SampleMsg.xml C:\FileDrop\IN\msg_$i.xml if($i % 10 -eq 0) { $i ......

Posted On Friday, February 20, 2009 8:40 PM

Copyright © Howard Ricketts | Powered by: GeeksWithBlogs.net