- 博客(63)
- 资源 (7)
- 收藏
- 关注
原创 jprofile监控
CATALINA_OPTS="-agentpath:/opt/jprofiler7/bin/linux-x64/libjprofilerti.so=port=8849,nowait $CATALINA_OPTS"export CATALINA_OPTS
2018-03-31 22:11:49
386
原创 jmeter代理无法录制问题
https://jingyan.baidu.com/article/48b558e356aac17f38c09a80.html修改拨号连接即可最好用IE录制,如果IE不行 可以用blazemeter 录制chrome,要登录才可以直接导出jmx脚本
2018-03-01 21:16:14
6869
原创 jmeter 参数取值策略
共享模式其实就是副本模式,所有线程----所有线程共享一个副本,且唯一current 线程-------每个线程一个副本,唯一分组线程-----一个组一个副本,唯一
2018-01-14 10:09:29
1214
原创 xampp启动但是端口号未启动
rm -rf /opt/lampp/logs/httpd.pid rm -rf /opt/lampp/var/mysql/*.pidrm -rf /opt/lampp/var/*.pid然后重启xampp
2017-12-27 20:59:49
475
原创 强大的搜索引擎
1.SemanticScholar 免费学术搜索引擎2.Librestock 免费优质素材搜索引擎3.Searchin 专业运动鞋搜索引擎4.Gitlogs 在线GitHub项目搜索引擎5.FindIcons 免费图标搜索引擎6.Moreflicks 热门电影搜索引擎7.Niice 设计师视觉搜索引擎8.
2017-04-19 11:11:46
1995
转载 POI EXCEL
import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.IOException;import java.io.InputStream;import org.apache.poi.hssf.usermodel.HSSFCell;import org.apache.poi.hssf.usermod
2017-04-19 10:33:34
286
原创 cdn测试
http://ce.cloud.360.cn/task如果一个网站通过测试,不同归属地有多个解析IP,则说明该网站开启了CDN加速,并且最终还可以看到全国不同地区的访问速度
2017-04-18 15:38:44
1108
原创 TestNG批量执行 XML
testng.xml<?xml version="1.0" encoding="UTF-8"?><suite name="Suite1"> <test name="Menu" preserve-order="true"> <!--菜单管理--> <classes> <class name="com.demo.one" /> //包名+类名
2017-04-17 11:29:15
1902
1
转载 数据库查询含有字段的表
fid为字段名USE information_schema;SELECT * FROM COLUMNS WHERE column_name='fid' ;
2017-03-17 10:37:03
440
转载 testng性能测试,循环测试,线程测试,优先级
使用TestNG进行性能测试/重复执行 来源:http://www.51testing.com/html/18/n-131218.htmlTestNG提供了丰富的Annotation为测试提供更强大,更细致的控制,比如用于并发测试的invocationCount和threadPoolSize。@Test(invocationCount=100,threadPoolSize=5) public
2017-03-15 16:28:17
1621
转载 post file (okhttp)头像上传
注意:这里的jar是okhttp-3.6.0.jar 图片在:D:\workspace\7723gameTest\res\a.png 详细代码见百度云盘:PostFilepackage com.tester20170303;import java.io.File;import java.io.IOException;import org.testng.annotations.Test;imp
2017-03-15 14:12:15
718
原创 接口测试(api测试)java代码测试
public class apitest { @Test public void testr() throws ClientProtocolException, IOException, JSONException{ CloseableHttpClient httpclient = HttpClients.createDefault();
2017-01-23 17:01:09
13885
原创 selenium select Element is not clickable at point
WebElement element = driver.findElement(By.xpath("//*[@id='serach']")); Actions actions = new Actions(driver); actions.moveToElement(element).click().perform();
2017-01-19 15:49:17
410
原创 完整的第一个后台selenium Demo
package chrome;import static org.junit.Assert.*;import java.io.File;import java.io.IOException;import java.util.ArrayList;import java.util.Iterator;import java.util.List;import java.util.Set;impo
2017-01-19 14:19:35
2408
原创 Stale Element Reference Exception
WebElement result = new WebDriverWait(driver, 10).until( ExpectedConditions.presenceOfElementLocated( By.xpath("//*[@id='content']/tr/td[1]") )
2017-01-19 14:17:16
672
原创 switch to frame nosuchElement
// ArrayList<String> tabs2 = new ArrayList<String> (driver.getWindowHandles());// driver.switchTo().window(tabs2.get(0)); WebElement tab_2=driver.findElement(By.xpath("//*[@id='iframe
2017-01-19 14:16:05
349
原创 org.openqa.selenium.ElementNotVisibleException: element not visible
org.openqa.selenium.ElementNotVisibleException: element not visible (Session info: chrome=55.0.2883.87) (Driver info: chromedriver=2.25.426923 (0390b88869384d6eb0d5d09729679f934aab9eed),platform=Wi
2017-01-18 11:41:26
2666
1
原创 我的第一个appium ——androidDriver
package com.example.test;import java.io.File;import java.net.URL;import java.util.List;import java.util.concurrent.TimeUnit;import org.junit.After;import org.junit.Before;import org.junit.Test;im
2017-01-17 16:36:33
7311
原创 我的第一个appiumdemo
参照网址http://blog.youkuaiyun.com/wuyepiaoxue789/article/details/51613465
2017-01-06 21:46:30
523
原创 开发中用到的有用的网址
1.在线API文档 http://tool.oschina.net/apidocs#S 2.easymock API http://easymock.org/api/ 3.源代码库 http://search.maven.org/#search%7Cga%7C1%7Cselenium 4.想到再补充
2017-01-04 10:12:56
268
原创 selenuim 刷新F5
Actions act = new Actions(driver); act.sendKeys(Keys.F5).perform();
2017-01-04 10:03:24
608
原创 使用chromedriver和selenuim3
public class demo { ChromeDriverService service; WebDriver driver; WebElement confirm; WebElement cellphonenumber; @Before public void before(){ service = new ChromeDrive
2017-01-04 10:02:20
542
原创 MockHttpServletRequest对于http前台信息的验证
@RunWith(SpringJUnit4ClassRunner.class)@ContextConfiguration({ "classpath:META-INF/spring/spring-config.xml" })public class BargainTest { private MockHttpServletRequest request; private MockHt
2016-12-26 17:11:22
9225
n枚硬币问题
2013-12-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