Monitoring servers while executing tests (using New Relic)

When you are profiling an application that is deployed in the Cloud, using any of the other discussed profiling methods cannot work. In such cases, if the Cloud provider offers integration with New Relic (which most do), then you can profile the application using the method described here.

New Relic (http://www.newrelic.com) is an application performance management and monitoring tool. It allows you connect to your applications running on Cloud servers and get performance metrics and insights like you would get when running locally. It's a commercial tool, but they do offer a free account that is sufficient for us to illustrate the concepts in this recipe.

How to do it…

In this recipe, we ...

Get JMeter Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.