Parameters
- id: string
- __namedParameters: { delay: number; direction: ThrottleDirection; loss: number; rate: number }
- repeat: 1
Returns Promise<
Partial<
{
alertRules: string;
alertRulesFailPercentile: number;
alertRulesOutput: string;
blockedUrls: string;
chromiumFieldTrials: string;
chromiumPath: string;
chromiumUrl: string;
chromiumVersion: any;
clearCookies: boolean;
cookies: string;
customMetrics: string;
customUrlHandler: string;
debuggingAddress: string;
debuggingPort: number;
detailedStatsPath: string;
deviceScaleFactor: number;
disabledVideoCodecs: string;
display: string;
downloadResponses: string;
emulateCpuThrottling: number;
enableBrowserLogging: string;
enableDetailedStats: string;
enableGpu: string;
enableRtpDump: string;
extraCSS: string;
extraHeaders: string;
hardwareConcurrency: number;
incognito: boolean;
localStorage: string;
maxVideoDecoders: number;
maxVideoDecodersRange: string;
overridePermissions: string;
pageLogFilter: string;
pageLogPath: string;
prometheusPushgateway: string;
prometheusPushgatewayAuth: string;
prometheusPushgatewayGzip: boolean;
prometheusPushgatewayJobName: string;
pushStatsId: string;
pushStatsUrl: string;
randomAudioPeriod: number;
randomAudioProbability: number;
randomAudioRange: string;
responseModifiers: string;
rtcStatsTimeout: number;
runDuration: number;
scriptParams: string;
scriptPath: string;
serverData: string;
serverPort: number;
serverSecret: string;
serverUseHttps: boolean;
sessions: number;
sessionStorage: string;
showPageLog: boolean;
showStats: boolean;
spawnRate: number;
startSessionId: number;
startTimestamp: number;
statsInterval: number;
statsPath: string;
tabsPerSession: number;
throttleConfig: string;
url: string;
urlQuery: string;
useBrowserThrottling: boolean;
useFakeMedia: boolean;
userAgent: string;
videoCachePath: string;
videoCacheRaw: boolean;
videoDuration: number;
videoFormat: string;
videoFramerate: number;
videoHeight: number;
videoPath: string;
videoSeek: number;
videoWidth: number;
visqolKeepSourceFiles: boolean;
visqolPath: string;
vmafCrop: string;
vmafKeepIntermediateFiles: boolean;
vmafKeepSourceFiles: boolean;
vmafPath: string;
vmafPrepareVideo: string;
vmafPreview: boolean;
vmafProcessVideo: string;
vmafSkipDuplicated: boolean;
vmafVideoCrop: string;
windowHeight: number;
windowWidth: number;
},
>[],
>
An array of partial configuration objects for each test scenario.
It generates a test configuration with a scenario including 2 participants. The first participant sends video and the second receives it. Both participants send and receive audio. The network conditions are applied according to the specified direction to the sender (
up
), the receiver (down
) or both (bidi
). The test is repeated the specified number of times. The output is an array of partial configuration objects that can be used to run the tests with the main application, after merging it with a configuration that includes the destination url (mandatory) and other optional parameters.