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)
- Implement Step.RunHidden to not show a step in the report HOT 14
- Show Standard Deviation in Report HOT 2
- Add Bytes extensions API
- Problem with license validation HOT 6
- Help: Why is only one copy running even if I specified multiple copies? HOT 11
- Feature Request: Provide a way for a scenario to detect that the scenario is ending. HOT 3
- Add hint if Warmup is None
- Reporting maxes out at about 12 minutes HOT 7
- Provide list of license servers
- Add ability to start measuring stats after some period of time.
- Improve license validation
- Backwards compatibility issues with NATS Client HOT 6
- Add a Hidden Step support HOT 1
- Add ReportFinalizer handler to allow manipulation of final data for report generation
- ClientPool - extending pool / add new clients dynamically HOT 8
- Client Pool - clean client before it can be reused HOT 1
- Grafana - Incorrect query for Request Count HOT 5
- Add CLI argument to set SessionId
- AutoCluster - Grafana dashboard isn't displaying Status Codes HOT 5
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.