Perf2017
Perf2017

Reputation: 29

Verification Gatling is sending events on Certain port

I am sending events through gatling using graphite protocol on default port 2003.All the set up is on local ( including influxdb and grafana as well).Now I want to verify in gatling logs that in actual events are passing through port 2003 .How to verify that ? In gatling debug logs I am not finding anything related with graphite or port 2003.

Please help. Also let me know if you want me to add more info.

Upvotes: 0

Views: 181

Answers (1)

Amerousful
Amerousful

Reputation: 2545

I wanted to continue in the previous question... But let's continue then here. To understand what data sends Gatling, you can use the utility netcat / nc.


It will listen incoming on port 2003:

nc -k -l 2003

(don't forget to turn off Influx or pass another port in nc and Gatling's conf)


Also you can emulate Gatling's data without run and send directly to Influx:

echo "gatling.example.get_request.all.percentiles99 155 1615558965" | nc localhost 2003

Upvotes: 1

Related Questions