Hi, I want to log the total amount of traffic generated by each operation between my application and the database. It has to be an automatic log controlled by the application itself. I was wondering if Wireshark let me do something like that: command 1:start listening port x; command 2:return the traffic amount; command 3:reset the traffic amount; My application must have full control of WHEN to start the counting, WHEN to stop, and to get the total ammount of data. My goal is to make an automated Java Test case, that checks for each test, if the traffic usage is above a specified threshold. is that possible? asked 13 May '11, 16:05 Jean Baldessar |
2 Answers:
Wireshark is intended for detailed packet inspection. What you're looking for is more like what programs like ntop provides. answered 16 May '11, 06:31 Jaap ♦ |
If you are only interested in network volume, you can read the network interface statistics between each call and calculate the differences... answered 17 May '11, 17:03 SYN-bit ♦♦ |