serverspec服务器配置测试工具
serverspec 主要是为 Puppet, Chef 和其他配置管理工具提供测试服务器配置的功能,也提供 RSpec 测试。
示例代码:
require 'serverspec' require 'pathname' require 'net/ssh' include Serverspec::Helper::Ssh include Serverspec::Helper::Debian RSpec.configure do |c| # Add SSH before hook in case you use the SSH backend # (not required for the Exec backend) c.before do host = File.basename(Pathname.new(example.metadata[:location]).dirname) if c.host != host c.ssh.close if c.ssh c.host = host options = Net::SSH::Config.for(c.host) user = options[:user] || Etc.getlogin c.ssh = Net::SSH.start(c.host, user, options) end end end
评论
ssmperfSSMP 服务器加载测试工具
ssmperf是SSMP协议的服务器基础加载测试工具。使用./ssmperf <address> [flags] -cacert="" path to CA cert -
ssmperfSSMP 服务器加载测试工具
0
Gatling服务器性能测试工具
Gatling是一款基于Scala开发的高性能服务器性能测试工具,它主要用于对服务器进行负载等测试,并分析和测量服务器的各种性能指标。Gatling主要用于测量基于HTTP的服务器,比如Web应用程序
Gatling服务器性能测试工具
0
apibHTTP API 服务器性能测试工具
apib全名APIBench,是一款HTTPAPI服务器性能测试工具,支持大多数Linux、MacOSX和FreeBSD平台。apib具有ApacheBench(ab)的大部分功能,或者说是更为现代的
apibHTTP API 服务器性能测试工具
0
SuperWebBenchWEB服务器性能/压力测试工具
SuperWebBench 是由webbench改进而来的一款简单易用的web性能测试工具. 背
SuperWebBenchWEB服务器性能/压力测试工具
0