No. Open testicular biopsy or TESE can be performed under local or general anesthesia. The most common method is to sedate the patient, so he or she will not notice anything.
In percutaneous biopsy or TESA, local anesthesia is usually used, so the patient may feel some pressure but no pain.
Suggested for you: What Is a Testicular Biopsy? – Purpose & Procedure.