<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogical.se/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Mikael Håkansson : Testing</title><link>http://blogical.se/blogs/mikael/archive/tags/Testing/default.aspx</link><description>Tags: Testing</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Ewan Fairweather is comming to BizTalk User Group Sweden</title><link>http://blogical.se/blogs/mikael/archive/2010/04/26/ewan-fairweather-is-comming-to-biztalk-user-group-sweden.aspx</link><pubDate>Mon, 26 Apr 2010 11:42:00 GMT</pubDate><guid isPermaLink="false">19a535f3-07d9-4378-9c5a-8d019d91e842:11333</guid><dc:creator>wmmihaa</dc:creator><slash:comments>2</slash:comments><comments>http://blogical.se/blogs/mikael/archive/2010/04/26/ewan-fairweather-is-comming-to-biztalk-user-group-sweden.aspx#comments</comments><description>&lt;table&gt;
            &lt;tr&gt;
                
                &lt;td&gt;
                    &lt;p&gt;
                        Performance has been&amp;nbsp; one of the more popular topics at the Swedish BizTalk
                        user group, where we’ve had both &lt;a href="http://blogs.msdn.com/darrenj/"&gt;
                            Darren Jefford&lt;/a&gt; and &lt;a href="http://blogs.msdn.com/paolos/"&gt;
                                Paolo Salvatori&lt;/a&gt; as previous speakers. This event is of a more practical
                        and detailed level, and covers performance considerations from both a setup/configuration
                        perspective as well as from a developer perspective. Ewan and I have been planning
                        this event since mid January, but for various reasons we haven’t been able to do
                        it until now.&lt;/p&gt;&lt;h3&gt;BizTalk Server Performance: &lt;i&gt;Best practice&lt;/i&gt;&lt;/h3&gt;  &lt;p&gt;&lt;b&gt;Session
 #1 – Instrument your BizTalk Server&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Optimizing and 
verifying your BizTalk Server installation is not an easy thing to do. 
The documentation is good but very extensive. This presentation aims to 
guide you through the most important operations you need to do in order 
to boost the performance of BizTalk. &lt;/p&gt;  &lt;p&gt;&lt;b&gt;Session #2 - 
Performance Optimization Patterns&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;This session will present 
architectural, design, and development patterns to improve BizTalk 
processing performance. &amp;quot;Performance&amp;quot; can be expressed by latency and/or
 throughput, and this session will cover aspects of both. This will 
include pipeline and orchestration patterns to increase throughput, 
reduce latency, and reduce memory usage during BizTalk processing. We 
will also cover the results from BizTalk CAT recent Perf engagements.&lt;/p&gt;
                &lt;/td&gt;
&lt;td&gt;
                    &lt;iframe src="http://www.eventbrite.com/countdown-widget?eid=669242723" frameborder="0" height="440" width="230"&gt;&lt;/iframe&gt;
                &lt;br /&gt;&lt;/td&gt;
            &lt;/tr&gt;
        &lt;/table&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;Speaker&lt;/b&gt;: &lt;/p&gt;  &lt;p&gt;&lt;b&gt;Ewan Fairweather&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Ewan 
Fairweather has worked for Microsoft for five years. He currently works 
as a program manager in the Business Platform Division on the Customer 
Advisory Team (CAT) working on large scale Integration and OLTP SQL 
applications.&amp;nbsp; Prior to this, Ewan spent three years working for 
Microsoft U.K. in the Premier Field Engineering team where he worked 
with enterprise customers, helping them to maintain and optimize their 
BizTalk applications. This included working in a dedicated capacity on 
some of the world&amp;#39;s largest BizTalk deployments, predominantly within 
financial services. &lt;/p&gt;  &lt;p&gt;Ewan coauthored the successful Professional
 BizTalk Server 2006 (Wrox, 2007) and has written many white papers for 
