In this chapter, we walked through how JMeter can help with monitoring server resources. To do this, we set up an Apache Tomcat server to monitor. Once done, we examined the built-in capabilities of JMeter with regards to monitoring. We further examined how we can get more granular monitoring metrics by extending JMeter with custom-developed plugins. This allowed us to monitor server resources such as CPU, disk I/O, memory, and network I/O among other things. Through the plugin, we also got additional samplers, timers, processors, and listeners that allowed us to monitor transactions per second and response over time metrics. Though not an extensive monitoring tool, JMeter proved itself as a capable tool to do basic monitoring of server resources.
In the next chapter, we will go in depth on distributed testing and see how to leverage the capabilities of JMeter to accomplish this.