If your entire leg swelled up, I am almost positive you shot near the sciatic nerve. Test P has a high BA content, and I bet this damaged some of the tissue and caused a localized response. Unless you are running a fever and the site is red and swollen, you will be fine.
I think we have all gone through similar situations. Keep on bro.