Download and Set Up Dynatrace Demo Application

Hi,
Running a Linux install. When I try to run the “/bin/bash installChromeDeps.sh” cmd,
I get this error: “Sorry, Red Hat Enterprise Linux 8.7 (Ootpa) is not supported.”

Also, When I run “./weblauncher.sh” I am not able to access the weblauncher via “ip.address:8094” with ip.address being the local 10.xx.xx.xx IP. Is there something I’m missing? Could the above error of from the “/bin/bash installChromeDeps.sh” cmd cause the weblauncher to not be accessible?

Hi.

So… The short answer is: we don’t support Red Hat by default, so I don’t know what is going on. Please use a supported distribution.

The long answer is:

  1. You can’t run the installChromeDeps script, because it checks if OS matches the distributions we support and installs different libraries for each. Since it does nothing, then most probably the load generator will fail and won’t generate any load.
  2. Even if the script was not run correctly I would assume that the console at 8094 should be accessible. Since it is not, well, it is interesting :slightly_smiling_face:

So in the end, I would suggest to install easyTravel on a linux distribution that is supported. I will update the information above to make this more obvious.

But if you want to play with it on Red Hat, you can try to look into this directory “/home/YOUR_USER/.dynaTrace/easyTravel 2.0.0/easyTravel/log”. There you should be able to find some clues to the errors/exceptions happening somewhere…

Is there a way to change the log directory for easyTravel? The default path seems to be C:\Users\<userId>\.dynaTrace\easyTravel 2.0.0\easyTravel\log on Windows.

You can use `com.dynatrace.easytravel.home.dir.correction`. Note it is relative to the c:\Users\<userId>\.dynaTrace\easyTravel 2.0.0 directory. For example adding

-Dcom.dynatrace.easytravel.home.dir.correction=..\..\..\..\tmp

will create directories log, config etc in c:\tmp

Great stuff, thanks @Rafal_Psciuk!
Where do I add that, easyTravelConfig.properties?

I tested it by modifying startup script C:\Program Files\dynaTrace\easyTravel (x64)\weblauncher\weblauncher.cmd:

%LAUNCHER_JAVA% -Djava.net.preferIPv4Stack=true ^
-Xmx768m ^
%COVERAGE_ARG% %LAUNCHER_ARGS% -Dcom.dynatrace.easytravel.install.dir.correction=.. -Dcom.dynatrace.easytravel.home.dir.correction=\..\..\..\..\tmp -Dorg.eclipse.rap.rwt.enableUITests=true ^ -Djava.security.auth.login.config=../resources/login-module.config ^
-jar ..\com.dynatrace.easytravel.weblauncher.jar %*

Strange, I tried the same but the logs keep getting written to the default path. I’ve even copied the text you provided to that file, restarted easyTravel, and even my laptop, but it still won’t write to C:\tmp

Either way, thanks for the info…perhaps it will help someone else :sweat_smile::wink:

Are you running <et_install_dir>\weblauncher\weblauncher.cmd?
I checked again. Only some logs landed in c:\tmp directory.
To get backend and frontend logs modify this line in <et_install_dir>\resources\easyTravelConfig.properties:

config.javaopts=-Djava.net.preferIPv4Stack=true,-Dcom.dynatrace.easytravel.home.dir.correction=\\..\\..\\..\\..\\tmp

However I noticed that after those changes headless load generator (chrome) is crashing. :disappointed_face: So I don’t recommend using it.

I have deployed the app on windows and I have set the user tag, but it only works for the session I manually do on the application, the synthetic generated visits are not being tagged, why? is there anything else I need to configure so I can get the generated visits tagged?

It should work in the same way. Note, that load is generated only to Angular frontend (port 9079).

Hello @Rafal_Psciuk , can you please specify which option is that? I have tried with UEM-Standard and Production-black friday and I am not getting user tags.
Regards

HI @Alejandro_hdez 
It should work in UEM-Standard scenario.
I recommend trying these steps:

1. Setup User tag:

CSS selector: a.greeting

Cleanup rule: Regex: Hi,.(.*+)

2. Start easyTravel with UEM-Standard scenario

3. Verify that you have RUM data for generated visits

Than you @Rafal_Psciuk that selector did work, the one I took browsing the app by my self “#loginForm\:j_idt39” doesn’t work.

Now, I’m not able to see session replay correctly, images are not being dispplayed on replay

I’am playing the sessions on Dynatrace on the same host where easytravel is running and I also tried clearing all browsing data and I tried with chrome and edge browsers

Best regards

Hi @Alejandro_hdez ,

AFAIK images will be not available if the application is accessed via http It will also not work when https certificate is self-signed.

Application needs to be accessed via https with valid certificate to have correct session replay.

Hi, in case someone needs, I created Ansible playbook to install easyTravel on RHEL8 or RHEL9. Likely works on other CentOS Stream variants as well. Available in GitHub. Pull requests welcome :grinning_face_with_smiling_eyes:

Hi Team,

Is that any option to change the URL of Easy travel application from the localhost to Some XYZ.com we are running two instance of easytravel application and we want to differentiate in the application rule.

You can change URLs that are used by load generator by adding following properties to the <et_install_dir>/resources/easyTravelConfig.properties file. NOTE: this file will be overwritten after easyTravel installation.

config.apacheFrontendPublicUrl=http://xyz:8079/
config.apacheB2BFrontendPublicUrl=http://xyz:8999/
config.angularFrontendPublicUrl=https://xyz:9079/

You can also put those properties in the <user_home>/.dynaTrace/easyTravel  2.0.0/easyTravel/config/easyTravelLocal.properties file.

Great Post!

I am on Dynatrace Saas and want to monitor EasyTravel via Dynatrace RUM.
I cannot deploy OneAgent, I want to use Set up agentless monitoring in RUM Classic — Dynatrace Docs
this agentless method to monitor it.

Let me know how can I make connection with my cluster and monitor it.

Hi @AdilSaleem 
I never did it, but I would try to add agent in this file: easytravel-2.0.0-x64/angular/webapp/index.html
easytravel-2.0.0-x64 is default easyTravel installation directory; should be changed if you installed it in other place

The Documentation Was Nice Especially The Diagram Showing Architecture Of EasyTravel App.
Easy Setup For Both Windows and Linux.