require_relative '../lib/grenache-ruby-http.rb' Grenache::Http.configure do |conf| conf.grape_address = "http://127.0.0.1:40002/" end c = Grenache::Http.new start_time = Time.now 10.times do |n| err,resp = c.request("test","world #{n}") if !err puts "response: #{resp.payload}" else puts err end end puts "Total Time: #{Time.now - start_time}"