Car only wants to run when key is still in start position

Tested battery at idle yesterday and was getting 12.2 at the battery and alternator showing 12.2 to 12.5 going to the battery with the positive clipped on the upper lead of the alternator and the . - probe grounded on the body