Taking samples of fire-fighting foam