@vladh using an outlet that can measure output and correlating with intel power gadget (for certain intel processors)
you could setup an alpine linux server, measure base consumption rate and then exercise the system under test, subtracting the baseline in the end.