Skip to content

Latest commit

 

History

History
 
 

dora

Dora the Explorer

Endpoints

  1. GET / Hello Dora
  2. GET /id The id of the instance
  3. POST /session Sets up the cookies for a sticky session
  4. POST /stress_tester?cpu=1&io=1 Starts the stress tester with 1 cpu and 1 io process
  5. GET /stress_tester Gets all the stress testers processes
  6. DELETE /stress_tester Kill all the stress testers processes
  7. GET /find/:filename Finds a file in your instance
  8. GET /sigterm Displays all possible sigterms
  9. GET /delay/:seconds Waits for n seconds
  10. GET /sigterm/:signal Sends the specfied signal
  11. GET /logspew/:bytes Spews out n bytes to the logs
  12. GET /echo/:destination/:output Echos out the output to the destination
  13. GET /env/:name Prints out the env variable

Sticky Sessions

  1. Get your sticky session by running:
curl -d '' dora.yourdomain.com/session -c instance_1
  1. Run with a different filename for each instance, and repeat the curl command until you get a new ID
curl -d '' dora.yourdomain.com/session -c instance_2
  1. Then you can target whatever instance you want for example:
curl dora.yourdomain.com/stress_tester -b instance_2