Well, it's my understanding that an endoscopy would indicate if you have an ulcer. And current thought by many gastroenterologists is that ulcers can be caused by the pathogen H. Pylori. Is that what you are asking? Or are you asking if you have gastritis caused by H. Pylori? I've had an endoscopy two times and have had ulcers both times. Once before H. Pylori was the popular school of thought and once after. Was treated differently both times but the ulcer healed both times. It takes 2 weeks to get your results? Hopefully they are in sooner. And hope you feel better soon.