Microsoft including the &amp;quot;Microsoft BizTalk Server Performance 
Optimization Guide,&amp;quot; which is available on the Microsoft Developers 
Network (MSDN) Web site. Prior to joining Microsoft, Ewan worked as a 
Cisco Certified Academy Instructor (CCAI) for a regional training 
organization, delivering advanced routing and networking courses. Ewan 
holds a bachelor&amp;#39;s degree in computing with management from the 
University of Leeds. Outside of work, Ewan&amp;#39;s hobbies include reading, 
taking part in as many sports as possible, and regularly going to the 
gym.&lt;/p&gt;  &lt;p&gt;Ewan maintains his blog at &lt;a href="http://blogs.msdn.com/ewanf"&gt;http://blogs.msdn.com/ewanf&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;img src="http://blogical.se/aggbug.aspx?PostID=11333" width="1" height="1"&gt;</description><category domain="http://blogical.se/blogs/mikael/archive/tags/BizTalk/default.aspx">BizTalk</category><category domain="http://blogical.se/blogs/mikael/archive/tags/BizTalk+User+Group/default.aspx">BizTalk User Group</category><category domain="http://blogical.se/blogs/mikael/archive/tags/Testing/default.aspx">Testing</category><category domain="http://blogical.se/blogs/mikael/archive/tags/BizTalk+2009/default.aspx">BizTalk 2009</category><category domain="http://blogical.se/blogs/mikael/archive/tags/BizTalk+2006+R2/default.aspx">BizTalk 2006 R2</category></item><item><title>BizTalk Benchmark Wizard – New release</title><link>http://blogical.se/blogs/mikael/archive/2010/04/23/biztalk-benchmark-wizard-new-release.aspx</link><pubDate>Fri, 23 Apr 2010 12:25:00 GMT</pubDate><guid isPermaLink="false">19a535f3-07d9-4378-9c5a-8d019d91e842:11303</guid><dc:creator>wmmihaa</dc:creator><slash:comments>2</slash:comments><comments>http://blogical.se/blogs/mikael/archive/2010/04/23/biztalk-benchmark-wizard-new-release.aspx#comments</comments><description>&lt;p&gt;The Benchmark Wizard was released earlier this year, and even though we got lots of good feedback we’ve also got requests for some changes.&lt;/p&gt;  &lt;p&gt;If you haven’t yet heard about this tool, the purpose of it is to verify your BizTalk environment performs as expected. There are two different scenarios you can run, a &lt;i&gt;Messaging&lt;/i&gt; and an &lt;i&gt;Orchestration scenario&lt;/i&gt;. Each of the scenarios has been tested on various environments and configuration. The result of these tests has provided the tool with a set of KPI’s, which your test result will be benchmarked against. For more information about the Benchmark Wizard:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogical.se/blogs/mikael/archive/2009/11/26/benchmark-your-biztalk-server-part-1.aspx"&gt;Benchmark your BizTalk Server (Part 1)&lt;/a&gt; - Overview&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogical.se/blogs/mikael/archive/2009/11/26/benchmark-your-biztalk-server-part-2.aspx"&gt;Benchmark your BizTalk Server (Part 2)&lt;/a&gt; – How to install&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/ewanf/archive/2010/01/12/benchmark-your-biztalk-server-part-3.aspx"&gt;Benchmark your BizTalk Server (Part 3)&lt;/a&gt; – Drill down and analyse&lt;/p&gt;  &lt;p&gt;The most common feedback is related to the fact that it was very difficult to meet the KPI’s. A reason for this is that the original tests where executed while global tracking was disabled. This was unfortunate as the DTA tracking has ~30% overhead. We have done a re-run of all the tests, and updated the KPI’s for the new version (shown at the bottom of this page).&lt;/p&gt;  &lt;p&gt;Further more, there seams to be a question of how to interpret the result. What does “Succeeded” mean? Does it reflect the best possible result or good enough? To make this more clear, we’ve implemented the “stop light approach”, where if you’ve &lt;i&gt;Succeeded&lt;/i&gt; you should be proud of yourself and make a blog post, while an &lt;i&gt;Acceptable&lt;/i&gt; result is nothing to be ashamed of.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogical.se/blogs/mikael/image_76723C2E.png"&gt;&lt;img src="http://blogical.se/blogs/mikael/image_thumb_47AC838C.png" style="border-width:0px;display:inline;" title="image" alt="image" border="0" height="372" width="640" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;There has also been some other fixes such as the resetting all the counters when you re-run the test, and fixing the CPU counters to show correct values.&lt;/p&gt;  &lt;p&gt;Special thanks to Microsoft and &lt;a href="http://blogs.msdn.com/ewanf/"&gt;Ewan Fairweather&lt;/a&gt; for letting me use their test lab!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://bbw.codeplex.com/"&gt;Download BizTalk Benchmark Wizard from CodePlex&lt;/a&gt;&lt;/p&gt;  &lt;h4&gt;Scenario KPI’s: Messaging Single and Multi Message Box&lt;/h4&gt;  &lt;p&gt;&lt;a href="http://blogical.se/blogs/mikael/image_145102E8.png"&gt;&lt;img src="http://blogical.se/blogs/mikael/image_thumb_241097EC.png" style="border:0px none;display:inline;" title="image" alt="image" border="0" height="172" width="644" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;h4&gt;Scenario KPI’s: Orchestration Single Message Box&lt;/h4&gt;  &lt;p&gt;&lt;a href="http://blogical.se/blogs/mikael/image_3EAD0E38.png"&gt;&lt;img src="http://blogical.se/blogs/mikael/image_thumb_755A436F.png" style="border:0px none;display:inline;" title="image" alt="image" border="0" height="170" width="644" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;h4&gt;Test environment:&lt;/h4&gt;  &lt;p&gt;&lt;a href="http://blogical.se/blogs/mikael/image_1F5A4198.png"&gt;&lt;img src="http://blogical.se/blogs/mikael/image_thumb_1D3D42CF.png" style="border:0px none;display:inline;" title="image" alt="image" border="0" height="296" width="644" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;div align="center"&gt;&lt;/div&gt;  &lt;p&gt;* Storage: EMC Clarion CX-240 ( 5 solid state drives )&lt;/p&gt;  &lt;h4&gt;Configuration:&lt;/h4&gt;  &lt;ul&gt;   &lt;li&gt;Global tracking enabled &lt;/li&gt;    &lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ee377060%28BTS.10%29.aspx"&gt;Partitioned the tempDb, BizTalkDTADb and BizTalkMsgBoxDb to as many files as CPU’s&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ee377069%28BTS.10%29.aspx"&gt;Separated the BizTalk MessageBox database into multiple filegroups / files&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://support.microsoft.com/kb/328551"&gt;Enabled the -T1118 flag on the SQL Service&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Disabled Throttling on send and processing hosts &lt;/li&gt;    &lt;li&gt;Updated the thread settings (CLR Hosting) on all hosts &lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogical.se/aggbug.aspx?PostID=11303" width="1" height="1"&gt;</description><category domain="http://blogical.se/blogs/mikael/archive/tags/BizTalk/default.aspx">BizTalk</category><category domain="http://blogical.se/blogs/mikael/archive/tags/Testing/default.aspx">Testing</category><category domain="http://blogical.se/blogs/mikael/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogical.se/blogs/mikael/archive/tags/BizTalk+2009/default.aspx">BizTalk 2009</category><category domain="http://blogical.se/blogs/mikael/archive/tags/BizTalk+2006+R2/default.aspx">BizTalk 2006 R2</category></item><item><title>WebCast - BizTalk Benchmark Wizard</title><link>http://blogical.se/blogs/mikael/archive/2010/02/01/webcast-biztalk-benchmark-wizard.aspx</link><pubDate>Mon, 01 Feb 2010 20:00:00 GMT</pubDate><guid isPermaLink="false">19a535f3-07d9-4378-9c5a-8d019d91e842:10659</guid><dc:creator>wmmihaa</dc:creator><slash:comments>0</slash:comments><comments>http://blogical.se/blogs/mikael/archive/2010/02/01/webcast-biztalk-benchmark-wizard.aspx#comments</comments><description>&lt;p&gt;&lt;b&gt;&lt;font size="5"&gt;The webcast is moved to &lt;/font&gt;&lt;a href="http://www.cloudcasts.net/ViewWebcast.aspx?webcastid=2521371874424045954" target="_blank"&gt;&lt;font size="5"&gt;Cloudcast.net&lt;/font&gt;&lt;/a&gt;&lt;font size="5"&gt;.&lt;/font&gt;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Overview:&lt;/b&gt; &lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/biztalk/ee946766.aspx"&gt;MSDN Devcenter&lt;/a&gt; &lt;br /&gt;&lt;b&gt;Download:&lt;/b&gt; &lt;br /&gt;&lt;a href="http://bbw.codeplex.com/"&gt;Download from CodePlex.com&lt;/a&gt; &lt;br /&gt;&lt;b&gt;For more information:&lt;/b&gt; &lt;br /&gt;&lt;a href="http://blogical.se/blogs/mikael/archive/2009/11/26/benchmark-your-biztalk-server-part-1.aspx"&gt;Benchmark your BizTalk Server (Part 1)&lt;/a&gt; &lt;br /&gt;&lt;b&gt;How to install:&lt;/b&gt; &lt;br /&gt;&lt;a href="http://blogical.se/blogs/mikael/archive/2009/11/26/benchmark-your-biztalk-server-part-2.aspx"&gt;Benchmark your BizTalk Server (Part 2)&lt;/a&gt; &lt;br /&gt;&lt;b&gt;BBW Drill Down:&lt;/b&gt; &lt;br /&gt;&lt;a href="http://blogs.msdn.com/ewanf/archive/2010/01/12/benchmark-your-biztalk-server-part-3.aspx"&gt;Benchmark your BizTalk Server (Part 3)&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogical.se/aggbug.aspx?PostID=10659" width="1" height="1"&gt;</description><category domain="http://blogical.se/blogs/mikael/archive/tags/BizTalk/default.aspx">BizTalk</category><category domain="http://blogical.se/blogs/mikael/archive/tags/Testing/default.aspx">Testing</category><category domain="http://blogical.se/blogs/mikael/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogical.se/blogs/mikael/archive/tags/BizTalk+2009/default.aspx">BizTalk 2009</category><category domain="http://blogical.se/blogs/mikael/archive/tags/BBW/default.aspx">BBW</category><category domain="http://blogical.se/blogs/mikael/archive/tags/BizTalk+2006+R2/default.aspx">BizTalk 2006 R2</category></item><item><title>Benchmark your BizTalk Server (Part 2)</title><link>http://blogical.se/blogs/mikael/archive/2010/01/10/benchmark-your-biztalk-server-part-2.aspx</link><pubDate>Sun, 10 Jan 2010 10:00:00 GMT</pubDate><guid isPermaLink="false">19a535f3-07d9-4378-9c5a-8d019d91e842:10387</guid><dc:creator>wmmihaa</dc:creator><slash:comments>10</slash:comments><comments>http://blogical.se/blogs/mikael/archive/2010/01/10/benchmark-your-biztalk-server-part-2.aspx#comments</comments><description>&lt;p&gt;This post describes the installation process for the &lt;a href="http://bbw.codeplex.com/"&gt;BizTalk Benchmark Wizard&lt;/a&gt; application. For more information read &lt;a href="http://blogical.se/blogs/mikael/archive/2009/11/26/benchmark-your-biztalk-server-part-1.aspx"&gt;part 1&lt;/a&gt;. &lt;/p&gt;
&lt;h4&gt;The complete installation will include the following components:&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;BizTalk Benchmark wizard – &lt;i&gt;The client tool from which you will run the tests&lt;/i&gt; &lt;/li&gt;
&lt;li&gt;Three Hosts – &lt;i&gt;BBW_RxHost, BBW_PxHost, BBW_TxHost&lt;/i&gt; &lt;/li&gt;
&lt;li&gt;Three Host Instances &lt;/li&gt;
&lt;li&gt;Two Adapter handlers for NetTcp &lt;/li&gt;
&lt;li&gt;One BizTalk Application &lt;/li&gt;
&lt;li&gt;Two Receive Ports &lt;/li&gt;
&lt;li&gt;Two Send Hosts &lt;/li&gt;
&lt;li&gt;One Orchestration &lt;/li&gt;&lt;/ul&gt;
&lt;h4&gt;The installation process&lt;/h4&gt;
&lt;p&gt;Download the bits from &lt;a href="http://bbw.codeplex.com/"&gt;Codeplex&lt;/a&gt;, and proceed with the normal installation. As the setup completes, your first step would be to install the BizTalk artifacts. These artifacts are the BizTalk components and bindings which makes up the testing scenarios. This is a two step process as you need to set up the hosts before you import the bindings.&lt;/p&gt;
&lt;h4&gt;BizTalk environment&lt;/h4&gt;
&lt;p&gt;You can run the scenarios on either a single-server installation or a two server installation. Regardless of the number of BizTalk servers in you group, you should not run it with more than two “active” servers, as it will otherwise not be covered by the benchmark values.&lt;/p&gt;
&lt;h5&gt;&lt;a href="http://blogical.se/blogs/mikael/image_0258637C.png"&gt;&lt;img src="http://blogical.se/blogs/mikael/image_thumb_330B6B27.png" style="border-width:0px;display:inline;" title="image" alt="image" border="0" height="369" width="640" /&gt;&lt;/a&gt; &lt;/h5&gt;
&lt;h5&gt;&amp;nbsp;&lt;a href="http://blogical.se/blogs/mikael/image_673F946D.png"&gt;&lt;img src="http://blogical.se/blogs/mikael/image_thumb_06823B41.png" style="border-width:0px;display:inline;" title="image" alt="image" border="0" height="347" width="640" /&gt;&lt;/a&gt; &lt;/h5&gt;
&lt;h4&gt;1. Setup Hosts, Instances and Adapter handlers&lt;/h4&gt;
&lt;p&gt;The hosts, instances and handlers are created through running a script. You need to run the script file using “cscript” as shown below, and I apologize in advance to the poor error messages you might run into.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;1. Open an command prompt window and navigate to [Installation folder]\Artefacts\BizTalk. By default, the installation folder is “&lt;i&gt;C:\Program Files\Blogical\BizTalk Benchmark Wizard&lt;/i&gt;”. &lt;/p&gt;
&lt;p&gt;2. In the BizTalk folder you’ll find a InstallHosts.vbs file. Execute it using the following parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;p&gt;&lt;b&gt;NTGroupName&lt;/b&gt; &lt;i&gt;- The name of the &lt;/i&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ee276891%28BTS.10%29.aspx"&gt;&lt;i&gt;Windows NT group&lt;/i&gt;&lt;/a&gt;&lt;i&gt;. &lt;br /&gt;&lt;/i&gt;&lt;b&gt;UserName&lt;/b&gt;&amp;nbsp;&lt;i&gt;– The name of the user account running the service instances. &lt;br /&gt;&lt;/i&gt;&lt;b&gt;Password&lt;/b&gt; &lt;i&gt;– The password of the user account running the service instances. &lt;br /&gt;&lt;/i&gt;&lt;b&gt;Receive Host&lt;/b&gt;&amp;nbsp;&lt;i&gt;– The name of the server where you want to run the receive host instance.&amp;nbsp; &lt;br /&gt;&lt;/i&gt;&lt;b&gt;Send Host&lt;/b&gt; &lt;i&gt;- The name of the server where you want to run the sen host instance. &lt;br /&gt;&lt;/i&gt;&lt;b&gt;Processing Host&lt;/b&gt; &lt;i&gt;- The name of the server where you want to run the process host instance.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;If you have a single box installation, your script command might look like this:&lt;/p&gt;
&lt;p&gt;&lt;i&gt;cscript InstallHosts.vbs &amp;quot;BizTalk Application Users&amp;quot; “\MyUser” “MyPassword” “BtsServer1” “BtsServer1” “BtsServer1”&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;If you have a multi server installation, your script command might look like this:&lt;/p&gt;
&lt;p&gt;&lt;i&gt;cscript&lt;/i&gt; &lt;i&gt;InstallHosts.vbs &amp;quot;MyDomain\BizTalk Application Users&amp;quot; “MyDomain\MyUser” “MyPassword” “BtsServer1” “BtsServer2” “BtsServer2”&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Running this script will create:&lt;/b&gt;&lt;/p&gt;
&lt;li&gt;Three hosts (BBW_RxHost, BBW_TxHost and BBW_PxHost) &lt;/li&gt;
&lt;li&gt;Three host instances &lt;/li&gt;
&lt;li&gt;One send and one receive adapter handler for the WCF NetTcp adapter. &lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;h4&gt;2. Import BizTalk MSI&lt;/h4&gt;
&lt;p&gt;1. Open the BizTalk Administration Console, point to the “Applications” node and import the&lt;i&gt; BizTalk Benchmark Wizard.msi f&lt;/i&gt;ound in the same folder as the scripts above&lt;i&gt;.&lt;/i&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;p&gt;This will create a “BizTalk Benchmark Wizard” application along with all ports and orchestrations. &lt;/p&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;p&gt;2. Finally, run the &lt;i&gt;BizTalk Benchmark Wizard.msi&lt;/i&gt; &lt;u&gt;&lt;b&gt;on all BizTalk servers&lt;/b&gt;&lt;/u&gt; to add the assemblies to the Global Assembly Cache (GAC).&lt;/p&gt;
&lt;p&gt;Done, click [Start]-&amp;gt; [All Programs]-&amp;gt;[BizTalk Application Wizard] - [BizTalk Application Wizard] to start the application.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Related articles:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/ewanf/archive/2010/01/12/benchmark-your-biztalk-server-part-3.aspx" target="_blank"&gt;Benchmark your BizTalk Server (Part 3)&lt;/a&gt; by Ewan Fairweather &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;&lt;img src="http://blogical.se/aggbug.aspx?PostID=10387" width="1" height="1"&gt;</description><category domain="http://blogical.se/blogs/mikael/archive/tags/BizTalk/default.aspx">BizTalk</category><category domain="http://blogical.se/blogs/mikael/archive/tags/Testing/default.aspx">Testing</category><category domain="http://blogical.se/blogs/mikael/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogical.se/blogs/mikael/archive/tags/BBW/default.aspx">BBW</category></item><item><title>Benchmark your BizTalk Server (Part 1)</title><link>http://blogical.se/blogs/mikael/archive/2010/01/10/benchmark-your-biztalk-server-part-1.aspx</link><pubDate>Sat, 09 Jan 2010 23:00:00 GMT</pubDate><guid isPermaLink="false">19a535f3-07d9-4378-9c5a-8d019d91e842:10326</guid><dc:creator>wmmihaa</dc:creator><slash:comments>0</slash:comments><comments>http://blogical.se/blogs/mikael/archive/2010/01/10/benchmark-your-biztalk-server-part-1.aspx#comments</comments><description>&lt;p&gt;&lt;b&gt;Ever wondered if your BizTalk is all it can be?&lt;/b&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogical.se/blogs/mikael/image17_10C0997D.png"&gt;&lt;img src="http://blogical.se/blogs/mikael/image17_thumb_224C7049.png" style="border-width:0px;display:inline;" title="image" alt="image" border="0" height="279" width="441" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Verifying your BizTalk Server installation is not an easy thing to do. So far the &lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=24660797-0c8f-4687-9d5f-b76d99b37ec2"&gt;BizTalk Server 2009 Performance Optimization Guide&lt;/a&gt; is probably your safest bet. The Optimization Guide provides in-depth information for optimizing the performance of a BizTalk Server solution. However,&amp;nbsp; it won’t help you evaluate you BizTalk installation at runtime. To do this, you’ll have to continue analyzing it using &lt;a href="http://pal.codeplex.com/"&gt;Performance Analysis of Logs (PAL)&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;I’m not saying these aren’t good tools. In fact they are great. They are however quite extensive, and will ultimately not answer the question: “Do I get the expected workload through BizTalk?”. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/ewanf/default.aspx" target="_blank"&gt;Ewan Fairweather&lt;/a&gt;, together with some other smart people at Microsoft, have put together a comprehensive study about scaling out BizTalk. The principal is simple, test the same scenarios with different environments and quantify the scale out capabilities of one to four BizTalk servers and one to three message boxes.&lt;/p&gt;
&lt;p&gt;&lt;i&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ee377068%28BTS.10%29.aspx" target="_blank"&gt;The BizTalk Server 2009 Scale Out Testing Study&lt;/a&gt;&lt;/i&gt; provides sizing and scaling guidance for BizTalk Server. However, you’d find it challenging to compare your environment to these numbers as you haven’t got access to the same testing scenarios. And even if you did, you still couldn’t be sure you’ve configured it the same, and that you have been running the equivalent LoadGen scripts.&lt;/p&gt;
&lt;p&gt;Four months ago, I contacted Ewan to ask him if he had some testing scenario I could run to evaluate the environment I was currently working on. He didn’t, but seemed very aware of the lack of such a “tool”. One thing led to another and we came to the conclusion we should make it ourselves.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;- Today, four months later, we are happy to announce that &lt;/b&gt;&lt;a href="http://bbw.codeplex.com/"&gt;&lt;b&gt;BizTalk Benchmark Wizard is publicly available on Codeplex&lt;/b&gt;&lt;/a&gt;&lt;b&gt;.&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;The goal has been to make an easy to install and simple to use, wizard-like application with which one could test a BizTalk environment– and compare the result to the study. One of the challenges where to scope the project, and prevent ourselves from solving problems already addressed in tools such as &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c8af583f-7044-48db-b7b9-969072df1689&amp;amp;DisplayLang=en" target="_blank"&gt;LoadGen&lt;/a&gt; and &lt;a href="http://pal.codeplex.com/"&gt;PAL&lt;/a&gt;. For instance, BizTalk Benchmark Wizard is &lt;b&gt;NOT&lt;/b&gt;…&lt;/p&gt;
&lt;h4&gt;…a load tool&lt;/h4&gt;
&lt;p&gt;Although it does create load, it only does so against ONE receive host. The application could work against multiple receive hosts, in fact the earlier versions did, but it required a much more complex setup process from the user. We came to the conclusion that if your environment measures up using only one receive host, it most likely would do so using multiple hosts.&lt;/p&gt;
&lt;p&gt;By setting these limitations, it also simplifies the comparison of environments and benchmarking them against the result from the Microsoft Study.&lt;/p&gt;
&lt;h4&gt;…an analyzing tool&lt;/h4&gt;
&lt;p&gt;The tool does not analyze any eventual problems or bottlenecks. Neither does it give any hints or advice of how to solve them. It does however collect Perfmon counter data from each of the servers, both BizTalk and SQL. If your environment fails the test, you can analyze the data using the PAL tool. &lt;/p&gt;
&lt;h4&gt;How it works:&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;After the user has started the application and specified the BizTalk Group, the tool analyzes its configuration, finding all the BizTalk servers, Messageboxes etc. &lt;/li&gt;
&lt;li&gt;Secondly, the user gets to select one of two scenarios: Messaging or Orchestration. Each scenario has a set of tested environments such as 
&lt;ul&gt;
&lt;li&gt;“&lt;i&gt;Single server (2*Quad CPU, 4GB RAM)”&lt;/i&gt;&amp;nbsp; &lt;/li&gt;
&lt;li&gt;&lt;i&gt;“1*BTS (1*Quad CPU.&amp;nbsp; 4GB RAM) + 1*SQL(1*Quad CPU, 8GB RAM)&lt;/i&gt;”. &lt;/li&gt;
&lt;li&gt;&lt;i&gt;“2*BTS (2*Quad CPU.&amp;nbsp; 8GB RAM) + 2*SQL(2*Quad CPU, 16GB RAM)&lt;/i&gt;”. &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;The user selects the environment which most resembles his/her own. &lt;/li&gt;
&lt;li&gt;The user then starts the &lt;i&gt;Indigo Service, &lt;/i&gt;a console application hosting a service which will be called from the BizTalk Send port. &lt;/li&gt;
&lt;li&gt;As the user clicks “Run test”, the tool continues to start ports and orchestrations. It will also start the Perfmon collector sets if the user has chosen to create those. &lt;/li&gt;
&lt;li&gt;As the test proceeds the user can monitor the counter values through the gauges (&lt;i&gt;CPU utilization, Received msgs/sec and Processed msgs/sec&lt;/i&gt;). The default test duration is 30 minutes, with a warm-up of 2 minutes. &lt;/li&gt;
&lt;li&gt;Finally, the user is presented a result, which is either Succeeded or Failed.&amp;nbsp;&amp;nbsp; &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;a href="http://blogical.se/blogs/mikael/image_58B9CFF3.png"&gt;&lt;img src="http://blogical.se/blogs/mikael/image_thumb_413B07C3.png" style="border-width:0px;display:inline;" title="image" alt="image" border="0" height="391" width="569" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Related articles:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogical.se/blogs/mikael/archive/2009/11/26/benchmark-your-biztalk-server-part-2.aspx"&gt;Benchmark your BizTalk Server (Part 2)&lt;/a&gt; &lt;br /&gt;&lt;/p&gt;&lt;a href="http://blogs.msdn.com/ewanf/archive/2010/01/12/benchmark-your-biztalk-server-part-3.aspx" target="_blank"&gt;Benchmark your BizTalk Server (Part 3)&lt;/a&gt; by Ewan Fairweather &lt;p&gt;If you pass the test, you can proudly submit your result to the the &lt;a href="http://blogical.se/bbw" target="_blank"&gt;High Score&lt;/a&gt; list. “E.W.N” seams to be the one to beat…&lt;/p&gt;&lt;img src="http://blogical.se/aggbug.aspx?PostID=10326" width="1" height="1"&gt;</description><category domain="http://blogical.se/blogs/mikael/archive/tags/BizTalk/default.aspx">BizTalk</category><category domain="http://blogical.se/blogs/mikael/archive/tags/Testing/default.aspx">Testing</category><category domain="http://blogical.se/blogs/mikael/archive/tags/Tools/default.aspx">Tools</category><category domain="http://blogical.se/blogs/mikael/archive/tags/BBW/default.aspx">BBW</category></item><item><title>BizTalk migration – Testing</title><link>http://blogical.se/blogs/mikael/archive/2008/03/18/biztalk-migration-testing.aspx</link><pubDate>Tue, 18 Mar 2008 18:04:00 GMT</pubDate><guid isPermaLink="false">19a535f3-07d9-4378-9c5a-8d019d91e842:138</guid><dc:creator>wmmihaa</dc:creator><slash:comments>0</slash:comments><comments>http://blogical.se/blogs/mikael/archive/2008/03/18/biztalk-migration-testing.aspx#comments</comments><description>&lt;p&gt;When migrating from BizTalk 2004 (or possibly 2002) to 2006 one might feel tempted to do some refactoring at the same time, fixing things you (or somebody else) could have done better the first time. If the migration is done from a large BizTalk solution, you probably want to make sure everything works as it did before, without spending to much time testing. After all, it’s &amp;quot;just&amp;quot; a migration project. 
&lt;p&gt;So if what you are looking for, is some kind of regression testing, leaving your developers to focus on the migration task, you might find this post useful. 
&lt;p&gt;The basic principle here is letting messages, passing through the old environment, also passing through the new 2006 solution, and ending up being validated to match each other. It is important to understand that this testing process will only test the content of the message and not any possible connectivity problems. It will require you to deploy your 2006 ports using the File adapter on both receive and send port side. Upon deploying your solution to the production environment these ports would need to be changed to whatever binding you used before. An other important thing to understand is that this process only works with one-way ports.&amp;nbsp; 
&lt;p&gt;To make this happen we need to add a pipeline component at the beginning of every pipeline in the old environment. This component will archive the incoming message to the location where the Receive Location in the new environment will pick it up. Hopefully you can achieve this by copying every pipeline to one new Visual Studio 2003 project, and add the pipeline component to the new pipelines. 
&lt;p&gt;The archive component should be designed to require as little system resources as possible, why it uses a Forward only event streaming manner, which basically prevents the stream from being read more than once. To learn more about ForwardOnly streaming, have a look at &lt;a href="http://blogical.se/blogs/johan/archive/2007/12/20/visualizing-the-difference-between-forwardonly-streaming-in-cusom-pipeline-components.aspx" target="_blank"&gt;Johan&amp;#39;s blog post&lt;/a&gt;.&amp;nbsp;&amp;nbsp; 
&lt;p&gt;&lt;a href="http://blogical.se/blogs/mikael/WindowsLiveWriter/BizTalkmigrationTesting_9844/image_4.png"&gt;&lt;img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="484" alt="image" src="http://blogical.se/blogs/mikael/WindowsLiveWriter/BizTalkmigrationTesting_9844/image_thumb_1.png" width="556" border="0" /&gt;&lt;/a&gt; 
&lt;p&gt;Having the updated pipeline assembly, all we need to do is to (1) add an additional Send Port with identical filter settings, and (2) change the pipeline to the updated one, and (3) set the archive path to where ever you set the receive location to in the 2006 environment. 
&lt;p&gt;When you’ve done this, the orchestration will pick up the files from the Send Port locations and check if they are identical. The result will be sent to the database, along with the actual messages, for later use. 
&lt;p&gt;&lt;a href="http://blogical.se/blogs/mikael/WindowsLiveWriter/BizTalkmigrationTesting_9844/clip_image002_2.jpg"&gt;&lt;img style="BORDER-TOP-WIDTH:0px;BORDER-LEFT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;" height="768" alt="clip_image002" src="http://blogical.se/blogs/mikael/WindowsLiveWriter/BizTalkmigrationTesting_9844/clip_image002_thumb.jpg" width="380" border="0" /&gt;&lt;/a&gt; 
&lt;p&gt;The orchestration is generic and can be used for every scenario. It has an parallel shape which will prevent it from continue until it receives two files with identical names. To ensure the names comes out with the same name, the pipeline component mentioned above, will promote the ReceivedFileName property (file-property namespace) if it is not set. This will be the case when the original message, for instance, is received from an MQ adapter. 
&lt;p&gt;It will then proceed and send the incoming messages to an archive, where you can later pick them up if you need to analyze its content. Next is a decision shape where the actual matching is done. The result will be inserted into a database table, which you may later query to get all failed messages (if any). 
&lt;p&gt;If you find this post of interest, let me know, and I&amp;#39;ll post the source code.&lt;/p&gt;&lt;img src="http://blogical.se/aggbug.aspx?PostID=138" width="1" height="1"&gt;</description><category domain="http://blogical.se/blogs/mikael/archive/tags/BizTalk/default.aspx">BizTalk</category><category domain="http://blogical.se/blogs/mikael/archive/tags/Testing/default.aspx">Testing</category></item></channel></rss>