Persistent postsurgical pain may be related to changes in pain processing. By assessing pain in response to standardized stimuli, changes in pain processing can be elucidated. We present methods to obtain pain thresholds to different stimuli and a measure of endogenous analgesia in patients undergoing breast cancer surgery.