Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httping

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.

Description

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

Module

To install the module, run:

Install-Module -Name 'httping' -Scope CurrentUser

Or update if already installed

Update-Module -Name 'httping'

Functions

Test-HttpConnection

Test-HttpConnection -Uri 'https://http.codes/500'

This sends four requests by default and outputs a summary table with status code, bytes, and latency.

Parameters

  • -Uri (required): The target URI to test.
  • -Count: Number of requests to send. Default is 4.
  • -SkipCertificateCheck: Skip SSL certificate validation for self-signed or expired certificates.
  • -TimeoutSeconds: Timeout in seconds for each request. Default is 30.

Examples

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-List

Test a site with an invalid certificate, skip validation, and display full result details.

Test-HttpConnection -Uri 'https://example.com' -Count 10 -TimeoutSeconds 10

Send ten requests with a 10-second timeout for each attempt.

About

PowerShell module for testing HTTP connectivity

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages