def httperf warm_up = false
      httperf_cmd = build_httperf_cmd
      if warm_up
        # Do a warm up run to setup any resources
        status "\n#{httperf_cmd} (warm up run)"
        IO.popen("#{httperf_cmd} 2>&1")
      else
        IO.popen("#{httperf_cmd} 2>&1") do |pipe|
          status "\n#{httperf_cmd}"
          @results << (httperf_result = HttperfResult.new({
              :rate         => @current_rate,
              :server       => @current_job.server,
              :port         => @current_job.port,
              :uri          => @current_job.uri,
              :num_conns    => @current_job.num_conns,
              :description  => @current_job.description
            }))
          HttperfResultParser.new(pipe).parse(httperf_result)
        end
      end
    end
def httperf warm_up = false
      httperf_cmd = build_httperf_cmd
      if warm_up
        # Do a warm up run to setup any resources
        status "\n#{httperf_cmd} (warm up run)"
        IO.popen("#{httperf_cmd} 2>&1")
      else
        IO.popen("#{httperf_cmd} 2>&1") do |pipe|
          status "\n#{httperf_cmd}"
          @results << (httperf_result = HttperfResult.new({
              :rate         => @current_rate,
              :server       => @current_job.server,
              :port         => @current_job.port,
              :uri          => @current_job.uri,
              :num_conns    => @current_job.num_conns,
              :description  => @current_job.description
            }))
          HttperfResultParser.new(pipe).parse(httperf_result)
        end
      end
    end
Runs httperf with a given request rate. Parses the output and returns
 a hash with the results.