Writing test

Throughout this chapter, we used a simple project with a few classes in the src/Foggyline directory to demonstrate the use of PHPUnit, Behat, and phpspec testing. Those, however, can't quite serve the purpose of this type of testing. Since we don't have any HTML pages to showcase in the browser, our focus with jMeter is on kicking off a simple built-in web test plan in order to understand its components and how we can run it later on.

Writing jMeter tests for web applications requires a basic understanding of several key concepts, which are as follows:

  • Thread Group: This defines a pool of users who execute a specific test case against our web server. The GUI allows us to control the several Thread Group options, as shown in ...

Get Mastering PHP 7 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.