Chapter 7. Test Scripts

Test scripts drive the performance test. The scripts simulate the series of requests a user makes during a visit to the web site. In order to develop test scripts, you need to understand the expected behavior of your production users. Usually, the performance test requires a series of scripts to represent a range of production users. In this chapter, we'll walk through this process for a sample application that you may already be familiar with, the Pet Store demo from Sun Microsystems.[1] As we mentioned in the previous chapter, a poor understanding of your users leads to poor test scripts. During your test planning phase, find out how users interact with your web applications.

Getting Started

Pet Store Overview

Important! ...

Get Performance Analysis for Java™ Web Sites 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.