Databases Reference
In-Depth Information
Performing load testing
Load testing is the process of measuring a system's behavior under normal and
heavy load conditions. The testing result can help to identify the maximum op-
erating capacity of your current system as well as potential performance bottle-
necks.
Load testing for BAM has its own characteristics as BAM applications are more
data-driven than user interaction-driven. When performing load testing for BAM,
the major objective is to evaluate the accuracy and performance of the end-to-
end Active Data processing.
In this section, we will look at the following key elements for load testing:
Generating a load
Monitoring performance
Analyzing results
Generating a load
You can generate a load on the current system by duplicating production or UAT
data streams, or you can simply simulate production message rates by writing
your code in languages that you are familiar with.
Due to the lack of load testing tools suitable for BAM, we will write our own Java
client to generate the load, and rely on the performance matrix in the Enterprise
Manager to measure the performance.
In the Bookstore Demo application, we use a while loop in a custom Java
code to simulate the load (the rate of data movement from a JMS topic to BAM).
The logic within the while loop is very simple.
Firstly, it calls the generateXML method of the XMLPayloadGenerator
class to generate an XML payload.
Search WWH ::




Custom Search