As https://learn.microsoft.com/en-us/windows-server/networking/technologies/pktmon/pktmon puts it: Packet Monitor (Pktmon) is an in-box, cross-component network diagnostics tool for Windows. It can be used for packet capture, packet drop detection, packet filtering and counting. Nice thing about it is that it is present by default on all modern Windows versions, so you can do a quick packet capture when […]
Month: May 2023
Parametrizing Test Functions with Pytest
I will first create a class that is used for representing the Zabbix protocol flags (zabbix_flags.py): Subclassing enum.IntFlag is very suitable for this purpose, and enum.auto() can be used to represent the flag values. I have four test functions to check that the flag values work as expected (test_zabbix_flags.py): Let’s create a virtual environment and […]