Wilson Mar bio photo

Wilson Mar

Hello. Hire me!

Email me Calendar Skype call 310 320-7878

LinkedIn Twitter Gitter Google+ Youtube

Github Stackoverflow Pinterest

Catch the bad boys if you can

Gitter

Overview

EasyTravel is a “realistic heterogeneous multi-tier web-application” Dynatrace provides to evaluate its AppMon and UEM software.

(What we’re referring to here is NOT a real travel site like Expedia.com or http://www.easytravel.co.tz)

YOUTUBE: Evaluate Dynatrace with easyTravel demo app published on May 14, 2015. In 1 hour it takes a whirlwind tour, half based on random questions, which can be confusing to newbies.

  1. Identify the latest version of Dynatrace (6.5 as of this writing March 2017).

  2. If you’re on a Mac, install Ubuntu within VMWare Fusion.

  3. In an internet browser, get to the EasyTravel download website:

    http://bit.ly/dteasytravel (https://community.dynatrace.com/community/display/DL/Demo+Applications+-+easyTravel)

  4. Uninstall previous version:

    ls $UserHome/.dynaTrace/easyTravel 2.0.0/easyTravel/config

    rm -rf $UserHome/.dynaTrace/easyTravel 2.0.0/easyTravel/config

  5. Click “easyTravel for AppMon 6.5”

    CAUTION: Only Windows and Linux are supported. Get the Linux edition to work on a MacOSX

    dynatrace-easytravel-windows-x86_64-2.0.0.2542.msi is 416.1 MB

    dynatrace-easytravel-linux-x86_64 for AppMon 7 is 361 MB

  6. Click OK to the folder:

    C:\Program Files\dynaTrace\easyTravel (x64)\

  7. If you get the UAC pop-up, click Yes.
  8. Click Finish.

    Configure

  9. Click the Windows key.
  10. Click EasyTravel Configuration UI.
  11. If the Windows Security Alert pops up, click “Allow access”.
  12. Click OK to this pop-up:

  13. Click on the wheel icon at the upper-right of the screen.
  14. Click “Select a program from a list of installed programs”.

  15. Click on Standard.
  16. Choose “starting”.

    Clean-up

  17. Delete the installer .exe file.

    View

  18. Open a browser to localhost:8079

  1. Get license

    Click “Download easyTravel Demo License” = https://community.dynatrace.com/community/download/attachments/45383742/dynaTrace_license_201609281051.key?version=2&modificationDate=1486998983333&api=v2

    dynaTrace_license_201609281051.key is downloaded.

    CAUTION: The file name is deceptive. Each license is valid within a 3 month period. A new license needs to be downloaded. The license is bound to easyTravel and the pre-configured System Profile that comes with easyTravel.

    QUESTION: How is https://community.dynatrace.com/community/display/EVAL/My+dynaTrace+Trial different than the other page? “A trial account for this ID already exists!”

https://www.youtube.com/watch?v=B_oWkBjH-Uk

Using Windows to work on a MacOSX

  1. Download from the EasyTravel website:

    dynatrace-easytravel-windows-x86_64-2.0.0.2542.msi, 416.1 MB

Using Linux

From this:

It seems you run a 64-bit Ubuntu installation, but easyTravel does not fully support this with the 32-bit binaries that are provided on the community pages.

You can either run easyTravel on an Ubuntu 32-bit installation or use the Web-based launcher via the following commands:

cd weblauncher

./weblauncher.sh

This will provide a web-based view which should provide the same interfaces as the rich-client UI.

Please note that on 64-bit Linux, you likely need to run the following commands to install some additional 32-bit components that are needed by easyTravel:

sudo apt-get update 
sudo aptitude install gcc-multilib 
sudo apt-get install libxml2:i386 
sudo aptitude install lib32z1 
sudo apt-get install libcurl3:i386 
   

If you do not get libxml2:i386 you have to enable multilib support first:

sudo dpkg --add-architecture i386 sudo apt-get update
   
  1. Download from the EasyTravel website:

    dynatrace-easytravel-linux-x86_64-2.0.0.2542.jar, 441 MB


Install Agents

  1. Install agents on Apache servers under test

    1. Adjust dtwsagent.ini
    2. Adjust Apache HTTP config via “Edit http.conf” on Apache Procedure in easyTravel Launcher
  2. Install Dynatrace server (Apache)

  3. Configure System Profile (install resource pack) on dynatrace client

    dynatrace easytravel system profile 452x362

  4. Verify API ports

    http://localhost:8020/api-docs/index.html

  5. Configure Agent Mappings
  6. Inject agentpath-setting into the application code for instrumentation

    https://community.dynatrace.com/community/display/DL/easyTravel+Training+Mode EasyTravel Training Mode

  7. Configure EasyTravel: click on icon at upper-right

    dynatrace easytravel config icon menu 340x131

    Select Show Properties for file easyTravelConfig.properties file.

    Edit config.dtserverWebPort=8020.

  8. Launch servers under test

    The starting of the various tiers and the enabling/disabling of different problem pattern plugins is done via a separate easyTravel Launcher. The Launcher allows the user to conveniently switch between different demo scenarios. Each scenario can define load scripts and certain problem pattern plugins that are enabled. The scenarios can be modified or extended by changing an XML file. This is useful when giving demos and allows you to focus on problem areas that are particularly relevant for a specific demo.

    The default:

    https://localhost:9911

    dynatrace easytravel config ui 1542x1014

  9. Install System Profile

  10. Use by travelers

    Users log in, search for journeys to various destinations, select promotional journeys directly that are offered and book a journey using credit card details.

  11. Use by travel agents

    Login as ???

    A Business-to-Business (B2B) .NET web portal for travel agencies is provided where travel agencies can manage the journeys that they offer and can review reports about bookings made by travelers.

  12. Adjust Generated visits (built into easytravel app)

    dynatrace easytravel config 207x90

  13. Activate Problem Pattern - slow authentication

    In the easytravel Configuration UI, search for “monica”.

    Login as monica / monica.

    See trace on desktop client.

  14. Run load traffic pattern

    [18:54] Watch on Dynatrace Dashboard of specific users.

    [20:02] End user experience geolocation map and who is frustrated.

    QUESTION: What can the company do about frustrated users?

    [22:12] In Diagnostics Transaction Flow: Hotspots by Tier and API

    dynatrace hotspots by tier 805x173

    dynatrace hotspots by api 797x183

    IDE

    https://marketplace.atlassian.com/plugins/be.sofico.bamboo.plugins.bamboo-dynatrace-plugin/server/overview

  15. Configure Eclipse IDE

    https://community.dynatrace.com/community/display/DL/dynaTrace+Eclipse+Integration+Plugin

    https://github.com/Dynatrace/Dynatrace-Eclipse-Integration-Plugin

  16. Configure IntelliJ

    https://community.dynatrace.com/community/display/DL/dynaTrace+IntelliJ+IDEA+Integration+Plugin

    https://community.dynatrace.com/community/display/DL/IntelliJ+IDEA+Integration+Plugin

  17. Configure Visual Studio IDE

  18. Identify Memory Leaks

    https://www.dynatrace.com/blog/hands-tutorial-5-steps-identify-java-net-memory-leaks/

  19. Identify Garbage Collection

    http://apmblog.dynatrace.com/2014/09/16/detecting-bad-deployments-resource-impact-response-time-hotspot-garbage-collection/

    Jenkins integration

  20. Jenkins

    https://github.com/Dynatrace/Dynatrace-JenkinsPlugin

    Confluence

  21. Integrate with Confluence via cPrime

    https://marketplace.atlassian.com/vendors/1211168

    https://marketplace.atlassian.com/plugins/com.cprime.confluence.templates/server/overview

Profile

easyTravel.profile.xml from https://community.dynatrace.com/community/download/attachments/45383742/easyTravel.profile.xml?version=1&modificationDate=1389783776787&api=v2

easyTravel Database.dashboard.xml from https://community.dynatrace.com/community/download/attachments/45383742/easyTravel%20Database.dashboard.xml?version=1&modificationDate=1389783776783&api=v2

Built-in load generator

Info

https://community.dynatrace.com/community/display/DOCDT61/Testing+an+Installation