Sha256: 0908edea4a65b8cf5144db1edafa04557e81cc87b5af1d806cfbd87401abdf44

Contents?: true

Size: 520 Bytes

Versions: 15

Compression:

Stored size: 520 Bytes

Contents

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

test do
  threads do
    transaction name: "TC_03", parent: true, include_timers: true do
      submit url: "/", fill_in: { username: 'tim', password: 'password' },
             files: [{path: '/tmp/foo', paramname: 'fileup', mimetype: 'text/plain'},
                     {path: '/tmp/bar', paramname: 'otherfileup'}],
             'DO_MULTIPART_POST' => true
    end
  end
end.run(path: '/usr/share/jmeter-2.11/bin/', gui: true)

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ruby-jmeter-2.12.5 examples/basic_http_request_with_files.rb
ruby-jmeter-2.12.4 examples/basic_http_request_with_files.rb
ruby-jmeter-2.12.3 examples/basic_http_request_with_files.rb
ruby-jmeter-2.12.2 examples/basic_http_request_with_files.rb
ruby-jmeter-2.12.1 examples/basic_http_request_with_files.rb
ruby-jmeter-2.12.0 examples/basic_http_request_with_files.rb
ruby-jmeter-2.11.22 examples/basic_http_request_with_files.rb
ruby-jmeter-2.11.21 examples/basic_http_request_with_files.rb
ruby-jmeter-2.11.20 examples/basic_http_request_with_files.rb
ruby-jmeter-2.11.19 examples/basic_http_request_with_files.rb
ruby-jmeter-2.11.18 examples/basic_http_request_with_files.rb
ruby-jmeter-2.11.17 examples/basic_http_request_with_files.rb
ruby-jmeter-2.11.16 examples/basic_http_request_with_files.rb
ruby-jmeter-2.11.15 examples/basic_http_request_with_files.rb
ruby-jmeter-2.11.14 examples/basic_http_request_with_files.rb