No no.! Testicular torsion gives you severe pain.
Your pain could be due to mild injury to testes during vigorous masturbation. It may be due to many other reasons like a bike injury, on testes being squeezed in any awkward positions of rising, sleeping etc. It could be caused by infections too. Or it could be due to a prolonged sexual excitement not resolved by orgasm/ejaculation.
Next Steps
You may consult in person or over phone so that we can understand the reasons and help you.