Я пытаюсь установить базы сценариев jmeter на шагах @ https://github.com/flood-io/ruby-jmeter
Это windows P C с ruby и ruby -jmeter установленными
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'ruby-jmeter'
test do
threads count: 1 do
visit name: 'Home Page', url: 'http://altentee.com/' do
duration_assertion duration: 10
end
# write to an assertion results listener, errors only
assertion_results filename: '/var/log/flood/custom/assertion.log',
error_logging: true,
update_at_xpath: [
{ '//xml' => 'true' },
{ '//assertions' => 'true' }
]
end
end.run(path: '/usr/share/jmeter/bin/', gui: true)
Ошибка, которую я получаю
C:/momento/momento_performance_test/lib/ruby-jmeter/extend/threads/thread_group.rb:5: warning: constant ::Fixnum is deprecated
C:/Ruby25-x64/lib/ruby/2.5.0/open3.rb:199:in `spawn': No such file or directory - /usr/share/jmeter/bin/jmeter -t ruby-jmeter.jmx -j jmeter.log -l jmeter.jtl (Errno::ENOENT)
from C:/Ruby25-x64/lib/ruby/2.5.0/open3.rb:199:in `popen_run'
from C:/Ruby25-x64/lib/ruby/2.5.0/open3.rb:190:in `popen2e'
from C:/momento/momento_performance_test/lib/ruby-jmeter/dsl.rb:43:in `run'
from assertion_results.rb:18:in `<main>'
W, [2020-03-09T11:59:45.175528 #13404] WARN -- : Test executing locally ...