Permalink
Browse files

Use the URI config option when calling httperf

  • Loading branch information...
1 parent 9149dac commit b800005a7c1f0e3b0e4cddbe5d2bfc02be5d6e04 @kamal kamal committed Oct 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoperf.rb
View
@@ -52,7 +52,7 @@ def parse_config(config_file)
def benchmark(conf)
httperf_opt = conf.keys.grep(/httperf/).collect {|k| "--#{k.gsub(/httperf_/, '')} #{conf[k]}"}.join(" ")
- httperf_cmd = "httperf --hog --server #{conf['host']} --port #{conf['port']} #{httperf_opt}"
+ httperf_cmd = "httperf --hog --server #{conf['host']} --uri #{conf['uri']} --port #{conf['port']} #{httperf_opt}"
res = Hash.new("")
IO.popen("#{httperf_cmd} 2>&1") do |pipe|

0 comments on commit b800005

Please sign in to comment.