• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Darin D. · Dec 05, 2012 at 04:35 AM ·

WatiN and Dynotrace - How Do Connect the Two?

I don't have Dynotrace installed, but work needs me to inject my Watin tests with something called a dynaTrace Http Header.

Any help would be great, and in the meantime I'll use Google or Bing, and update this thread with anything I find.

Thanks,

DD

Fueled by NZT-48

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

7 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Darin D. · Mar 29, 2013 at 04:33 PM

Looks like there may not be a method to do what I need to do, so
we are going to pass on Dynatrace and just capture Fiddler Sessions.

Thanks

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Klaus E. ♦ · Apr 02, 2013 at 05:20 PM 0
Share

Hi,

We changed a while ago the parameter names. Could you try DT_AE_AGENTACTIVE, DT_AE_AGENTNAME and DT_AE_SERVER?

Cheers Klaus

avatar image

Answer by Darin D. · Mar 20, 2013 at 09:57 PM

There might be a Firewall issue.

When I try to Join the AJAX Edition Community, the message Please make sure that your internet connection is working. Apppears.

I have to select the Continue Trial (5 days left).

I installed this on another box on a different network and didn't have this issue.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Darin D. · Mar 20, 2013 at 08:47 PM

If I click Start Tracing and manual enter the url and then record a few steps it works just fine. It doesn't work if I open the url through the automated tool.

DD

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Darin D. · Mar 20, 2013 at 08:29 PM

I've Added the following to my WatiN Script before the page opens:

Environment.SetEnvironmentVariable("DT_IE_AGENT_ACTIVE", "true");
Environment.SetEnvironmentVariable("DT_IE_SESSION_NAME", "WatiR Datapipe Prod");

When I open dynaTrace AJAX Edition it displays the Next Steps page. If I click Start Tracing (Internet Explorer), it wants me enter browser information, then click Run (which opens the browser).

I want the WatiN Code to Opent the browser. Is that possible?

I've tried leaving the AJAX Edition open then run the Automation, but I'm still not capturing anything. Any Ideas of what I might be doing wrong?

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Rick B. · Mar 20, 2013 at 08:41 PM 0
Share

Does using the AJAX Edition by itself work? You may have permissions errors which prevent you from changing those environment variables.

avatar image

Answer by Darin D. · Mar 20, 2013 at 05:15 PM

I found this:

http://apmblog.compuware.com/2009/11/04/5-steps-to-automate-browser-performance-analysis-with-watir-and-dynatrace-ajax-edition/

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Darin D. · Mar 20, 2013 at 04:26 PM

Thanks for the response, but I'm unable to identify how I inject my WatiN test with the necessary Dyna Trace Http Header. The instruction seem to be for Commericial tools and relate more to load testing than to functional testing.

I'll keep look.

Thanks,

Darin

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Dec 05, 2012 at 04:52 AM

Hi

Check out the documentation on Load-Testing Integration: Integration with Web Load Testing and Monitoring Tools
The integration requires you to add an additional HTTP Header on your simulated requests. The HTTP Header has the name "dynaTrace" or "x-dynaTrace" (both work). The value of that header allows you to specify things like Script Name, Test Name or Step Name. These names will then be picked up by dynaTrace so that it is easier to do data analysis later on.

You should also check out the recorded dynaLearn Webinar: dynaLearn Webinar - Load Testing Made Easy with dynaTrace 4.2 - August 1, 2012

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A