Methodology
As with all tests, testing an MOM and/or server should be as realistic as possible.
For example, if the messages exchanged are persistent, the same thing must be done with JMeter. Likewise, the same applies to the other parameters (such as delay, authentication, and so on).
Note
My advice is to speak with the developers and/or architects about allowing the test to be configured so that it is as representative of reality as possible.
Let's look at what we need to test.
JMeter can test the following (note that this is a non-exhaustive list):
- The configuration of the MOM – for this, JMeter must play the roles of producer and consumer:
Figure 10.39: Testing the configuration of the MOM
- The performances of our consumer – here, we will only use JMeter as a producer:
Figure 10.40: Testing the performance of the consumer
- The resilience of our MOM configuration – in this case, JMeter plays the roles of producer and consumer...