front_end_loader 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
data/front_end_loader.gemspec
CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'front_end_loader'
|
6
|
-
s.version = '0.3.
|
6
|
+
s.version = '0.3.1'
|
7
7
|
|
8
8
|
s.summary = 'A framework for doing declarative load testing in ruby'
|
9
9
|
s.description = <<-EOF
|
@@ -19,7 +19,7 @@ module FrontEndLoader
|
|
19
19
|
|
20
20
|
def run
|
21
21
|
response = nil
|
22
|
-
if [:get, :delete].include?(@method)
|
22
|
+
if [:get, :delete, :propfind, :report].include?(@method)
|
23
23
|
response = @experiment.time_call(@name) do
|
24
24
|
@session.__send__(@method, "#{@path}?#{@params}", @headers)
|
25
25
|
end
|
@@ -25,7 +25,7 @@ module FrontEndLoader
|
|
25
25
|
Request.new(@experiment, @session, :delete, name, path, params, nil, block).run
|
26
26
|
end
|
27
27
|
|
28
|
-
|
28
|
+
def propfind(name, path, params={}, &block)
|
29
29
|
Request.new(@experiment, @session, :propfind, name, path, params, nil, block).run
|
30
30
|
end
|
31
31
|
|