Pregnancy health

Is the glucose test during pregnancy optional?