ruby-jmeter 2.12.2 → 2.12.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c0bbd5b64c2ce82294e640dec0f6462cf7b92fa
4
- data.tar.gz: b46127ae4571fda60ed271b8f0a0cf2e295a3ea9
3
+ metadata.gz: 41d94ee0bebc0b0eab6b334ff37fa0bc5b710950
4
+ data.tar.gz: 512bd71fb1ccb163bd717d8f255de376e503f1ed
5
5
  SHA512:
6
- metadata.gz: d163ffb839081282511b13cfe7d509c49dfd952bf3ae86a8c1c06d377dab4aa1fb81d2b7d2498e493117a285086aea09d364f735ffe4941c4e691c6d1fd4928d
7
- data.tar.gz: e8d88d9f9db9a718bc2343f6d441e3678d7a934c66ff75353e74fc729c612faa66ab0dfe57e3dc54cf9ad2a333ffae971f66671398237098b5924c6479e4a3ee
6
+ metadata.gz: b0a7ed6e10b20ad4c9aeb1a90e885047fb513b4a7a8c43b4031502c67f690639b5640a838a67c2f905e7472fe1984f5ed9e7e4ed204b58d4e853c9abac08aa19
7
+ data.tar.gz: 471bb0ae20b495ca63ae46e0ee07526e7945ab9cabdde8df4a6150bb7e8f397a2649452670e577023d24611406447a81f2238e84307ad19329ef02f1b3e23529
@@ -0,0 +1,7 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ require 'ruby-jmeter'
3
+
4
+ test do
5
+ threads count: 100, rampup: 3600, loops: 10, scheduler: false do
6
+ end
7
+ end.run(path: '/usr/share/jmeter-2.11/bin/', gui: true)
@@ -569,7 +569,7 @@ module RubyJmeter
569
569
  :multipart => true,
570
570
  :content_type => 'application/octet-stream'
571
571
  }.merge(params)
572
- if response.code == 200
572
+ if response.code == 201
573
573
  logger.info "Flood results at: #{JSON.parse(response)["response"]["results"]["link"]}"
574
574
  else
575
575
  logger.fatal "Sorry there was an error: #{JSON.parse(response)["error_description"]}"
@@ -1,3 +1,3 @@
1
1
  module RubyJmeter
2
- VERSION = "2.12.2"
2
+ VERSION = "2.12.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-jmeter
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.2
4
+ version: 2.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Koopmans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-24 00:00:00.000000000 Z
11
+ date: 2015-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -91,6 +91,7 @@ files:
91
91
  - examples/basic_test_fragment.rb
92
92
  - examples/basic_testdata.rb
93
93
  - examples/basic_think_time.rb
94
+ - examples/basic_thread_groups.rb
94
95
  - examples/basic_throughput_controller.rb
95
96
  - examples/basic_throughput_shaping_timer.rb
96
97
  - examples/basic_user_defined_variables.rb