httping is a lightweight PowerShell module for testing HTTP connectivity to a specified URI by sending repeated requests and measuring response latency. It returns detailed HTTP response information, including status code, bytes received, host, port, scheme, and path, so you can diagnose endpoint availability and performance.
This module exposes the Test-HttpConnection cmdlet, which performs multiple HTTP requests to a target URI and reports response metrics for each attempt. It is useful for:
- validating HTTP/HTTPS endpoint reachability
- measuring response time and latency
- checking returned status codes
- troubleshooting endpoints with self-signed or expired certificates
To install the module, run:
Install-Module -Name 'httping' -Scope CurrentUserOr update if already installed
Update-Module -Name 'httping'Test-HttpConnection -Uri 'https://http.codes/500'This sends four requests by default and outputs a summary table with status code, bytes, and latency.
-Uri(required): The target URI to test.-Count: Number of requests to send. Default is4.-SkipCertificateCheck: Skip SSL certificate validation for self-signed or expired certificates.-TimeoutSeconds: Timeout in seconds for each request. Default is30.
Test-HttpConnection -Uri 'https://http.codes/500'Run four requests against the specified URI and display the summary table.
Test-HttpConnection -Uri 'https://expired.badssl.com/' -SkipCertificateCheck | Format-ListTest a site with an invalid certificate, skip validation, and display full result details.
Test-HttpConnection -Uri 'https://example.com' -Count 10 -TimeoutSeconds 10Send ten requests with a 10-second timeout for each attempt.