gridinit-jmeter 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ require 'rspec'
3
+
4
+ test_dir = File.dirname(__FILE__)
5
+ $LOAD_PATH.unshift test_dir unless $LOAD_PATH.include?(test_dir)
6
+
7
+ lib_dir = File.join(File.dirname(test_dir), 'lib')
8
+ $LOAD_PATH.unshift lib_dir unless $LOAD_PATH.include?(lib_dir)
9
+
10
+ require 'gridinit-jmeter'
data/spec/stub.rb ADDED
@@ -0,0 +1,31 @@
1
+ require 'sinatra'
2
+
3
+ get '/' do
4
+ haml :index
5
+ end
6
+
7
+ post '/login' do
8
+ logger.info params
9
+ haml :index
10
+ end
11
+
12
+ get '/cookies' do
13
+ response.set_cookie("JSESSIONID", :value => "1337")
14
+ end
15
+
16
+ get '/magic' do
17
+ haml :magic
18
+ end
19
+
20
+ __END__
21
+
22
+ @@ layout
23
+ %html
24
+ %meta(content="XAWfTfoqH9eOQy4ZN1U4z+rzfnC/hihb5lWv4VLRY5g=" name="csrf-token")
25
+ = yield
26
+
27
+ @@ index
28
+ %div.title Hello world.
29
+
30
+ @@ magic
31
+ %div.title Magic happens
metadata ADDED
@@ -0,0 +1,85 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gridinit-jmeter
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Tim Koopmans
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-11-19 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: This is a Ruby based DSL for writing JMeter test plans
15
+ email:
16
+ - support@gridinit.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - .gitattributes
22
+ - .gitignore
23
+ - .rbenv-version
24
+ - .rspec
25
+ - .travis.yml
26
+ - Gemfile
27
+ - LICENSE.txt
28
+ - README.md
29
+ - Rakefile
30
+ - examples/basic_assertion.rb
31
+ - examples/basic_auth.rb
32
+ - examples/basic_cache.rb
33
+ - examples/basic_cookies.rb
34
+ - examples/basic_google.rb
35
+ - examples/basic_grid.rb
36
+ - examples/basic_run.rb
37
+ - examples/basic_testplan.jmx
38
+ - examples/basic_testplan.rb
39
+ - examples/basic_think_time.rb
40
+ - gridinit-jmeter.gemspec
41
+ - lib/gridinit-jmeter.rb
42
+ - lib/gridinit-jmeter/auth_manager.rb
43
+ - lib/gridinit-jmeter/cache_manager.rb
44
+ - lib/gridinit-jmeter/cookie_manager.rb
45
+ - lib/gridinit-jmeter/dsl.rb
46
+ - lib/gridinit-jmeter/gaussian_random_timer.rb
47
+ - lib/gridinit-jmeter/http_sampler.rb
48
+ - lib/gridinit-jmeter/regex_extractor.rb
49
+ - lib/gridinit-jmeter/response_assertion.rb
50
+ - lib/gridinit-jmeter/test_plan.rb
51
+ - lib/gridinit-jmeter/thread_group.rb
52
+ - lib/gridinit-jmeter/transaction.rb
53
+ - lib/gridinit-jmeter/user_defined_variable.rb
54
+ - lib/gridinit-jmeter/version.rb
55
+ - spec/dsl_spec.rb
56
+ - spec/spec_helper.rb
57
+ - spec/stub.rb
58
+ homepage: ''
59
+ licenses: []
60
+ post_install_message:
61
+ rdoc_options: []
62
+ require_paths:
63
+ - lib
64
+ required_ruby_version: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ requirements: []
77
+ rubyforge_project:
78
+ rubygems_version: 1.8.23
79
+ signing_key:
80
+ specification_version: 3
81
+ summary: This is a Ruby based DSL for writing JMeter test plans
82
+ test_files:
83
+ - spec/dsl_spec.rb
84
+ - spec/spec_helper.rb
85
+ - spec/stub.rb