ruby-jmeter 2.11.5 → 2.11.6

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: 6d6fa9fb9703eb230c92bf837ff1f0dfe98d8fe0
4
- data.tar.gz: 63d62ea17960c6ba6e6ac538e92987841cc2267d
3
+ metadata.gz: 10676650fd31cdb67abc4b35df98b96095c811a4
4
+ data.tar.gz: 20ac434469c62af4f9ed6e9ad860bdeeb9b67f61
5
5
  SHA512:
6
- metadata.gz: 0d377a9d968acf5c6e8bf5657341e07a3faedbf77c4d048bba52adc69969c4cdfd7ead98686c98b63048c4e7a9a64a8ab1da57a92a1e65ad1747b207c33bbe26
7
- data.tar.gz: 47a25ef52dba2f9ad0318083d4b5baaf95edc816263a5425da642e4168b806b3d7c1ebe22fdec973738a999baaaddc53f507905f110c0aa1442f7768c9c567c5
6
+ metadata.gz: 69ac56b3fa3ecca4e3efccc08e7273f08d2072327c91864425bd674a75e106a985c0f7d1faf8ab491117764669e8d661fa8290538fa4e3b2d1ce8ce4264845a9
7
+ data.tar.gz: 2e07aa6cc60feb4b693d12039dd2843ef5b57b51c7e499279d7f4a82cb09e51dda592fb1187618cc0c21097528192e268a246192f1072ee6ac30e0c641874cd5
@@ -202,7 +202,9 @@ module RubyJmeter
202
202
 
203
203
  def exists(variable, &block)
204
204
  params ||= {}
205
- params[:condition] = "'${#{variable}}'.length > 0"
205
+ params[:condition] = "\"${#{variable}}\" != \"\\${#{variable}}\""
206
+ params[:useExpression] = false
207
+ params[:name] = "if ${#{variable}}"
206
208
  node = RubyJmeter::IfController.new(params)
207
209
  attach_node(node, &block)
208
210
  end
@@ -460,6 +462,8 @@ module RubyJmeter
460
462
  :threads => params[:threads],
461
463
  :rampup => params[:ramup],
462
464
  :duration => params[:duration],
465
+ :override_hosts => params[:override_hosts],
466
+ :override_parameters => params[:override_parameters],
463
467
  # specials for API
464
468
  :started => params[:started],
465
469
  :stopped => params[:stopped]
@@ -17,6 +17,7 @@ module RubyJmeter
17
17
  <stringProp name="ForeachController.inputVal"/>
18
18
  <stringProp name="ForeachController.returnVal"/>
19
19
  <boolProp name="ForeachController.useSeparator">true</boolProp>
20
+ <stringProp name="ForeachController.endIndex"/>
20
21
  </ForeachController>)
21
22
  EOS
22
23
  update params
@@ -105,7 +105,7 @@ module RubyJmeter
105
105
  end
106
106
 
107
107
  def parse_test_type(params)
108
- case params.keys.first
108
+ case params.keys.first.to_s
109
109
  when 'contains'
110
110
  2
111
111
  when 'not-contains'
@@ -261,6 +261,7 @@
261
261
  <stringProp name="ForeachController.inputVal"></stringProp>
262
262
  <stringProp name="ForeachController.returnVal"></stringProp>
263
263
  <boolProp name="ForeachController.useSeparator">true</boolProp>
264
+ <stringProp name="ForeachController.endIndex"/>
264
265
  </ForeachController>
265
266
  <hashTree/>
266
267
  <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller" enabled="true">
@@ -1,3 +1,3 @@
1
1
  module RubyJmeter
2
- VERSION = "2.11.5"
2
+ VERSION = "2.11.6"
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.11.5
4
+ version: 2.11.6
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-04-27 00:00:00.000000000 Z
11
+ date: 2014-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client