An offline tester to validate your custom PHP RedLine13 Load Test.
- php runLoadTest.php ExampleTest
- php runLoadTest.php
Modify loadtest.ini with parameters, in your custom test you can access settings via
<?php
require_once( 'LoadTestingTest.class.php' );
class ExampleTest extends LoadTestingTest
{
/**
* Start test, don't forget we have access to
* $this->iniSettings = all config data for test
* $this->testNum = test #
* $this->session = Run test with RedLine13 CURL wrapper and maintain cookies for user session.
*/
public function startTest()
{
$config = $this->iniSettings;
$myThing = $config['myThing'];
The load test will generate local information on performance results and errors.