1. Home
  2. Knowledge Base
  3. Software
  4. Network – How To Setup A Repeating Ping Test
  1. Home
  2. Knowledge Base
  3. On-premise/Customer-Hosted Server
  4. Network – How To Setup A Repeating Ping Test
  1. Home
  2. Knowledge Base
  3. IIS/Network
  4. Network – How To Setup A Repeating Ping Test

Network – How To Setup A Repeating Ping Test

Overview

This guide will explain how to set up a repeating ping test using a batch file and Command Prompt. The purpose of this guide is to help identify connection issues between your devices and server. Note that this guide does not check ports or monitor ports.

You can download the example files here or you can create your own with the instructions below

Batch File Setup For On-Prem Customers

  1. Create a batch file called RepeatPingTest.bat or download from the example files above

    • To easily create a batch file, save a notepad as RepeatPingTest.bat. You might need to enable ‘File Name Extension’ in your File Explorer
  2. Enter the following code into your .bat file:
  3. Change the host variable to whatever IP or Domain name of your server

How to run your Bat file

  1. Right click your .bat file and select ‘Run as Administrator’
  2. A Command Prompt window will appear, alerting you of when each ping is ran. Closing this window will terminate the ping test.

How to review your results

  1. Open PingTest_XXXX.txt created by your test (which might land at C:\Windows\System32)
  2. Use Ctrl + F to find a certain date/time. Note that this time uses the military 24hr format, so 3pm is 15:00

You should not see ‘Request Timed Out’ or ‘Destination host unreachable’ as these indicate a drop in connection. Time is in ms, which is milliseconds. 1000ms equals 1 second.

Please attach the RepeatPingOutput.txt file to submit to Support for us to review.

 

PowerShell Script Setup for Cloud Customers

  1. Download the ‘New-ConnectionTest.ps1’ from here
  2. Create a folder on the machine which will run the test called ‘Temp’ in the C:/ drive

How to run your Bat file

  1. Right click your .ps1 file and select ‘Run with PowerShell’
    • If PowerShell prompts you asking ‘Do you want to run this script’, simply type ‘Y’ then hit enter
    • A PowerShell window will appear, alerting you of when each test is ran. Closing this window will terminate the connection test.

How to review your results

  1. Open SavanceWorkplaceConnectionTest.log created by your test under the C:/Temp
  2. Use Ctrl + F to find a certain date/time or ‘TCP Test: False’ to find failures
    • Please note it is normal to see ‘Ping: False’ for Cloud Customers
Was this article helpful?

Related Articles