The only way to test for symptoms of stomach or esophageal cancer is to undergo an upper endoscopy, a test that can be invasive, cost thousands of dollars and has a small percentage of success in actually finding a tumor.
https://abcnews.go.com/Health/breath-test-save-money-catch-cancer-early/story?id=55291195
Breath test can save money and catch cancer early