Skip to content

mhjort/clj-tutorials

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published