Thanks for your kind reply.
You are right about the domain. When i try this with a live server it correctly redirects to vipps payment portal.
It looks really strange to me that vipps have no system to test dummy payment. Or may be i have not found the right way to test in my local development machine?