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 +4 -4
- data/lib/ruby-jmeter/dsl.rb +5 -1
- data/lib/ruby-jmeter/dsl/foreach_controller.rb +1 -0
- data/lib/ruby-jmeter/helpers/parser.rb +1 -1
- data/lib/ruby-jmeter/idl.xml +1 -0
- data/lib/ruby-jmeter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10676650fd31cdb67abc4b35df98b96095c811a4
|
4
|
+
data.tar.gz: 20ac434469c62af4f9ed6e9ad860bdeeb9b67f61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69ac56b3fa3ecca4e3efccc08e7273f08d2072327c91864425bd674a75e106a985c0f7d1faf8ab491117764669e8d661fa8290538fa4e3b2d1ce8ce4264845a9
|
7
|
+
data.tar.gz: 2e07aa6cc60feb4b693d12039dd2843ef5b57b51c7e499279d7f4a82cb09e51dda592fb1187618cc0c21097528192e268a246192f1072ee6ac30e0c641874cd5
|
data/lib/ruby-jmeter/dsl.rb
CHANGED
@@ -202,7 +202,9 @@ module RubyJmeter
|
|
202
202
|
|
203
203
|
def exists(variable, &block)
|
204
204
|
params ||= {}
|
205
|
-
params[:condition] = "
|
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
|
data/lib/ruby-jmeter/idl.xml
CHANGED
@@ -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">
|
data/lib/ruby-jmeter/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2014-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|