Mercurial > hg > Members > nobuyasu > jungle_benchmark
diff distributed/hello_post.rb @ 15:6e7a01afaaf8
Modified prrogram
author | Nobuyasu |
---|---|
date | Thu, 23 Jan 2014 05:52:31 +0900 |
parents | e3fe67fee803 |
children | 704bcc773b96 |
line wrap: on
line diff
--- a/distributed/hello_post.rb Tue Jan 21 09:28:28 2014 +0900 +++ b/distributed/hello_post.rb Thu Jan 23 05:52:31 2014 +0900 @@ -4,6 +4,7 @@ require 'uri' require 'benchmark' -uri = URI.parse('http://mass12.cs.ie.u-ryukyu.ac.jp:8080/createBoard?bname=hello%20world&author=oshiro&key=0&msg=hogehoge') +#uri = URI.parse('http://mass12.cs.ie.u-ryukyu.ac.jp:8080/createBoard?bname=hello%20world&author=oshiro&key=0&msg=hogehoge') +uri = URI.parse('http://mass48.cs.ie.u-ryukyu.ac.jp:8080/createBoard?bname=hello%20world&author=oshiro&key=0&msg=hogehoge') res = Net::HTTP.post_form(uri, {}) puts res