by measuring the electrical resistance of a resistive element belonging to one of the parts to be welded, said element acting