Before the test you may be advised to have an empty stomach for about six-eight hours before the test. Gastroscopy can be performed with small sips of water only after consulting your specialist