ntest is a cross-platform cli app that runs multiple tests against any address.

Project Logo

ntest

ntest is a cross-platform cli app that runs multiple tests against any address.

GitHub Downloads Latest Release Build Status Contributions Welcome

About ntest

Having the ability to run common tests against any domain often comes in quite handy. ntest aims to provide you with the most necessary tests you would want to run against a domain. It currently performs the following tests: https redirect, certificate expiration, average round-trip time, measure packet-loss and DNS host look-up.

Installation

Binaries

If you prefer grabbing ntest its binaries, download the latest from the the GitHub releases page.

Brew

❯ brew tap bschaatsbergen/ntest
❯ brew install ntest

Usage

Using ntest is fairly simple. You only need to provide the address by using the -a flag, doing so will already allow you to perform all the tests.

❯ nstest -a bschaatsbergen.com

See the other optional flags below.

❯ ntest -h
ntest - run multiple tests against any ip or address 🩺

Usage:
  ntest [flags]

Flags:
  -a, --address string     ip or address to perform tests against
  -d, --debug              set log level to debug
  -h, --help               help for ntest
      --packet-count int   amount of packets that should be sent (default 1)

ntest in action:

❯ ntest -a bschaatsbergen.com
INFO[0020] Round-trip time: 13ms
INFO[0036] HTTPS redirect detected
INFO[0036] Certificate for bschaatsbergen.com, *.bschaatsbergen.com expires in 186 days
INFO[0036] DNS hosts: 52.222.138.52, 52.222.138.100, 52.222.138.23, 52.222.138.36

It's also possible measure the average round-trip time by sending multiple packets. Additionally, adding the -d flag allows you to see the debug logs regarding the packets.

❯ ntest -a bschaatsbergen.com --packet-count 5 -d
DEBU[0000] Parsed address: bschaatsbergen.com
DEBU[0000] Sending 5 packets to: bschaatsbergen.com
DEBU[0004] Packets: Sent = 5, Received = 5, Lost = 0 (0% loss)
INFO[0004] Round-trip time: 14ms
...

Contributing

If you have a suggestion that would make ntest better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

License

This project is licensed under the MIT License - see the LICENSE file for details.

Owner
Bruno Schaatsbergen
Cloud Consultant at @binxio. I spend my time learning new stuff and building large scale solutions in the cloud.
Bruno Schaatsbergen
Similar Resources

🐘 Cross-platform, neofetch alternative for fetching system info.

 🐘 Cross-platform, neofetch alternative for fetching system info.

elefetch 🐘 Cross-platform, neofetch alternative for fetching system info. Installation go get: go get -u github.com/burntcarrot/elefetch Binaries Bin

Jan 23, 2022

F2 is a cross-platform command-line tool for batch renaming files and directories quickly and safely. Written in Go!

F2 is a cross-platform command-line tool for batch renaming files and directories quickly and safely. Written in Go!

F2 is a cross-platform command-line tool for batch renaming files and directories quickly and safely.

Dec 31, 2022

Battery - cross-platform get battery status

battery Cross-platform get battery status. Tested on Arch Linux, Debian, Ubuntu, Windows, macOS. import "github.com/caiguanhao/battery" battery.GetSt

Dec 31, 2021

A terminal designed for anyone to use and designed for any platform

A terminal designed for anyone to use and designed for any platform. Which includes the basic features of any terminal and includes friendly commands to perform tools such as ping, traceroute, generate key pairs, encrypt/decrypt, router security actions, etc. All of the source code is done in Go.

Jan 25, 2022

A simple go program which checks if your websites are running and runs forever (stop it with ctrl+c). It takes two optional arguments, comma separated string with urls and an interval.

uptime A simple go program which checks if your websites are running and runs forever (stop it with ctrl+c). It takes two optional arguments: -interva

Dec 15, 2022

being a gh extension that runs animated terminal "screensavers"

gh-screensaver being a gh extension that runs animated terminal "screensavers" usage gh screensaver run a random screensaver gh screensaver -s pipes r

Nov 29, 2022

Jsos - A operating system that runs system-level javascript, based on the Linux kernel

JsOS 🚀 An linux-based operating system that runs Javascript code at the system-

Jan 6, 2023

Mimic - a eBPF virtual machine and emulator which runs in userspace

Mimic is a eBPF virtual machine and emulator which runs in userspace. Mimic attempts to 'mimic' the eBPF machinery we find in the Linux kernel, as well as other possible implementation/environments.

Dec 6, 2022

Commando - run commands against networking devices in batch mode

Commando - run commands against networking devices in batch mode

Commando is a tiny tool that enables users to collect command outputs from a single or a multiple networking devices defined in an inventory file.

Oct 30, 2022
This plugin will analyse the JFrog Platform instance and provide the non conformance against the best practices based on the predefines rules.

hello-frog About this plugin This plugin is a template and a functioning example for a basic JFrog CLI plugin. This README shows the expected structur

Nov 30, 2021
🚤 Cross-platform, unofficial CLI for Cloudflare Warp

wgcf is an unofficial, cross-platform CLI for Cloudflare Warp

Jan 7, 2023
a work time management CLI tool for any platform
a work time management CLI tool for any platform

english |日本語 jobgosh | job management tool made with golang for shell a multi-platform work time management CLI tool to track and improve your day to

May 16, 2022
Clirunner - Package clirunner runs a legacy shell-style CLI as if a human were running it.

clirunner Package clirunner runs a legacy shell-style command-line interpreter (CLI) as if a human were running it. A shell-style CLI offers a prompt

Jan 4, 2022
CLI to run your dataframes against SLU service and generated labeled dataframe.

trail CLI to run your dataframes against different services (currently, SLU service). Setup Get the latest binaries from the releases here. Choose the

Nov 12, 2021
CLI and web app to convert HTML markup to go-app.dev's syntax.
CLI and web app to convert HTML markup to go-app.dev's syntax.

HTML to go-app Converter CLI and web app to convert HTML markup to go-app.dev's syntax. Installation CLI Static binaries are also available on GitHub

Dec 18, 2022
Oui - MAC Address CLI Toolkit

oui MAC Address CLI Toolkit Installation macOS $ brew tap thatmattlove/oui $ bre

Jan 1, 2023
Instal - Install any binary app from a script URL
Instal - Install any binary app from a script URL

??️ Install any binary app from a script URL. this cli app is an alternative to

Jun 30, 2022
A simple logging interface that supports cross-platform color and concurrency.
A simple logging interface that supports cross-platform color and concurrency.

WLog Package wlog creates simple to use UI structure. The UI is used to simply print to the screen. There a wrappers that will wrap each other to crea

Sep 26, 2022
cross platform command line tool to list, notify and book vaccine using cowin API

Command line tool to List and Book Vaccine cowin-cli is a simple cli tool to book vaccines and list centers using the COWIN API. It also supports auto

Mar 7, 2022