Skip to content

Blackfire Player is a powerful Web Crawling, Web Testing, and Web Scraper application. It provides a nice DSL to crawl HTTP services, assert responses, and extract data from HTML/XML/JSON responses.

License

Notifications You must be signed in to change notification settings

blackfireio/player

Folders and files

NameName
Last commit message
Last commit date
Jan 6, 2025
Jan 28, 2025
Aug 29, 2023
Sep 21, 2023
Aug 3, 2020
Jan 28, 2025
Mar 3, 2025
Mar 14, 2025
Mar 4, 2025
Jul 31, 2023
Mar 11, 2025
Nov 27, 2023
Oct 25, 2022
Oct 25, 2022
Mar 10, 2025
Mar 10, 2025
Mar 17, 2025
Jan 6, 2023
Jan 28, 2025
Mar 10, 2025

Repository files navigation

Blackfire Player

Blackfire Player is a powerful performance testing application. It provides a nice DSL to crawl HTTP services, assert responses, and extract data from HTML/XML/JSON responses.

Read more about how to download and use Blackfire Player.

Usage

blackfire-player is distributed through a Docker image.

To run a scenario located in the my-scenario.bkf file, run the following command:

docker run --rm -it -e BLACKFIRE_CLIENT_ID -e BLACKFIRE_CLIENT_TOKEN -v "`pwd`:/app" blackfire/player run my-scenario.bkf

The pwd part is the local working directory (we are using the current directory here) and it is mapped to the /app path in the Docker container.

BLACKFIRE_CLIENT_ID and BLACKFIRE_CLIENT_TOKEN environment variables need to be properly exposed from the host in order to be able to use the :doc:`Blackfire Profiler integration </integrations/blackfire-player>`.

Note

To make it simpler to run this command, you might create a shell alias (that you can store in a .bashrc or .zshrc file depending on your shell):

alias blackfire-player="docker run --rm -it -e BLACKFIRE_CLIENT_ID -e BLACKFIRE_CLIENT_TOKEN -v \"`pwd`:/app\" blackfire/player"

Don't forget to restart your terminal for it to take effect. You can then use blackfire-player as if it was the binary itself:

blackfire-player --version
blackfire-player list
blackfire-player run my-scenario.bkf

About

Blackfire Player is a powerful Web Crawling, Web Testing, and Web Scraper application. It provides a nice DSL to crawl HTTP services, assert responses, and extract data from HTML/XML/JSON responses.

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages