Fork me on Github
Fork me on Github

Joe Dog Software

Proudly serving the Internets since 1999

up arrow Please Test

Remember when Jeb Bush was giving a sad and lonely speech on the campaign trail? He made some stupid point and the audience sat stone-faced as he stood there awkwardly. After what seemed like an eternity, the young Bush hopeful implored his audience to “Please clap.” That’s Your JoeDog right now. But instead of applause, we need you to test the latest siege release candidate. Siege-4.0.3-rc2

We know what you’re thinking: What’s in it for me?  Exciting new features, that’s what! Really? Like what?

Glad you asked. Version 4.0.3 adds support for the HTTP PATCH method just for you json weenies. It’s implementation is just like POST and PUT. Construct your URLs like this:

siege -p “ PATCH title=hello+world”

siege -p “ PATCH </path/file”

Pretty cool but what’s with that -p ? I’ve never seen that!

That’s another new feature to help you with HTTP debugging. -p/–print URL behaves just like -g/–get URL  except it prints the page along with the headers. Let’s watch it in action!

$ siege -p --no-parse --no-follow
 ** SIEGE 4.0.3rc2
 ** Preparing 1 concurrent users for battle.
 The server is now under siege...
 GET / HTTP/1.0
 Accept: */*
 Accept-Encoding: gzip;deflate
 User-Agent: Mozilla/5.0 (pc-x86_64-linux-gnu) Siege/4.0.3rc2
 Connection: close
 <title>301 Moved Permanently</title>
 <h1>Moved Permanently</h1>
 <p>The document has moved <a href="">here</a>.</p>
 <address>Apache/2.2.31 (Amazon) Server at Port 80</address>
Transactions:                      1 hits
Availability:                 100.00 %
Elapsed time:                   1.15 secs
Data transferred:               0.00 MB
Response time:                  0.92 secs
Transaction rate:               0.87 trans/sec
Throughput:                     0.00 MB/sec
Concurrency:                    0.80
Successful transactions:           1
Failed transactions:               0
Longest transaction:            0.92
Shortest transaction:           0.92

I see other new things there. You’re pretty observant, Chet. This version includes two new long options:

  • –no-parse   Instructs siege not to parse a page and download its elements
  • –no-follow  Instructs siege not to follow redirects

So test away Doggers. Let us know what you think either by commenting on this post or sending us feedback in the contact form.

[SIEGE RELEASE: 4.0.3-rc2]