A sample multi-tier Java app used as the basis for measuring infrastructure
This is a step-by-step tutorial on how to install and run the Easy Travel sample stack of apps from Dynatrace so that it can to evaluate its own AppMon and UEM software.
Currently, this article needs an update about Docker and misses key steps and URLs. Thank you for your help.
By “Easy Travel” what we’re referring to here is NOT a real travel site like Expedia.com or http://www.easytravel.co.tz.
EasyTravel consists of both consumer and business portals:
Consumer users on the easyTravel web portal to log in, search for journeys to various destinations, select promotional journeys directly that are offered and book a journey using credit card details.
Additionally a Business-to-Business (B2B) web portal for travel agencies to manage the journeys that they offer and review reports about bookings made by consumers.
EasyTravel is a multi-tier system implemented in a mix of technologies:
|1.||Launcher (includes Java Derby DB)||Java/SWT||225 MB||(SWT pronounced "Swift")|
|2.||Customer Frontend||Java/Tomcat||<190 MB||port 8079 to 8080|
|3.||Business Backend||Java/Tomcat||<190 MB||-|
|4.||Credit Card Authorization||C++/ADK||<1 MB||-|
|5.||B2B Frontend||.NET/MVC||65 MB||port 8099 to 9000|
|6.||Payment Backend||.NET/MVC||65 MB||-|
|7.||Optional Load Balancer||NONE||-||-|
“ADK” is the Microsoft ADK (Windows Assessment and Deployment Kit) native app.
What is special about the system is it is designed to exhibit different problem patterns based on specifications in an XML file referenced by programs. The Launcher starts programs in the various tiers and enables switching among demo scenarios. By default the easyTravel Launcher offers four scenario groups:
- UEM (User Experience Management) tracks user behavior on web pages for business analytics data like the geographic distribution of your web page visitors and average session duration.
- Production usage
- Test Center
- Development Team
This information is from the EasyTravel download website:
View YOUTUBE: Evaluate Dynatrace with easyTravel demo app from May 14, 2015. In 1 hour Andreas Grabner (@grabnerandi) takes a whirlwind tour, half based on random questions, which can be confusing to newbies. Contents of the video have been incorporated in the steps below.
CAUTION: Each version of EasyTravel was tested with specific versions of Dynatrace and its AppMon.
If you’re curious:
Download dynatrace-easytravel-src.zip from http://dexya6d9gs5s.cloudfront.net/latest/dynatrace-easytravel-src.zip
dynatrace-easytravel-src.zipinto folder dynatrace-easytravel-src
View the files and notice:
- ThirdPartyLibraries contains JUnit, etc.
View the list using Excel opening
- Identify the latest version of Dynatrace (7.2 as of June 2019, 6.5 as of March 2017).
- Create a folder to receive downloads.
Download the assets to that folder:
“JMeter PERFORM 2015 Samples.zip” file
JMeter PERFORM 2015 Samples.zipfrom https://community.dynatrace.com/community/download/attachments/243434413/JMeter%20PERFORM%202015%20Samples.zip?version=1&modificationDate=1495536503227&api=v2
easyTravel Database.dashboard.xml from https://community.dynatrace.com/community/download/attachments/243434413/easyTravel%20Database.dashboard.xml?version=1&modificationDate=1495536502740&api=v2
easyTravel.profile.xml from https://community.dynatrace.com/community/download/attachments/243434413/easyTravel.profile.xml?version=1&modificationDate=1495536502790&api=v2
dynatrace-easytravel-linux-x86_64.jar from http://dexya6d9gs5s.cloudfront.net/latest/dynatrace-easytravel-linux-x86_64.jar
dynatrace-easytravel-windows-x86_64-latest.msi from http://dexya6d9gs5s.cloudfront.net/latest/dynatrace-easytravel-windows-x86_64-latest.msi
Expand “JMeter PERFORM 2015 Samples.zip”
- runEasyTravelLoginTest.cmd runs
- EasyTravelLogin_DTTAGGING.jmx using
- registerDynatraceTestRun.cmd runs
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!”
If you’re on a Mac, install Ubuntu within VMWare Fusion.
Uninstall previous version:
ls $UserHome/.dynaTrace/easyTravel 2.0.0/easyTravel/config rm -rf $UserHome/.dynaTrace/easyTravel 2.0.0/easyTravel/config
Click “easyTravel for AppMon x.x”
CAUTION: Only Windows and Linux are supported. Get the Linux edition to work on a MacOSX
dynatrace-easytravel-windows-x86_64-126.96.36.1992.msiwas 416.1 MB
Click OK to the folder:
C:\Program Files\dynaTrace\easyTravel (x64)\
- If you get the UAC pop-up, click Yes.
- Click the Windows key.
- Click EasyTravel Configuration UI.
- If the Windows Security Alert pops up, click “Allow access”.
Click OK to this pop-up:
- Click on the wheel icon at the upper-right of the screen.
Click “Select a program from a list of installed programs”.
- Click on Standard.
Delete the installer .exe file.
- Open a browser to localhost:8079
Install on Linux
Uninstall previous version if it:
dynatrace-easytravel-linux-x86_64 for AppMon 7 is 361 MB
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:
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
Download from the EasyTravel website:
dynatrace-easytravel-linux-x86_64-188.8.131.522.jar, 441 MB
Install agents on Apache servers under test
- Adjust dtwsagent.ini
- Adjust Apache HTTP config via “Edit http.conf” on Apache Procedure in easyTravel Launcher
Install Dynatrace server (Apache)
Configure System Profile (install resource pack) on dynatrace client
Verify API ports
- Configure Agent Mappings
Inject agentpath-setting into the application code for instrumentation
https://community.dynatrace.com/community/display/DL/easyTravel+Training+Mode EasyTravel Training Mode
Configure EasyTravel: click on icon at upper-right
Select Show Properties for file easyTravelConfig.properties file.
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.
Install System Profile
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.
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.
Adjust Generated visits (built into easytravel app)
Activate Problem Pattern - slow authentication
In the easytravel Configuration UI, search for “monica”.
Login as monica / monica.
See trace on desktop client.
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
Configure Eclipse IDE
Configure Visual Studio IDE
Identify Memory Leaks
Identify Garbage Collection
Integrate with Confluence via cPrime
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
Run using Flood.io