https://github.com/markwragg/smoketests
A set of Pester tests to perform basic generic testing against one or more URLs
https://github.com/markwragg/smoketests
Last synced: 3 months ago
JSON representation
A set of Pester tests to perform basic generic testing against one or more URLs
- Host: GitHub
- URL: https://github.com/markwragg/smoketests
- Owner: markwragg
- Created: 2021-09-11T06:35:01.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-11T14:35:20.000Z (almost 5 years ago)
- Last Synced: 2025-03-10T19:49:02.124Z (over 1 year ago)
- Language: PowerShell
- Size: 2.93 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SmokeTests
A set of Pester tests to perform some basic health checks for one or more URLs.
> Requires Pester v5.
Current checks:
- Checks the URLs specified via `-URL` respond on the ports specified via `-TcpPort`.
- Checks the SSL certificate has more than 30 days until it expires.
- Checks the status code returned is 200.
- Checks the page loads in less than 5 seconds.
## Usage
```powershell
Invoke-SmokeTests -URL 'google.com','amazon.com' -TcpPort 80,443
```