By Andreas Grabner |
Article Rating: |
|
August 7, 2009 04:15 PM EDT |
Reads: |
24,350 |
With these changes a tester can now create a script like this:
Selenium Test Script
When executing the script – the first request to the frontend URL will be tagged with the name “MyTestUseCase”. This tagged value will later be changed with the call to selenium.setTimerName meaning that all login web requests will be tagged with the value “Login”, all search related requests with the name “Search” and logout with “Logout”.
Using dynaTrace on the application that we are testing allows us to pick-up those HTTP Headers and enables us to exactly identify the individual transactions that came in from the individual steps in the test case.
Step 1: Starting from the Tagged Web Requests View
Server Side Transactions grouped by the passed HTTP Tag
Step2: We can drill into the individual web requests that were executed, e.g.: lets see the 14 requests for the Search action
We see all individual requests for the actual documents and embedded objects
Step 3: Check the outliers
Interesting here to see is that the average sum for all Search actions was 764.32 ms. In the detailed drill down we however see that we had one request taking 10.45 seconds. With another Drill-Into we can examine the one request that took so long:
PurePath showing hotspots and exact transaction execution path down to the method level
Step 4: Analyse Log Messages
Additionally to drilling into a transaction we can go the other way round by drilling from a problem to the originating test case. Let’s start by looking at the log outputs that were automatically captured bydynaTrace.
Shows all log messages logged with log4j or log4net
Step 5: Who caused the log message?
Now we can drill to the Tagged Web Requests to see which test case action caused the 10 highlighted log messages.
Two requests from the Login and Search Action caused this log message
Conclusion
With additional functionality like adding custom HTTP Headers it will be possible to link test results with server side information as described in my blog entry without needing an additional proxy layer that takes care of the tagging.
If you want to know more about the specific Integration from Selenium/BrowserMob with dynaTrace feel free to contact me. dynaTrace Customers/Partners can access a sample on the dynaTrace Community Portal
Related posts:
- Manage SOA with iTKO LISA and dynaTrace Who is LISA? “The LISA 4 Complete SOA Test Platform...
- VSTS LifeCycle Integration to monitor SharePoint I am currently attending MSFT TechEd in Orlando. During lasts...
- Visual Studio Team System for Unit-, Web- and Load-Testing with dynaTrace Last week I was given the opportunity to meet the...
IoT & Smart Cities Stories
By Zakia Bouachraoui  Moroccanoil®, the global leader in oil-infused beauty, is thrilled to announce the NEW Moroccanoil Color Depositing Masks, a collection of dual-benefit hair masks that deposit pure pigments while providing the treatment benefits of a deep conditioning mask. The collection consists of seven curated shades for commitment-free, beautifully-colored hair that looks and feels healthy. Sep. 6, 2019 09:00 AM EDT |
By Zakia Bouachraoui  The textured-hair category is inarguably the hottest in the haircare space today. This has been driven by the proliferation of founder brands started by curly and coily consumers and savvy consumers who increasingly want products specifically for their texture type. This trend is underscored by the latest insights from NaturallyCurly's 2018 TextureTrends report, released today.
According to the 2018 TextureTrends Report, more than 80 percent of women with curly and coily hair say they purcha... Sep. 5, 2019 07:00 PM EDT |
By Zakia Bouachraoui  The textured-hair category is inarguably the hottest in the haircare space today. This has been driven by the proliferation of founder brands started by curly and coily consumers and savvy consumers who increasingly want products specifically for their texture type. This trend is underscored by the latest insights from NaturallyCurly's 2018 TextureTrends report, released today.
According to the 2018 TextureTrends Report, more than 80 percent of women with curly and coily hair say they purcha... Sep. 4, 2019 11:15 PM EDT |
By Zakia Bouachraoui  We all love the many benefits of natural plant oils, used as a deap treatment before shampooing, at home or at the beach, but is there an all-in-one solution for everyday intensive nutrition and modern styling?I am passionate about the benefits of natural extracts with tried-and-tested results, which I have used to develop my own brand (lemon for its acid ph, wheat germ for its fortifying action…). I wanted a product which combined caring and styling effects, and which could be used after shampo... Sep. 4, 2019 11:00 PM EDT Reads: 312 |
By Elizabeth White  The platform combines the strengths of Singtel's extensive, intelligent network capabilities with Microsoft's cloud expertise to create a unique solution that sets new standards for IoT applications," said Mr Diomedes Kastanis, Head of IoT at Singtel. "Our solution provides speed, transparency and flexibility, paving the way for a more pervasive use of IoT to accelerate enterprises' digitalisation efforts. AI-powered intelligent connectivity over Microsoft Azure will be the fastest connected pat... Jul. 1, 2019 07:30 AM EDT |
By Zakia Bouachraoui  There are many examples of disruption in consumer space – Uber disrupting the cab industry, Airbnb disrupting the hospitality industry and so on; but have you wondered who is disrupting support and operations? AISERA helps make businesses and customers successful by offering consumer-like user experience for support and operations. We have built the world’s first AI-driven IT / HR / Cloud / Customer Support and Operations solution. Jun. 27, 2019 08:00 AM EDT |
By Pat Romanski  Codete accelerates their clients growth through technological expertise and experience. Codite team works with organizations to meet the challenges that digitalization presents. Their clients include digital start-ups as well as established enterprises in the IT industry.
To stay competitive in a highly innovative IT industry, strong R&D departments and bold spin-off initiatives is a must. Codete Data Science and Software Architects teams help corporate clients to stay up to date with the mod... Jun. 24, 2019 06:00 AM EDT |
By Zakia Bouachraoui  At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug... Jun. 17, 2019 01:00 PM EDT |
By Pat Romanski  Druva is the global leader in Cloud Data Protection and Management, delivering the industry's first data management-as-a-service solution that aggregates data from endpoints, servers and cloud applications and leverages the public cloud to offer a single pane of glass to enable data protection, governance and intelligence-dramatically increasing the availability and visibility of business critical information, while reducing the risk, cost and complexity of managing and protecting it.
Druva's... Jun. 15, 2019 08:15 PM EDT |
By Pat Romanski  BMC has unmatched experience in IT management, supporting 92 of the Forbes Global 100, and earning recognition as an ITSM Gartner Magic Quadrant Leader for five years running. Our solutions offer speed, agility, and efficiency to tackle business challenges in the areas of service management, automation, operations, and the mainframe. Jun. 15, 2019 01:00 PM EDT |