File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 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
139138The 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 )
You can’t perform that action at this time.
0 commit comments