AppD Archive

Capture VSTS Load test transaction in APP Dynamics pro

CommunityUser
Splunk Employee
Splunk Employee

There are many plugins of appdynamics  avilable for different load testing tools like plugin for Load runner, Neoload. Are there any such plugins avilable for VSTS tool to capture load testing transaction name in app dynamics controller.

If not avilable how can be correlate load testing transaction name with that of app dynamics

0 Karma

Matt_Jensen
Explorer

Hi Tamal,  the LoadRunner extension makes use of the AppDynamics REST API to bring data into LoadRunner.  It sounds like you need to do the opposite, and have a way to track VSTS load inside of AppDynamics. Is that right? 

If so, one option would be to add a custom HTTP header to your load test requets.  For example, if you added an HTTP header with the key:  "VSTS-LoadTest" and a value of : "Load Test 3-26-14", we can pick up that header in AppDynamics and create Business Transactions named appropriately so that you can match BTs in AppDynamics with your load tests.

This would require creating a new ASP.NET match rule (under Configure - Instrumentation).  

You could name the rule:  Load Test 3-26-14

Match on URL is not empty and HTTP Header key=VSTS-LoadTest,  value="Load Test 3-26-14"

Split on: Use the first 2/3 segments in Transaction names

This would create new Business Transactions in AppDynamics named: 

Load Test 3-26-14./youapp/url/path1

Load Test 3-26-14./youapp/url/path2

Load Test 3-26-14./youapp/url/path3

etc...

 

Another more simple option would be to create the request header as mentioned preiously, but don't add an ASP.NET match rule.  In this case your BTs will be named as they normally would, but if we look inside of any slow transaction snapshot, in the HTTP params section, we'll be able to see which load test it was apart of just by looking at the request header.  This would just require that you create a new HTTP Request Data Collector in AppDynamics so that the header data is saved as part of the snapshot.  See http://docs.appdynamics.com/display/PRO13S/Data+Collectors

 

Just let us know if this would work, or if you're looking to correlate another way.

 

Thanks,

Matt

 

 

CommunityUser
Splunk Employee
Splunk Employee

Thanks for the help,

I tried all the setting described by you. even though vsts transactions, are not captured in APPDynamics. Am I missing some thing. or any other settings need to be changed

0 Karma

Matt_Jensen
Explorer

Hi Tamal, can you confirm that you've added a custom HTTP Request Header to all requests originating from VSTS? 

Assuming the header is being sent across, let's start with the most basic configuration.  Could you please configure an HTTP data collector which will collect the VSTS HTTP Request header being sent across and save it as part of the snapshot we collect?

 

Here is the doc for that: 

http://docs.appdynamics.com/display/PRO13S/Configure+Data+Collectors#ConfigureDataCollectors-Toconfi...

 

Once the data collector is configured please configure a Diagnostic Session so that we have some extra snapshots to look at. http://docs.appdynamics.com/display/PRO13S/Diagnostic+Sessions

 

Once we've captured a few snapshots, please drill down into the snapshot details and look in the HTTP Params section to confirm if the VSTS header is being captured.

 

Thanks,

Matt

CommunityUser
Splunk Employee
Splunk Employee

Hi 

Thanks, That work, I am able to configure HTTP data collector, and able to see headers across snapshot.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi

I checked in diagonastic session, I am able to capture request header, still not able to capture VSTS transaction name.

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...