Anorectal manometry is a test to measure how well the rectum and anal sphincter are working. This test is commonly performed for people who have fecal incontinence and constipation to check how sensitive the rectum is and how well it is working. The test also checks the strength of the muscles of the anus. These muscles control the opening and closing of the anus.