Hi Im 72 years old and, for my age, fit and healthy. Im getting an intermittent dull pain in my right groin and right testicle. I have checked the testicle and its fine. I have suffered oedema  in my right lower leg and foot for some time and wear elasticated socks.
Hello understand your concern.  Pain in the groin and testicle could indicate various conditions.  Could be a pulled muscle or a hernia in the groin with pain radiating into the testicle. Any physician can do certain physical exam tests to check the difference. It could also be a varicocele or HY Chat Doctor.  Is the leg edema new, occurring around the same time of the groin and testicular pain?  Have you had any surgery of the leg that is swollen? Leg swelling could be due to a medication, increased salt intake, an injury, or could be due to a blood clot or even cancer.  It is best you check with your physician and see if you need a leg ultrasound or and abdominal CT scan to rule out any of these conditions. Best regards