WIP package, that can help you write load testing scripts for your application or api. Write your tests like your used to in the Laravel way.
You can install the package via composer:
composer require larswiegers/laravel-load-testing
// Usage description here
$statistics = LoadTesting::get(route('api.route'))->times(10)->perSecond()->for(10)->seconds()->execute();
$statistics->assertMaxDuration('500ms')
$statistics->assertRequestsDidNotFail()
composer run test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.