lib/bigbench/fragment.rb in bigbench-0.0.2 vs lib/bigbench/fragment.rb in bigbench-0.0.3

- old
+ new

@@ -60,10 +60,10 @@ :duration => (stop - start).to_milliseconds, :benchmark => @benchmark.name, :url => @uri.to_s, :path => @uri.request_uri, :method => @method, - :status => http.response_header.status + :status => (s = http.response_header.status.to_i; s > 0 ? s : 404) } ) end private \ No newline at end of file