Missing of data while pushing multiple data simultaneously to influxdb.?



I am pushing data to influxdb simultaneously using JMeter with the help of some code. The data are pushed to the database but if the code has to push 100 data, the influx database is only filled with 96 or 97 entries. where as the built-in influx listener pushes 100 entries, My code fails to push all hundred entries to influx. My code snippet is below.

InfluxDB influxDB = InfluxDBFactory.connect(“http:/l/ocalhost:8086”,“TestingDB,”");

Point point1 = Point.measurement(“myTable”)
.time(System.currentTimeMillis() , TimeUnit.MILLISECONDS)
.tag(“CustomerID”,"ID1234 ")
.tag(“empID”,"emp1234 ")

influxDB.write(“DBname”, “autogen”, point1);

If I run this same code with 10 users with 10 iteration I need to get 100 data points where in am getting only 95 or more entries.
Why is that the inbuild listener can push 100% data and I am not.???


Is it possible that you are writing multiple identical measurements at the same timestamp? Your timestamp resolution is only millisecond, and you’re not showing how you generate multiple measurements.