Integration Showcase: LoadView & Dynatrace

Dotcom-Monitor’s LoadView and Dynatrace are performance-engineering platforms by heart. Both have an excellent customer base, are fully Cloud native solutions and root on a long-standing history. This showcase demonstrates how the combination of both tools will close remaining gaps in the performance engineering chain.

My major steps in this showcase were:

  • Registration
    • Trial account for Dynatrace SaaS
    • Trial account for dotcom-monitor LoadView SaaS
  • Installation
    • EasyTravel demo application on AWS server
    • LoadView scripting tool Easystep on AWS server
  • Configuration
    • Firewall on AWS server
    • AWS server security policy
    • Dynatrace request attribute
  • Setup Load Test
    • Recorded EasyTravel testing script
    • Setup load test scenario and execute the test
  • Result Analysis
    • Review LoadView end-to-end response times
    • Deep dive analysis of correlated results in Dynatrace

About this Integration

LoadView is a SaaS based load testing platform fully equipped with protocol, headless or full browser based user simulation techniques. It provides testing support for more than 40 devices such as IE, Chrome, Firefox and top mobile devices such as IPhone, Samsung, Nokia, Blackberry and many more.

Dynatrace is a SaaS based monitoring solution and supports a broad range of technologies. Its powerful OneAgent injects all services automatically, captures the service flow and all interactions from the end user, network, and middleware through backend tiers and provides insights to actual bottlenecks.

The picture below highlights the main integration steps between both solutions.

dynatrace-and-loadview

Software used in the showcase:

  • Dynatrace SaaS – Monitoring Platform from Dynatrace
  • Dynatrace OneAgent – Monitoring Agent from Dynatrace
  • EasyTravel – Demo application from Dynatrace
  • LoadView – Load Testing Platform from dotcom monitor
  • EveryStep – Scripting tool from dotcom monitor

EasyTravel

  1. Installed EasyTravel on AWS box
  2. Easytravel setup
  3. Start Easytravel demo app
  4. Add inbound and outbound windows firewall rule on test server for port 8079

Add outbound rule for the IPs below on AWS box to allow communication with Dynatrace SaaS backend:

  • 34.251.255.57
  • 34.250.133.68
  • 54.77.84.155

EasyTravel Setup

Link to my Easytravel demo application hosted on AWS server:

  • http://35.166.197.76:8079/

Connect demo application hosted on AWS to Dynatrace

Used this documentation for the setup:

  • https://help.dynatrace.com/infrastructure-monitoring/amazon-web-services/how-do-i-start-amazon-web-services-monitoring/

Create key based access for amazon account:

  • User: dynatrace
  • AKID: …
  • Secret access key: …
  • Custom Policy: watch
  • Connect amazon account to Dynatrace

Dynatrace Configuration

  1. Setup the loadtest request attribute name
  2. Go to Settings / Server-side service monitoring
  3. Create a new request attribute called loadtest
  4. Click on Add new datasource
  5. Set the Parameter name to x-dynatrace
  6. Click on Save

Attention: use lower case characters in both the attribute and parameter name

Detailed documentation:
https://www.dynatrace.com/blog/request-attributes-simplify-request-searches-filtering/

DynaTrace Configuration

LoadView – Create Load Testing Script

Used: EveryStep Scripting Tool

  • Record a Browser based script, which clicks through the demo application EasyTravel
  • Replay the Browser based script
  • Edit the load testing script and add the following code section after tab0 variable initialized: Tab.SetRequestHeader(“loadtest”,”x-dynatrace”);

Load Testing Script

  • Execute the EveryStep Script load test script several times (single user)
  • Upload the load test script to LoadView Platform

Create load test scenario

Watch how user ramp up and E-2-E response times behaves during the run

execution plan

Dynatrace – Deep dive analysis

Apply the filter loadtest and get the relevant requests

Requests

Open the service-flow and understand the communication pattern

service flow

Get a list of long running requests

long running requests

Details for a long running request, find problem spot

problem spots

Big picture, start the performance analysis from there

performance analysis

User Actions

user actions

Benefits

Load Testing and Performance Monitoring are two rising stars. Organizations can no longer ignore not reliable applications because customers are on the driver seat and often quickly spend their money on other, more reliable sites. Due to this negative financial impact of increasing abandon rates and growing need for fast deployment cycles companies are seeking for a way out of this performance dilemma.

Load generation on early development stages gives confidence how the end-to-end response times develop under multi-user conditions. Testers often use load injection to verify non-functional requirements on pre-production stages.

Performance Monitoring provides insights how the application tiers deal with their service requests. Developer and operational staff often use it to find problem hotspots in their applications.

There are significant benefits if you combine LoadView & Dynatrace:

  1. Find performance issues early in the life cycle
  2. Find root-cause of performance issues
  3. Reduce re-run effort
  4. Check how services behaves under real production load conditions
  5. Understand communication pattern
  6. Verify hardware sizing
  7. Make application tuning much easier
  8. Cut costs and pay only the used services
  9. No internal infrastructure for performance engineering activities required

Successful companies integrated performance engineering in their development lifecycle. They simulate actual and future growth pattern on pre-production stages, identify and fix hotspots and deploy those tuned application into production. Even at production there is guesswork banned out. They permanently monitor user experience, capture all transaction and detect problems automatically based on actual and historic figures. LoadView & Dynatrace are great steps towards lean and reliable IT services.

Latest Web Performance Articles​

Start Dotcom-Monitor for free today​

No Credit Card Required