Performance and Architecture Validation with Existing Unit Tests
The big picture
By: Andreas Grabner
Mar. 9, 2011 01:34 PM
Agile Development Practices have widely been adopted in R&D Organizations. A core component is Continuous Integration where code changes are continuously integrated and tested to achieve the goal of having "potential shippable code" at the end of every Sprint/Iteration.
In order to verify code changes agile team members write Unit or Functional Tests that get executed against every build and every milestone. The results of these tests tell the team whether the functionality of all features is still given and that the recent code changes have not introduced a regression.
Verify for Performance, Scalability and Architecture
dynaTrace analyzes all Unit and Browser Tests and validates execution characteristics such as number of database statements, transferred bytes, cache settings ... against previous builds and test runs. In case there is a change (regression) the developers are notified about what has actually changed.
Automatically validate rules such as number of remoting calls or number of bytes transferred
Compare the difference between the problematic and the Last Known Good run
Besides being confident about functionality these additional checks ensure that the current code base performs, scales and adheres to architectural rules.
Step-by-Step Guide to enable dynaTrace in CI
dynaTrace provides an Automation Library that provides both a Java and .NET Implementation to call the dynaTrace Server REST Services. It also includes Ant, NAnt and Maven Tasks that make it easy to add the necessary calls to dynaTrace. The Demo Application includes a fully configured sample including Ant, JUnit and Selenium.
Once these steps are done dynaTrace will automatically
Captured results of tests are stored in individual dynaTrace Sessions which makes it easy to compare and share.
SOA World Latest Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
SYS-CON Featured Whitepapers
Most Read This Week