{"id":20563337,"url":"https://github.com/siddhant-vij/load-testing-tool","last_synced_at":"2026-06-06T15:31:43.522Z","repository":{"id":210894750,"uuid":"727429094","full_name":"siddhant-vij/Load-Testing-Tool","owner":"siddhant-vij","description":"Word frequency analyzer with a custom load testing tool to compare server performance under varying loads.","archived":false,"fork":false,"pushed_at":"2023-12-05T17:13:02.000Z","size":1971,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T19:36:58.280Z","etag":null,"topics":["benchmarking","concurrency","http","http-server","java","load-testing","multithreading","network-programming","performance-testing","server-socket","text-analysis"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siddhant-vij.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-04T21:00:22.000Z","updated_at":"2023-12-05T08:30:09.000Z","dependencies_parsed_at":"2023-12-05T13:26:51.273Z","dependency_job_id":"255906ee-6203-47bb-af4a-64e9e4334d4b","html_url":"https://github.com/siddhant-vij/Load-Testing-Tool","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"5d784f1ff24b4d885548b8d407d388e6618d54a5"},"previous_names":["siddhant-vij/load-testing-tool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhant-vij%2FLoad-Testing-Tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhant-vij%2FLoad-Testing-Tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhant-vij%2FLoad-Testing-Tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhant-vij%2FLoad-Testing-Tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siddhant-vij","download_url":"https://codeload.github.com/siddhant-vij/Load-Testing-Tool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242171595,"owners_count":20083580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["benchmarking","concurrency","http","http-server","java","load-testing","multithreading","network-programming","performance-testing","server-socket","text-analysis"],"created_at":"2024-11-16T04:17:42.102Z","updated_at":"2025-03-06T08:19:43.891Z","avatar_url":"https://github.com/siddhant-vij.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multithreading Load Testing Tool\n\nThis project consists of two main components:\n1. A simple Java-based server that counts the frequency of words in the downloaded text files from Gutenberg project.\n2. A load testing tool that sends GET requests to this server to retrieve the frequency of words listed in \"search_words.csv\".\n\nThe goal is to measure and compare the latency and throughput of the server under different loads by varying the number of threads in the load testing tool.\n\n## Table of Contents\n\n1. [Server Implementation](#server-implementation)\n1. [Load Testing Tool](#load-testing-tool)\n1. [Running the Tests](#running-the-tests)\n1. [Output Format](#output-format)\n1. [Notes](#notes)\n1. [Contributing](#contributing)\n1. [License](#license)\n\n## Server Implementation\n- The server is implemented using Java's Networking API (no framework is used).\n- It listens for HTTP GET requests and processes them to return the frequency of a specified word in `resources/*.txt`.\n\n## Load Testing Tool\n\n- The tool reads words from `resources/search_words.csv` and generates HTTP GET requests for each word.\n- It supports running multiple threads to simulate concurrent requests.\n- The tool measures the latency (time taken for each request) and throughput (total requests completed in a time frame) for each run.\n\n## Running the Tests\n- Start the server application.\n- Run the load testing tool with a specified number of threads (from 1 to 16).\n- The tool will display the average latency and throughput for each run in the terminal.\n\n## Output Format\nRun `PerformanceCheck.java` to see the results which will be displayed in a formatted table in the terminal, showing latency and throughput against the number of threads, comparing performance as follows:\n- Single threaded Server \u0026 Single threaded Load testing tool\n- Single threaded Server \u0026 Multi threaded Load testing tool\n- Multi threaded Server \u0026 Single threaded Load testing tool\n- Multi threaded Server \u0026 Multi threaded Load testing tool\n\n## Notes\n- Ensure that the server is running before starting the load testing tool.\n- The server and load testing tool are designed for educational purposes to demonstrate the effects of multithreading on performance.\n\n## Contributing\nContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n1. **Fork the Project**\n2. **Create your Feature Branch**: \n    ```bash\n    git checkout -b feature/AmazingFeature\n    ```\n3. **Commit your Changes**: \n    ```bash\n    git commit -m 'Add some AmazingFeature'\n    ```\n4. **Push to the Branch**: \n    ```bash\n    git push origin feature/AmazingFeature\n    ```\n5. **Open a Pull Request**\n\n## License\nDistributed under the MIT License. See [`LICENSE`](https://github.com/siddhant-vij/Load-Testing-Tool/blob/main/LICENSE) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhant-vij%2Fload-testing-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddhant-vij%2Fload-testing-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhant-vij%2Fload-testing-tool/lists"}