Sha256: 32b4d05d651dc6007f08ce5f8a8938596abfcca857922cfb94c8dc5a0dc2632f

Contents?: true

Size: 520 Bytes

Versions: 11

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.13/bin/', gui: true)

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ruby-jmeter-2.13.10 examples/basic_http_request_with_files.rb
ruby-jmeter-2.13.9 examples/basic_http_request_with_files.rb
ruby-jmeter-2.13.8 examples/basic_http_request_with_files.rb
ruby-jmeter-2.13.7 examples/basic_http_request_with_files.rb
ruby-jmeter-2.13.6 examples/basic_http_request_with_files.rb
ruby-jmeter-2.13.5 examples/basic_http_request_with_files.rb
ruby-jmeter-2.13.4 examples/basic_http_request_with_files.rb
ruby-jmeter-2.13.3 examples/basic_http_request_with_files.rb
ruby-jmeter-2.13.2 examples/basic_http_request_with_files.rb
ruby-jmeter-2.13.1 examples/basic_http_request_with_files.rb
ruby-jmeter-2.13.0 examples/basic_http_request_with_files.rb