blackfire / player
A powerful web crawler and web scraper with Blackfire support
Installs: 16 122
Dependents: 0
Suggesters: 0
Security: 0
Stars: 487
Watchers: 34
Forks: 57
Open Issues: 15
Type:project
Requires
- php: >=8.3
- ext-ctype: *
- ext-filter: *
- ext-intl: *
- ext-mbstring: *
- blackfire/php-sdk: ^2.1
- fakerphp/faker: ^1.10
- maltyxx/images-generator: ^1.0
- mtdowling/jmespath.php: ^2.2
- nyholm/psr7: ^1.6
- psr/log: ^3.0
- sentry/sentry: ^4.0
- symfony/console: 7.2.*
- symfony/css-selector: 7.2.*
- symfony/dom-crawler: 7.2.*
- symfony/event-dispatcher: 7.2.*
- symfony/expression-language: 7.2.*
- symfony/filesystem: 7.2.*
- symfony/finder: ^7.0
- symfony/http-client: 7.2.*
- symfony/mime: 7.2.*
- symfony/polyfill-uuid: ^1.28
- symfony/property-access: 7.2.*
- symfony/serializer: 7.2.*
- symfony/yaml: 7.2.*
Requires (Dev)
- symfony/phpunit-bridge: 7.2.*
- symfony/process: 7.2.*
- symfony/var-dumper: 7.2.*
- dev-master / 2.6.x-dev
- v2.6.24
- v2.6.23
- v2.6.22
- v2.6.21
- v2.6.20
- v2.6.19
- v2.6.18
- v2.6.17
- v2.6.16
- v2.6.15
- v2.6.14
- v2.6.13
- v2.6.12
- v2.6.11
- v2.6.10
- v2.6.9
- v2.6.8
- v2.6.7
- v2.6.6
- v2.6.5
- v2.6.4
- v2.6.3
- v2.6.2
- v2.6.1
- v2.6.0
- v2.5.4
- v2.5.3
- v2.5.2
- v2.5.1
- v2.5.0
- v2.4.8
- v2.4.7
- v2.4.6
- v2.4.5
- v2.4.4
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- v2.3.3
- v2.3.2
- v2.3.0
- v2.2.0
- v2.1.1
- v2.1.0
- v2.0.2
- v2.0.1
- v2.0.0
- v1.31.0
- v1.30.0
- v1.29.0
- v1.28.1
- v1.28.0
- v1.27.0
- v1.26.0
- v1.25.0
- v1.24.0
- v1.23.0
- v1.22.0
- v1.21.0
- v1.20.0
- v1.19.0
- v1.18.0
- v1.17.0
- v1.16.0
- v1.15.0
- v1.14.0
- v1.13.0
- v1.12.0
- v1.11.0
- v1.10.1
- v1.10.0
- v1.9.3
- v1.9.2
- v1.9.1
- v1.9.0
- v1.8.2
- v1.8.1
- v1.7.0
- v1.6.1
- v1.6.0
- v1.5.1
- v1.5.0
- v1.4.1
- v1.4.0
- v1.3.0
- v1.2.1
- v1.2.0
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.1
- v1.0.0
- v0.16.0
- v0.15.1
- v0.15.0
- v0.14.0
- v0.13.0
- v0.12.0
- v0.11.0
- v0.10.0
- v0.9.0
- v0.8.2
- v0.8.1
- v0.8.0
- v0.7.0
- v0.6.0
- v0.5.0-alpha-5
- v0.5.0-alpha-4
- v0.5.0-alpha-3
- v0.5.0-alpha-2
- v0.5.0-alpha-1
- v0.4.6
- v0.4.5
- v0.4.4
- v0.4.3
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.0
- v0.2.0
- v0.1.0
This package is auto-updated.
Last update: 2024-12-20 08:39:37 UTC
README
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