Business Scenario-Based Performance Diagnostics Procedures

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Assumptions

We need a load generator that is capable of the following:

  • Generate load on behalf of multiple application users, concurrently, in such a way that each user should be capable of performing an interactive session setup, interact repeatedly within the application by executing a set of arbitrary business scenarios in a loop, and then end the session.
  • Insert arbitrary data in the requests it had previously recorded and it is replaying as part of the load tests. At minimum, the load generator must be able to insert arbitrary constant strings as custom header values in specific requests in the run sequence. More sophisticated analysis require additional capabilities, such as inserting unique identifiers per request, iteration, inserting request sequence numbers, etc..

NeoLoad is one of products.

Business Scenario Recording

This step consists in the recording of the business scenario whose performance will be measured under load. This step is highly dependent on the tool used to record the interaction with the application and it usually consists in intercepting the traffic with a proxy. The load generation tool records the HTTP request details, stores them and used the stored data to replay the application traffic.

Business Scenario "Annotation"

Mark the Beginning and the End of the Interesting Scenarios

The scenarios to be measured must be "annotated" by configuring the load generator to send specific HTTP headers with the first and the last request of the scenario.

The first request of the scenario must include a custom HTTP header named "Business-Scenario-Start-Marker".

Load Test Target Environment Preparation

Load Test and Data Generation

Data Collection and Pre-Processing

Data Processing and Report Generation