Script that login as a user

I have an idea about som tests.
I want so create a script that login as a user in a certain web application every 15 minutes.
Because I want to know when the application don’t respond under a period of one week, 24-hours/ day.
I really don´t know where to start.
Maybe I want to use windows server Task Scheduler to run a script every 15 minutes.
But I don’t have any clue of how to start…or where to find some similar powershell script examples

Hope someone is kind and give me some answer or tip

You have to take into account several things, but I would recommend that you take a look at this: scripting - Auto Login to a website using powershell - Stack Overflow