你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LoadTestingModelFactory.TestRunInputArtifacts Method

Definition

Initializes a new instance of TestRunInputArtifacts.

public static Azure.Developer.LoadTesting.TestRunInputArtifacts TestRunInputArtifacts(Azure.Developer.LoadTesting.TestRunFileInfo configFileInfo = default, Azure.Developer.LoadTesting.TestRunFileInfo testScriptFileInfo = default, Azure.Developer.LoadTesting.TestRunFileInfo userPropertyFileInfo = default, Azure.Developer.LoadTesting.TestRunFileInfo inputArtifactsZipFileInfo = default, Azure.Developer.LoadTesting.TestRunFileInfo urlTestConfigFileInfo = default, System.Collections.Generic.IEnumerable<Azure.Developer.LoadTesting.TestRunFileInfo> additionalFileInfo = default);
static member TestRunInputArtifacts : Azure.Developer.LoadTesting.TestRunFileInfo * Azure.Developer.LoadTesting.TestRunFileInfo * Azure.Developer.LoadTesting.TestRunFileInfo * Azure.Developer.LoadTesting.TestRunFileInfo * Azure.Developer.LoadTesting.TestRunFileInfo * seq<Azure.Developer.LoadTesting.TestRunFileInfo> -> Azure.Developer.LoadTesting.TestRunInputArtifacts
Public Shared Function TestRunInputArtifacts (Optional configFileInfo As TestRunFileInfo = Nothing, Optional testScriptFileInfo As TestRunFileInfo = Nothing, Optional userPropertyFileInfo As TestRunFileInfo = Nothing, Optional inputArtifactsZipFileInfo As TestRunFileInfo = Nothing, Optional urlTestConfigFileInfo As TestRunFileInfo = Nothing, Optional additionalFileInfo As IEnumerable(Of TestRunFileInfo) = Nothing) As TestRunInputArtifacts

Parameters

configFileInfo
TestRunFileInfo

The load test YAML file that contains the the test configuration.

testScriptFileInfo
TestRunFileInfo

The test script file for the test run.

userPropertyFileInfo
TestRunFileInfo

The user properties file.

inputArtifactsZipFileInfo
TestRunFileInfo

The zip file for all input artifacts.

urlTestConfigFileInfo
TestRunFileInfo

The config json file for url based test.

additionalFileInfo
IEnumerable<TestRunFileInfo>

Additional supported files for the test run.

Returns

A new TestRunInputArtifacts instance for mocking.

Applies to