Skip to content

itamarjmc/tools_and_stuffs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Building image

docker build . -t synthetic-pl-test:1.0.0

Runing a container

  • It runs on one-minute interval. To run the check for 1 hour set TIMES_PER_RUN to 60. For 2 hours set to 120 and so on.
  • The TEST_ENDPOINT variable specifies the endpoint to be tested.
  • The script's output is sent to stdout/stderr, allowing you to leverage your container monitoring platform by indexing its logs.
docker run -d --rm --name curl-agent \
-e TIMES_PER_RUN=60 \
-e TEST_ENDPOINT="https://example.com" \
synthetic-pl-test:1.0.0

Output

Starting 2025-02-06 20:56:25
http_code 301 2025-02-06 20:59:55
http_code 301 2025-02-06 20:56:25 Feb 06 20:56:25.310
Finished at 2025-02-06 21:01:25

About

tools and stuffs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published