Test of gastric function is of value for many aspects in developing drugs and their delivery systems. Intragastric and esophageal pH meter and gastric juice analysis can be used to assess therapy of disorder associated with either increased acid output or gastroesophageal reflux disease.