Skip to content

pwmedcraft/http4s-jetty-curl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP4S-Jetty-cURL

Minimal test app to investigate problem seen with cURL and HTTP4S/Jetty.

Run HTTP4S/Jetty app:

sbt> run

Run plain Jetty app:

sbt> runMain jettytest.JettyTestApp

Post the test JSON at both servers using JMeter:

$ bin/postJSONwithJMeter.sh

Repeat as many times as you like.

Post test JSON at Jetty with cURL 1000 times:

$ bin/postJSONwithCurl.sh 1000 8080

Repeat as many times as you like.

Post test JSON at HTTP4S/Jetty with cURL 100 times:

$ bin/postJSONwithCurl.sh 100 8081

Repeat until it hangs. Wait a while, watching CPU utilization. You can post with JMeter while cURL is hanging.

About

Minimal test app to investigate problem seen with cURL and HTTP4S/Jetty

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published