diff --git a/LoadTest/Program.cs b/LoadTest/Program.cs index e5a1e4a..6011cf1 100644 --- a/LoadTest/Program.cs +++ b/LoadTest/Program.cs @@ -34,10 +34,9 @@ internal class Program do { - Console.WriteLine("Insert URL: "); + Console.WriteLine("Insert Full URL: "); url = Console.ReadLine(); - url = "https://" + url; - } while (string.IsNullOrEmpty(url) && url != "https://"); + } while (string.IsNullOrEmpty(url) || !Uri.TryCreate(url, UriKind.Absolute, out _)); if (methodHttp == "POST") {