Skip to content

rontrompert/curl_tests

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

curl_tests

Author: Ron Trompert Date: March 5th 2014 Version: 0.1

Introduction

This set of script I have written to test a webdav environment like owncloud.

Operation

This test suite creates a bunch of files of a certain size on a remote webdav server. There are a number of read and write processes that are continuously and concurrently running. The read processes select a random file to read from the webdav server while the write processes write a locally generated file to the remote webdav server. After a number of transfers the test will stop and output like the number of transfer within a time frame, the overall throughput and the average individual transfer rate will be printed.

Scripts

prepare_test.sh: Prepares the test environment. It creates the directories on the remote server and the files that are going to be used during the read test.

settings.sh: A necessary input needs to be specified here like: remote server, username, password, protocol, storage path on the remote host, file size in KB, number of transfers, number of test files, number of concurrent reads, number of concurrent writes. This is the only script where you need to specify input

test_child.sh: This script starts a read or write process.

test_start.sh: This script starts the test.

result.py: This script computes and prints the result of the test.

test_abort.sh: Aborts the test.

Usage

  1. Fill in the necessary values in settings.sh
  2. Start prepare_tests.sh
  3. Run test_start.sh
  4. After a while run result.py and monitor the throughputs. If the result does not change significantly anymore, then proceed with 5
  5. Run test_abort.sh to stop the test.
  6. Run result.py to get the final results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 78.3%
  • Python 21.7%