O'Reilly logo

Magento 2 Developer's Guide by Branko Ajzele

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Performance testing

Performance tests can be found under the setup/performance-toolkit/ directory. These tests require Apache JMeter to be installed and are available on the console via the jmeter command. Apache JMeter can be downloaded and installed by following the instructions at http://jmeter.apache.org.

The crux of the performance test is defined in the benchmark.jmx file, which can be opened in the JMeter GUI tool, as shown in the following screenshot:

Performance testing

As shown in the preceding screenshot, the default benchmark.jmx tests are sectioned into three thread groups that are named setUp Thread Group, Customer Checkout, and tearDown Thread Group. We ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required