Probably the best inexpensive technique would be using back-to-back or tandem identical devices.
The back-to-back system allows use of 50-ohm meters at each end, or S21 and S12 measurements with network analyzers, for loss and mismatch errors.
Taking half the measured loss through two identical devices can get us very close to the real loss.