The measurement of immunological stress in nematodes