Close

May 4, 2013

How to integrate Compuware dynaTrace API with VSTS

Performance Testing aside, Performance Engineering is becoming the need of the hour. For a Performance Test Engineer to effectively gauge to provide Performance Engineering solutions, there are plenty number of tools now being available in the market. dynaTrace is one such tool from Compuware, available now for Performance Engineering solutions.

We all know that VSTS tool from Microsoft cater to the Performance Testing solutions of HTTP and HTTPS protocols with utmost compatible support for Microsoft Technologies. Even though Performance Engineering solutions are provided from Microsoft as well, in terms of plug-ins (Refer: http://msdn.microsoft.com/en-us/library/ms404677.aspx), the solution needs its own time and effort to come up to the level that the dynaTrace tool is providing today.
To close this gap, dynaTrace has developed a plug-in to VSTS and is available for download in the following location:
To download the plug-in, you must have the dynaTrace community login ID and Password, which would be available if you register as a partner.
Step-by-Step instructions to integrate dynaTrace API with VSTS:

[auto_thumb width=”150″ height=”150″ link=”” lightbox=”true” align=”center” title=”dynaTrace API Integration with VSTS – QAInsights Step 3″ alt=”dynaTrace API Integration with VSTS – QAInsights Step 3″ iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/05/dynaTrace-API-Integration-with-VSTS-QAInsights-Step-3-.jpg[/auto_thumb]

  • Click on ‘Add…’

[auto_thumb width=”150″ height=”150″ link=”” lightbox=”true” align=”center” title=”dynaTrace API Integration with VSTS – QAInsights Step 4″ alt=”dynaTrace API Integration with VSTS – QAInsights Step 4″ iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/05/dynaTrace-API-Integration-with-VSTS-QAInsights-Step-4.jpg[/auto_thumb]

  • Select the folder and click on ‘OK’.
  • Then go to ‘Tools’-> ‘Addin Manager’:

[auto_thumb width=”150″ height=”150″ link=”” lightbox=”true” align=”center” title=”dynaTrace API Integration with VSTS – QAInsights Step 6″ alt=”dynaTrace API Integration with VSTS – QAInsights Step 6″ iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/05/dynaTrace-API-Integration-with-VSTS-QAInsights-Step-6.jpg[/auto_thumb]

  • Select the checkbox available under ‘Available Add-ins’ and ‘Startup’ and click on ‘OK’. Restart VSTS (Close and launch VSTS again).
  • After successful installation, the following two menu items would be available under ‘Tools’:

[auto_thumb width=”150″ height=”150″ link=”” lightbox=”true” align=”center” title=”dynaTrace API Integration with VSTS – QAInsights Step 8″ alt=”dynaTrace API Integration with VSTS – QAInsights Step 8″ iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/05/dynaTrace-API-Integration-with-VSTS-QAInsights-Step-8.jpg[/auto_thumb]

  • Now, go to ‘Tools’ -> ‘dynaTrace Configuration’ in VSTS:

[auto_thumb width=”150″ height=”150″ link=”” lightbox=”true” align=”center” title=”dynaTrace API Integration with VSTS – QAInsights Step 9″ alt=”dynaTrace API Integration with VSTS – QAInsights Step 9″ iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/05/dynaTrace-API-Integration-with-VSTS-QAInsights-Step-9.jpg[/auto_thumb]

  • Now, open the VSTS Test project, change the dynaTrace Server to the IP address, where dynaTrace server is installed. Provide the dynaTrace Server port accordingly.
  •  In the ‘Solution Explorer’, right click on the References and ‘Add Reference…’:

[auto_thumb width=”150″ height=”150″ link=”” lightbox=”true” align=”center” title=”dynaTrace API Integration with VSTS – QAInsights Step 11_2″ alt=”dynaTrace API Integration with VSTS – QAInsights Step 11_2″ iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/05/dynaTrace-API-Integration-with-VSTS-QAInsights-Step-11_2.jpg[/auto_thumb]

  • Browse and select the ‘dynaTrace.VSTS.WebTestPlug-in.dll’ from the unzipped plug-in folder:

[auto_thumb width=”150″ height=”150″ link=”” lightbox=”true” align=”center” title=”dynaTrace API Integration with VSTS – QAInsights Step 12″ alt=”dynaTrace API Integration with VSTS – QAInsights Step 12″ iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/05/dynaTrace-API-Integration-with-VSTS-QAInsights-Step-12.jpg[/auto_thumb]

  • Click on ‘OK’. Then, the plug-in should be available under the ‘References’ as shown below:

[auto_thumb width=”150″ height=”150″ link=”” lightbox=”true” align=”center” title=”dynaTrace API Integration with VSTS – QAInsights Step 13_2″ alt=”dynaTrace API Integration with VSTS – QAInsights Step 13_2″ iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/05/dynaTrace-API-Integration-with-VSTS-QAInsights-Step-13_2.jpg[/auto_thumb]

  • Save the project and right click on recorded script header and select ‘Add Web Test Plug-in…’:

[auto_thumb width=”150″ height=”150″ link=”” lightbox=”true” align=”center” title=”dynaTrace API Integration with VSTS – QAInsights Step 14″ alt=”dynaTrace API Integration with VSTS – QAInsights Step 14″ iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/05/dynaTrace-API-Integration-with-VSTS-QAInsights-Step-14.jpg[/auto_thumb]

  • Select the plug-in and click on OK:

[auto_thumb width=”150″ height=”150″ link=”” lightbox=”true” align=”center” title=”dynaTrace API Integration with VSTS – QAInsights Step 15″ alt=”dynaTrace API Integration with VSTS – QAInsights Step 15″ iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/05/dynaTrace-API-Integration-with-VSTS-QAInsights-Step-15.jpg[/auto_thumb]

  • Execute the web test and observe the pure path is being collected in the dynaTrace tab:

[auto_thumb width=”150″ height=”150″ link=”” lightbox=”true” align=”center” title=”dynaTrace API Integration with VSTS – QAInsights Step 16_2″ alt=”dynaTrace API Integration with VSTS – QAInsights Step 16_2″ iframe=”false” frame=”true” crop=”true”]http://qainsights.com/wp-content/uploads/2013/05/dynaTrace-API-Integration-with-VSTS-QAInsights-Step-16_2.jpg[/auto_thumb]

Now, have the dynaTrace client installed on the same machine as VSTS and click on each Pure Path link to observe the object level performance details.
Note:
  • If the Pure Paths are not getting displayed, check whether the dynaTrace License is activated.
  • Make sure that the dynaTrace .Net agent is injected in the application server. If the application is running on the same machine as VSTS, then configure the ‘Launcher’ tab in the dynaTrace plug-in installed (Tools -> dynaTrace Configuration in VSTS) and launch the application with Tools -> dynaTrace Launcher available in VSTS.

Original Author: Manjunatha C

Thanks for visiting QAInsights! Check out our new portal Testifications.com to get updates on Software Testing related certifications. We’re always posting interesting articles on QAInsights. I request you to subscribe so you don’t miss out anything.

Searching for QA Jobs Openings, check it at www.QAJobOpenings.com

Want to start a blog like this, please visit SpidyDomain to buy cheap web hosting and register domain

Subscribe to our QAInsights YouTube Channel

Subscribe our free weekly newsletter or Google feeds

About NaveenKumar Namachivayam

Hi there! is a passionate and experienced Performance Test Analyst based in Chicago, USA with skill sets in Manual Testing, Test Automation, Performance Testing, and Test Estimation. He loves to learn and experiment new trends and models in Software Testing. Please stop by at his personal blogs: Excel Blog, DealsBrook, NaveenKumarN.in, and Affiliate Insights blog and Software Testing Memes.

Leave a Reply

Your email address will not be published. Required fields are marked *