The C# client is compatible with .NET Framework version 4.0 and above.
To use our C# API to start or stop tests onto NeoLoad, use our DLLs as explained in Create the C# Runtime API client.
First instantiate a RuntimeAPIClient
providing a URL and API key.
Then call the method available:
GetStatus()
to get the current status of NeoLoad, StartTest()
to start a test, StopTest()
to stop a test,AddVirtualUsers()
to add Virtual Users instances, StopVirtualUsers()
to stop Virtual Users instances, StartInfrastructures()
to start infrastructures, StopInfrastructures()
to stop infrastructures, GetInfrastructuresStatus()
to get the current status of the infrastructures.
In a Visual Studio project, it is necessary to include the DLL files available in the NuGet website.