Skip to content

Commit 4093572

Browse files
authored
Merge pull request #4 from volt-test/Update/Example-Readme
Update README.md
2 parents 2355020 + 29399f1 commit 4093572

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ $test
6060

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

6665

6766
$loginScenario->step('Register')
@@ -101,7 +100,7 @@ $loginScenario->step('visit_dashboard')
101100
// Run the test
102101
// This will start the test and block until it completes
103102
// pass true to run() to run the test with progress and real time results
104-
$result = $test->run();
103+
$result = $test->run(true);
105104
// OR $test->run(true); to run the test with progress and real time results
106105

107106
// Access test results
@@ -138,4 +137,4 @@ php test.php
138137

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

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

0 commit comments

Comments
 (0)