Sha256: 917d4fa16957d1b00e57d6a78317050ec258bfe7321b573faa45e1ddfaee3e7e

Contents?: true

Size: 448 Bytes

Versions: 7

Compression:

Stored size: 448 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'ruby-jmeter'

test do
  threads count: 100 do
    visit name: 'Home', url: 'http://altentee.com' do
      extract regex: "content='(.+?)' name='csrf-token'", name: 'csrf-token'
      extract regex: 'pattern', name: 'jmeter_variable_regex', variable: 'test'
      extract css: 'span#blog', name: 'blog'
    end
  end
end.run(path: '/usr/share/jmeter-2.13/bin/', gui: true)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ruby-jmeter-2.13.10 examples/basic_extract.rb
ruby-jmeter-2.13.9 examples/basic_extract.rb
ruby-jmeter-2.13.8 examples/basic_extract.rb
ruby-jmeter-2.13.7 examples/basic_extract.rb
ruby-jmeter-2.13.6 examples/basic_extract.rb
ruby-jmeter-2.13.5 examples/basic_extract.rb
ruby-jmeter-2.13.4 examples/basic_extract.rb