public Task MartinTest(TestContext ctx, CancellationToken cancellationToken, HttpServerProvider provider, HttpRequestTestType type, HttpRequestTestRunner runner) { return(runner.Run(ctx, cancellationToken)); }
public Task RunStress(TestContext ctx, CancellationToken cancellationToken, HttpServerProvider provider, [Repeat(50)] int repeat, HttpRequestTestType type, HttpRequestTestRunner runner) { ctx.LogDebug(1, $"RunStress: {repeat}"); return(runner.Run(ctx, cancellationToken)); }
public IEnumerable <HttpRequestTestType> GetParameters(TestContext ctx, string filter) { if (filter != null) { throw new NotImplementedException(); } var category = ctx.GetParameter <HttpServerTestCategory> (); if (Type != null) { yield return(Type.Value); yield break; } foreach (var type in HttpRequestTestRunner.GetInstrumentationTypes(ctx, category)) { yield return(type); } }