protected override async Task RunScenario() { for (var i = 0; i < 200; i++) { ClosedPcts.Add(TestSubject.ClosedPct); ShouldAccepts.Add(TestSubject.ShouldAccept()); TestSubject.LogFailureResponse(i.ToString()); await Task.Delay(5); } }
protected override async Task RunScenario() { for (var i = 0; i < 100; i++) { ClosedPcts.Add(TestSubject.ClosedPct); ShouldAccepts.Add(TestSubject.ShouldAccept()); TestSubject.LogFailureResponse(HttpStatusCode.InternalServerError.ToString()); await Task.Delay(5); } for (var i = 0; i < 100; i++) { ClosedPcts.Add(TestSubject.ClosedPct); ShouldAccepts.Add(TestSubject.ShouldAccept()); TestSubject.LogSuccessResponse(HttpStatusCode.OK.ToString()); await Task.Delay(5); } }