The CST is typically performed in the third trimester of pregnancy when there are concerns about the fetal health. It may be recommended if there are signs of potential complications such as intrauterine growth restriction (IUGR), preeclampsia, or other conditions that could affect the fetus's oxygen supply.