ruby-jmeter 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ require 'ruby-jmeter'
2
+
3
+ test do
4
+ threads 10 do
5
+ visit name: 'Home Page', url: 'http://google.com/'
6
+ end
7
+ end.flood(ENV['FLOOD_API_TOKEN'], {region: 'us-west-2'})
@@ -361,7 +361,7 @@ module RubyJmeter
361
361
  file.write(doc.to_xml(:indent => 2))
362
362
  file.rewind
363
363
 
364
- response = RestClient.post "#{params[:endpoint] ? params[:endpoint] : 'https://flood.io'}/floods?auth_token=#{token}",
364
+ response = RestClient.post "#{params[:endpoint] ? params[:endpoint] : 'https://api.flood.io'}/floods?auth_token=#{token}",
365
365
  {
366
366
  :flood => {
367
367
  :tool => 'jmeter',
@@ -1,3 +1,3 @@
1
1
  module RubyJmeter
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-jmeter
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-07 00:00:00.000000000 Z
12
+ date: 2013-08-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -66,6 +66,7 @@ files:
66
66
  - examples/basic_cookies.rb
67
67
  - examples/basic_extract.rb
68
68
  - examples/basic_flood.rb
69
+ - examples/basic_flood_real.rb
69
70
  - examples/basic_gc_dummy_sampler.rb
70
71
  - examples/basic_gc_results.rb
71
72
  - examples/basic_google.rb
@@ -244,4 +245,7 @@ rubygems_version: 1.8.23
244
245
  signing_key:
245
246
  specification_version: 3
246
247
  summary: This is a Ruby based DSL for writing JMeter test plans
247
- test_files: []
248
+ test_files:
249
+ - spec/dsl_spec.rb
250
+ - spec/spec_helper.rb
251
+ - spec/stub.rb