Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

clj-tutorials

Load testing using core.async @ ClojuTre 2014

Test server

You should start this before (propably in own Repl)

(require '[clj-tutorials.main :as main])

(main/run 1000)

"Slides"

Run in Repl and check steps from clj file.

(require '[clj-tutorials.load-testing :refer :all])

(run-simulation [ping-scenario] 100 options)

(run1 10 #(do (println "hi") true))

(run-with-results 10 #(do (println "hi") true))

(run-with-bench 10 #(do (println "hi") true))

(run-with-url 100 "http://localhost:8080/ping")

(run-non-blocking 1000 "http://localhost:8080/ping")

(run-non-blocking-with-timeout 1000 90 "http://localhost:8080/ping")

(run-constantly 100 5000 90 "http://localhost:8080/ping")

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published