ruby-jmeter 2.13.9 → 2.13.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b08a9495536489abe43055bcaefb8b00ae1d688
4
- data.tar.gz: 117ffddedc4e3fda6f25b9e2d2c77d7717672a8c
3
+ metadata.gz: 02c9ddcb8eed598c5746a0ce221a4b7d67ada429
4
+ data.tar.gz: 130cb2c1cc9a1aa55c8404b3e848f8e4780ca846
5
5
  SHA512:
6
- metadata.gz: 9857ead6edff27a4ae5577d019d265ca11499777256a2ffd39b2f3f4f6c04f441dc129ca1507079ea1bf48fa6b8a0796502759ac922f562959c018dbcdf74b99
7
- data.tar.gz: a7f89263182930d51b6388e99f2b6631f071c7aa2b3687251980410daac18812dc24050b353c4f0b83e348e6e137ca45a045dcfa47723efd09c9f638c3a0af90
6
+ metadata.gz: ae25f0bec982b43a5f672a1c92626c5f3be402f54c9604dce5d89a15d53e52a2ba8d6fa632d1b95ab9ef4718250ecd04a7acbbb810c32e979b513ed39cfce09d
7
+ data.tar.gz: b42ba2c8998f9d371ea6e22751a3f6e5320102cfcc5a37ff496bc97dc6ed01d64d3ba2c1cf962b0a5bf339ca5b7b80dd34f312cf2ad96322943f6a51cfc5adf8
@@ -27,7 +27,8 @@ test do
27
27
  hold_time: 60,
28
28
  stop_time: 5
29
29
  }
30
- ] do
30
+ ],
31
+ {on_sample_error: 'startnextloop'} do
31
32
 
32
33
  random_timer 1000, 3000
33
34
 
@@ -470,10 +470,10 @@ module RubyJmeter
470
470
 
471
471
  alias_method :step, :stepping_thread_group
472
472
 
473
- def ultimate_thread_group(params = {}, &block)
473
+ def ultimate_thread_group(threads = [], params = {}, &block)
474
474
  node = RubyJmeter::Plugins::UltimateThreadGroup.new(params)
475
475
 
476
- params.each_with_index do |group, index|
476
+ threads.each_with_index do |group, index|
477
477
  node.doc.at_xpath('//collectionProp') <<
478
478
  Nokogiri::XML(<<-EOS.strip_heredoc).children
479
479
  <collectionProp name="index">
@@ -15,6 +15,7 @@ module RubyJmeter
15
15
  <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
16
16
  </kg.apc.jmeter.threads.UltimateThreadGroup>
17
17
  EOF
18
+ update params
18
19
  end
19
20
  end
20
21
  end
@@ -1,3 +1,3 @@
1
1
  module RubyJmeter
2
- VERSION = '2.13.9'
2
+ VERSION = '2.13.10'
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.13.9
4
+ version: 2.13.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Koopmans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-14 00:00:00.000000000 Z
11
+ date: 2015-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client