The Inhibin B test is performed to measure the level of inhibin B in the blood, a protein produced by the ovarian cells (in females) or testicular cells (in males). Inhibin B is an important hormone in regulating the activity of other hormones, particularly in controlling ovulation in females and sperm production in males.