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

LoadTestingModelFactory.TestInputArtifacts Method

Definition

Initializes a new instance of TestInputArtifacts.

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

Parameters

configFileInfo
TestFileInfo

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

testScriptFileInfo
TestFileInfo

The test script file for the test run.

userPropertyFileInfo
TestFileInfo

The user properties file.

inputArtifactsZipFileInfo
TestFileInfo

The zip file with all input artifacts.

urlTestConfigFileInfo
TestFileInfo

The config json file for url based test.

additionalFileInfo
IEnumerable<TestFileInfo>

Additional supported files for the test run.

Returns

A new TestInputArtifacts instance for mocking.

Applies to