Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ $test

// Create login scenario
$loginScenario = $test->scenario('User Login')
->autoHandleCookies() // this will save cookies with all requests in this scenario
->setDataSourceConfiguration(new DataSourceConfiguration(__DIR__ .'/data-file.csv', 'sequential', true));
->autoHandleCookies(); // this will save cookies with all requests in this scenario


$loginScenario->step('Register')
Expand Down Expand Up @@ -101,7 +100,7 @@ $loginScenario->step('visit_dashboard')
// Run the test
// This will start the test and block until it completes
// pass true to run() to run the test with progress and real time results
$result = $test->run();
$result = $test->run(true);
// OR $test->run(true); to run the test with progress and real time results

// Access test results
Expand Down Expand Up @@ -138,4 +137,4 @@ php test.php

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

For more examples and detailed documentation, visit [https://php.volt-test.com](https://php.volt-test.com)
For more examples and detailed documentation, visit [https://php.volt-test.com](https://php.volt-test.com)
Loading