`
MyEyeOfJava
  • 浏览: 1170217 次
  • 性别: Icon_minigender_1
  • 来自: 北京
博客专栏
7af2d6ca-4fe1-3e9a-be85-3f65f7120bd0
测试开发
浏览量:71834
533896eb-dd7b-3cde-b4d3-cc1ce02c1c14
晨记
浏览量:0
社区版块
存档分类
最新评论
文章列表
统计Jmeter平均响应时间:  egrep --color 'true' 1.jtl |awk -F\" 'BEGIN{load=0;latency=0;count=0;}{load+=$2;latency+=$4;count+=1}END{print "css:",load/count,latency/count,latency/load}'   统计Tomcat访问日志内的各种访问请求的响应时间并且排序 grep 'PimSearch' logs/localhost_access_log.2011-12-02.txt |awk '{print $7&q ...
首先给个官网地址:http://docs.puppetlabs.com/learning/manifests.html   puppet能够帮你自动部署软件,安装软件,在配置上千上万台机器时,是一个不可多得的工具。     再给一个puppet的学习书籍 www.puppetcookbook.com   再给一些配置变量,class,依赖等的文档:http://docs.puppetlabs.com/guides/language_guide.html
powermock PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.

[jmeter]-hornetq测试

I figured out the problem, for the benefits of others.1. These are the jars needed in jmeter/lib : netty.jar,jboss-jms-api.jar,netty.jar,jnp-client.jar,hornetq-transports.jar,hornetq-jms-client.jar,hornetq-core-client.jar2. use the connection factory name : ConnectionFactory which is defeined in horn ...
General Settings and Access to Environment Information Sikuli Level Sikuli internally uses the class Settings to store globally used settings. Publicly available attributes may be accessed by using Settings.[name-of-an-attribute] to get it’s value and 
Listening to Global Hotkeys Sikuli can listen to global hotkeys that you register with Env.addHotkey and call the corresponding handler (sikuli functions) when the user presses the hotkeys. New in version X1.0-rc3. Env.
  popup(text[, title]) Display a dialog box with an OK button and text as the message. The script then waits for the user to click the OK button. Parameters: text – text to be displayed as message title – optional title for the messagebox
Here we talk about opening or closing other applications, switching to them (bring their windows to front) or accessing an application’s windows. The three global functions openApp(), switchApp() and closeApp() introduced in Sikuli 0.9 and 0.10 are still valid in the moment, but they should be c ...
  setShowActions(False | True) If set to True, when a script is run, Sikuli shows a visual effect (a blinking double lined red circle) on the spot where the action will take place before executing actions (e.g.click(), dragDrop(), type(), etc) for about 2 seconds in t
  # an example - choose your own naming # on Windows myScriptPath = "c:\\someDirectory\\myLibrary" # on Mac/Linux myScriptPath = "/someDirectory/myLibrary" # all systems if not myScriptPath in sys.path: sys.path.append(myScriptPath) # supposing there is a myLib.sikuli ...
我的其他几篇文章:   [sikuli]-sikuli-X的新特性   http://www.51autotest.com/forum.php?mod=viewthread&tid=741&extra=page%3D1     [sikuli]-如何解决sikuli太慢不够强壮的问题 http://www.51autotest.com/forum.php?mod=viewthread&tid=740&extra=page%3D1 [sikuli]-导入其他的sikuli脚本(代码图片复用) http://w ...
在这篇文章里,我建议如果你想使用python或者java来进行sikuli的编程,请你深入的读一下我的文章,例如如何在java项目中使用sikuli。 你还需要知道一些用IDE开发的前置条件,例如如何在IDE里使用Jython 下面的方法只适用在windows 7 ...
def setUp(self): openApp("/Applications/jEdit.app") wait(, 20000) close = () # if find(close): # click(close) def tearDown(self): closeApp("jEdit.app") untilNotExist(, 20000) def test_textarea_add_del_by_key(self): type("hello world") ...
sikuli的核心内容是使用java进行编写的,这意味着你可以在java程序中调用它们作为你的一个库。 1.在您安装完sikuliIDE后,请在sikuli安装目录下找到sikuli-script.jar文件         * Windows, Linux: Sikuli-IDE/sikuli-script.jar         * Mac OS X: Sikuli-IDE.app/Contents/Resources/Java/sikuli-script.jar 2.确认本地库有效 New in version X1.0-rc2. 安装sikuli并且把sikuli环境设置为环 ...
sikuli支持junit单元测试,在IDE里(windows/linux)你可以使用ctrl+u把他们呼出来   sikuli IDE力图最小话您所付出的努力,所以在IDE里,一个python的类默认继承了Junit.framework.TestCase类用于你做单元测试脚本 典型的单元测试脚本应该包含setup、teardown以及一下前置的方法: 下面给出脚本最基本的结构: 1def setUp(self): 2  openApp("AnyRandom.app") 3  wait(SCREENSHOT_OF_THE_APP) # wait until th ...
Global site tag (gtag.js) - Google Analytics