Automated Performance Tests
Requires Production Plan

Your application's critical user journeys can be protected by assessing their performance regularly.

Blackfire provides an easy way to describe custom scenarios and when evaluated, Blackfire will trigger a profile for every URL described in all the steps and scenarios.

As for all profiles, the matching assertions will be evaluated, and all the results will be grouped in a convenient report.

Scenarios can be defined in the .blackfire.yaml file or custom .bkf ones, like so:

1
2
3
4
5
6
7
8
9
10
11
scenarios: |
    #!blackfire-player

    scenario
            name 'Visitor'

            visit url('/pricing')
            name 'Pricing page'

            visit url('/docs/introduction')
            name 'Documentation'

An online validator can help you validate the syntax of your test files.

Explore the possibilities, such as reusing blocks, using variables, including files, and more.