"error": "partial write: unable to parse 'yla1,host=server01,region=us-west httpsRequests=100i\r': invalid number\nunable to parse

I am using postman tool to insert multiple data to influxdb and I am getting the following error,

Method : POST
Data Seeding :
yla1,host=server01,region=us-west httpsRequests=100i
yla1,host=server01,region=us-west bodySize=7528i
yla1,host=server01,region=us-west contentLength=7528i
yla1,host=server01,region=us-west httpTrafficCompleted=754i
yla1,host=server01,region=us-west timeToFirstByte=752i
yla1,host=server01,region=us-west timeToLastByte=755i
yla1,host=server01,region=us-west htmlCount=1i

Output:
{
“error”: “partial write: unable to parse ‘yla1,host=server01,region=us-west httpsRequests=100i\r’: invalid number\nunable to parse ‘yla1,host=server01,region=us-west bodySize=7528i\r’: invalid number\nunable to parse ‘yla1,host=server01,region=us-west contentLength=7528i\r’: invalid number\nunable to parse ‘yla1,host=server01,region=us-west httpTrafficCompleted=754i\r’: invalid number\nunable to parse ‘yla1,host=server01,region=us-west timeToFirstByte=752i\r’: invalid number\nunable to parse ‘yla1,host=server01,region=us-west timeToLastByte=755i\r’: invalid number dropped=0”
}

^any thought on this

It looks like the data has DOS line endings, try converting to unix line endings.

Thank You Daniel. it worked now. Can you please tell me if I need to send it from the Jmeter https request then how can I dot it ?

Sorry, I’m not sure, have never used JMeter. I think it should be possible but you may need to ask the JMeter project if you can’t find it in their documentation.

HI Jyoti,

I am also facing same issue for sending data to influx DB from jmeter, can you please let me know how you resolve this