LoadTestingModelFactory.TestInputArtifacts Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.