This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.BufferedReader; | |
| import java.io.InputStreamReader; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| import java.time.Instant; | |
| class Scratch { | |
| public static void main(String[] args) { | |
| String targetURL = "127.0.0.1"; // Replace with your URL | |
| int numThreads = 10; |