Chapter 10

Load Testing Message-Oriented Middleware (MOM) via JMS

A Bit of Theory

As architectures become more and more distributed (via microservices, the cloud, and so on), it is common to use a Message-Oriented Middleware (MOM) service to allow the exchange of messages/events.

Such architectures have numerous advantages. We'll look at some of them in this lesson.

Asynchronous Messages

The first advantage of an MOM service is the ability to use asynchronous messages.

In a synchronous system, the sender (that is, the producer) of the message must wait for the response before continuing:

Figure 10.1: Synchronous architecture
Figure 10.1: Synchronous architecture

In an asynchronous ...

Get Master Apache JMeter - From Load Testing to DevOps 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.