ruby-jmeter 2.12.1 → 2.12.2
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/plugins/stepping_thread_group.rb +2 -1
- data/lib/ruby-jmeter/version.rb +1 -1
- data/spec/dsl_spec.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: 7c0bbd5b64c2ce82294e640dec0f6462cf7b92fa
|
4
|
+
data.tar.gz: b46127ae4571fda60ed271b8f0a0cf2e295a3ea9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d163ffb839081282511b13cfe7d509c49dfd952bf3ae86a8c1c06d377dab4aa1fb81d2b7d2498e493117a285086aea09d364f735ffe4941c4e691c6d1fd4928d
|
7
|
+
data.tar.gz: e8d88d9f9db9a718bc2343f6d441e3678d7a934c66ff75353e74fc729c612faa66ab0dfe57e3dc54cf9ad2a333ffae971f66671398237098b5924c6479e4a3ee
|
@@ -4,8 +4,9 @@ module RubyJmeter
|
|
4
4
|
attr_accessor :doc
|
5
5
|
include Helper
|
6
6
|
def initialize(params={})
|
7
|
+
params[:name] ||= 'jp@gc - Stepping Thread Group'
|
7
8
|
@doc = Nokogiri::XML(<<-EOF.strip_heredoc)
|
8
|
-
<kg.apc.jmeter.threads.SteppingThreadGroup guiclass="kg.apc.jmeter.threads.SteppingThreadGroupGui" testclass="kg.apc.jmeter.threads.SteppingThreadGroup" testname="
|
9
|
+
<kg.apc.jmeter.threads.SteppingThreadGroup guiclass="kg.apc.jmeter.threads.SteppingThreadGroupGui" testclass="kg.apc.jmeter.threads.SteppingThreadGroup" testname="#{params[:name]}" enabled="true">
|
9
10
|
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
10
11
|
<stringProp name="ThreadGroup.num_threads">#{params[:total_threads]}</stringProp>
|
11
12
|
<stringProp name="Threads initial delay">#{params[:initial_delay]}</stringProp>
|
data/lib/ruby-jmeter/version.rb
CHANGED
data/spec/dsl_spec.rb
CHANGED
@@ -23,7 +23,7 @@ describe "DSL" do
|
|
23
23
|
end
|
24
24
|
|
25
25
|
it "should output a test plan to jmx file" do
|
26
|
-
file =
|
26
|
+
file = double('file')
|
27
27
|
File.should_receive(:open).with("jmeter.jmx", "w").and_yield(file)
|
28
28
|
file.should_receive(:write).with(/jmeterTestPlan/i)
|
29
29
|
test do
|
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.
|
4
|
+
version: 2.12.2
|
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-
|
11
|
+
date: 2014-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|