2023-11-13 02:10:31.020 -06:00 [WRN] [ThreadId:10] Reporting sink: NBomber.Sinks.InfluxDB failed to save realtime scenario stats
System.ArgumentException: Expecting a non-empty string for 'bucket' parameter. Please specify the bucket as a method parameter or use default configuration at 'InfluxDBClientOptions.Bucket'.
at InfluxDB.Client.Core.Arguments.CheckNonEmptyString(String value, String name)
at InfluxDB.Client.BatchWriteOptions..ctor(String bucket, String org, WritePrecision precision)
at InfluxDB.Client.WriteApiAsync.WritePointsAsync(List`1 points, String bucket, String org, CancellationToken cancellationToken)
at NBomber.DomainServices.TestHost.ReportingSinks.saveRealtimeStats@40.MoveNext()
Steps to reproduce:
Use settings from the example.
Data are not saved to the InfluxDb database.
There is an error in a log file:
A root cause of the issue:
The
Org
andBucket
properties are successfully initialized from theUrl
configuration parameter. But then they are overwritten by empty config values.