I have an HTTP Api Server that is querying a UDP Server. I used
wrk to test the requests per second for the HTTP Api Server and now I want to test the UDP Server requests per second and latency per request. Id like to be able to set the number of threads and connections just like wrk does.
For wrk, I did the following:
wrk -t30 -c100 -d30s http://localhost:8083/queryArgument
which queries the API Server than then inside the code queries UDP.
I want to query the UDP Server alone without going thorugh the API Server.
For the example provided by the person who created the UDP Server, we have the following command to run:
echo -n "queryArgument" | nc -u -w4 127.0.0.1 1175
I don't know how to convert this into something I can pipe into
Any help would be greatly appreciated.
The end goal would be to see statistics on querying UDP
I was able to query netcat as so:
time yes|nc -v -u -z -w 3 127.0.0.1 1175
But its in seconds for sys and i need milliseconds