Introducing our new CEO Don Johnson - Read More

seabopo/pspodtester

By seabopo

Updated about 1 month ago

An image of psPodTester, a PowerShell module to test Windows container deployments.

Image
Web Servers
Developer Tools
0

5.7K

An image of psPodTester(https://github.com/seabopo/psPodTester), a PowerShell module to test Windows container deployments.

Features:

  • Configurable CPU and memory stressing.
  • Environment variables debug/dump.
  • A web server for:
    • Ingress testing.
    • Viewing the test logs.
    • Viewing user requests.
    • Viewing HTTP headers from user requests.
    • Running a few pre-canned stress tests.
    • Breaking the container.
# Runs the web server only. Allows you to view the debug info, pod info, logs and start a few basic stress tests.
    docker run -e "PSPOD_PRESET_Webserver=1" -p 80:80 seabopo/pspodtester:latest

# Performs stress testing and runs a web server for viewing the logs.
    docker run `
                -e "PSPOD_TEST_ShowDebugData=1" `
                -e "PSPOD_TEST_StressDuration=10" `
                -e "PSPOD_TEST_WarmUpInterval=1" `
                -e "PSPOD_TEST_CoolDownInterval=1" `
                -e "PSPOD_TEST_StressInterval=1" `
                -e "PSPOD_TEST_RestInterval=1" `
                -e "PSPOD_TEST_RandomizeIntervals=s,r" `
                -e "PSPOD_TEST_MaxIntervalDuration=5" `
                -e "PSPOD_TEST_CpuThreads=1" `
                -e "PSPOD_TEST_MemThreads=1" `
                -e "PSPOD_TEST_NoExit=1" `
                -e "PSPOD_TEST_EnableWebServer=1" `
                -e "PSPOD_TEST_WebServerPort=8080" `
                -e "PSPOD_TEST_EnableWebServerConsoleLogs=1" `
                -p 8080:8080 `
                seabopo/pspodtester:nanoserver-1809

The full parameter list can be viewed in the /public/Start-Testing.ps1 file, which is the module's main entrypoint.

A variety of Windows and Docker usage examples are available in the /psPodTester-tests.ps1 file.

Docker Pull Command

docker pull seabopo/pspodtester