Comments (3)
Thanks,
We will try to reproduce it. And I probably will ask more questions :)
from nbomber.
Hi @EduardGeorgiev ,
Thank you for this information. Is it easy to reproduce? If yes what steps to be done to achieve the same effect?
from nbomber.
Hello @AntyaDev . I am unsure of exactly what caused it, but here's some info:
In the beginning I set:
GCSettings.LatencyMode = GCLatencyMode.SustainedLowLatency;
Load Simulations:
var trafficPerSecond = 150;
Simulation.RampingInject(rate: (int)(trafficPerSecond * 1f), interval: TimeSpan.FromSeconds(1), during: TimeSpan.FromMinutes(1)), // 66% => 100%
Simulation.Inject(rate: (int)(trafficPerSecond * 1f), interval: TimeSpan.FromSeconds(1), during: TimeSpan.FromMinutes(9)), // 100%
Simulation.RampingInject(rate: (int)(trafficPerSecond * 2f), interval: TimeSpan.FromSeconds(1), during: TimeSpan.FromMinutes(1)), // 100% => 200%
Simulation.Inject(rate: (int)(trafficPerSecond * 2f), interval: TimeSpan.FromSeconds(1), during: TimeSpan.FromMinutes(1)) // 200% for extra confidence
The scenario is .WithMaxFailCount(500000), I had more than 30K failures by the end of it.
My internet was slow, I believe it was still bombing even 30minutes after "Waiting on scenarios completion...", which was peculiar to me, as I was hoping NBomber to have some safeguards to alert me in case the requests are going out too slow for the requested bombing speed.
My config:
{
"TestSuite": "Ticket Options Tests",
"TestName": "Ticket Options Load Test",
"GlobalSettings": {
"ReportFormats": [ "Html", "Txt", "Csv", "Md" ]
}
}
Runner:
var fileDate = DateTimeOffset.Now.ToUnixTimeSeconds().ToString();
var runner = NBomberRunner
.RegisterScenarios(scenarioTicketOptionsLoadTest)
.LoadConfig("config.json")
.WithReportFolder(Path.Combine(resultsDir, fileDate))
.WithReportFileName($"report_{fileDate}")
.WithLoggerConfig(() =>
new LoggerConfiguration()
.MinimumLevel.Debug()
.WriteTo.File(
path: Path.Combine(solutionDir, "logs", "log.txt"),
outputTemplate:
"{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] [ThreadId:{ThreadId}] {Message:lj}{NewLine}{Exception}",
rollingInterval: RollingInterval.Day)
)
.WithLicense(Settings.LicenseKey);
That's about it.
from nbomber.
Related Issues (20)
- Logging API response and custom messages to reports and log files HOT 3
- Add ScenarioCancellationToken to IScenarioContext
- Display metric: data per sec (Kb/s), data percentiles
- HTML Report: Add tooltips for .NET Process Metrics
- HTML Report: Сategorize .NET Process metrics by tabs (CPU, RAM, IO, HTTP, etc)
- Implement NBomber.MetricsUI
- Make it possible to remove Net real-time stats table from Console HOT 2
- Add example with dotnet script
- Request: Add simple way to set failure and latency thresholds in the config.json HOT 1
- [Console] Realtime .NET process table should be printed in compact mode
- Add ReportingSink for DynaTrace
- Add ReportingSink for Datadog
- Add property based testing for ScenarioStatsActor & MetricsStatsActor
- Provide Cluster communication API btw Coordinator and Agents
- Add ScenarioStatsActor persistence
- Add license validation warning message for reports
- How to get/see the exception details such as StackTrace? HOT 2
- Auto Cluster - expose real-time data between agents
- Concurrent problem with Dictionaries in HttpClient.Headers HOT 7
- Auto Cluster - NBomber session and agent folder(s) flat structure
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nbomber.