Overview

Classes

  • LoadTestingPageResponse
  • LoadTestingSession
  • LoadTestingSinglePage
  • LoadTestingTest

Exceptions

  • LoadTestingTestException

Functions

  • recordDownloadSize
  • recordError
  • recordPageTime
  • recordProgress
  • recordURLPageLoad
  • recordUserStart
  • recordUserStop
  • sendMessage
  • Overview
  • Class

Class LoadTestingTest

Load Testing Test

Direct known subclasses

LoadTestingSinglePage
Abstract
Located at LoadTestingTest.class.php
Methods summary
public
# __construct( integer $testNum, string $rand, string $resourceUrl = null )

Constructor

Constructor

Parameters

$testNum
Test Number
$rand
Random token for test
$resourceUrl

Optional URL specifying host that resources will be loaded for. The hostname is grabbed from this URL.

public
# enableResourceLoading( )

Enable resource loading

Enable resource loading

public
# disableResourceLoading( )

Disable resource loading

Disable resource loading

public
# setDelay( integer $minDelayMs, integer $maxDelayMs )

Set delay between page loads

Set delay between page loads

Parameters

$minDelayMs
Minimum delay in ms
$maxDelayMs
Maximum delay in ms
public integer
# getDelay( )

Gets most recently used delay.

Gets most recently used delay.

Returns

integer
public
# setIniSettings( array $iniSettings )

Set ini settings

Set ini settings

Parameters

$iniSettings
INI settings
public HashMap
# getIniSettings( )

Get the iniSettings (hashmap)

Get the iniSettings (hashmap)

Returns

HashMap
Settings for test
public LoadTestingSession
# getSession( )

Get the sesssion object, which wraps CURL for simple tests.

Get the sesssion object, which wraps CURL for simple tests.

Returns

LoadTestingSession
Session object.
public
# verbose( )

Verbose

Verbose

public
# nonVerbose( )

Non-verbose

Non-verbose

abstract public
# startTest( )

Start the test

Start the test

Properties summary
protected LoadTestingSession $session

Access to object to invoke requests to pages and wrap CURL.

Access to object to invoke requests to pages and wrap CURL.

# null
protected boolean $verbose

Verbose mode

Verbose mode

# false
protected array $iniSettings

Ini settings

Ini settings

# array()
protected $testNum

Test Number

Test Number

# null
RedLine13 Documentation API documentation generated by ApiGen