Пример #1
0
        /// <summary>
        /// Performs the playback of actions in this module.
        /// </summary>
        /// <remarks>You should not call this method directly, instead pass the module
        /// instance to the <see cref="TestModuleRunner.Run(ITestModule)"/> method
        /// that will in turn invoke this method.</remarks>
        void ITestModule.Run()
        {
            // check variable content
            if (string.IsNullOrWhiteSpace(this.RuntimeApiUri))
            {
                throw new InvalidOperationException("No runtime API URL provided. Cannot connect to NeoLoad server provided.");
            }

            api.ConnectToRuntimeApi(this.RuntimeApiUri, this.ApiKey);
        }