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. This guide will focus on On-Prem servers using server IPs to ping against. 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

  1. Create a batch file called RepeatPingTest.bat
    1. 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 from cloud.savanceworkplace.com to whatever IP your server is or keep cloud.savanceworkplace.com for Cloud customers

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.

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support