• 前阵子就是cpu随便怎么跑都跑满,还不知道怎么定位下去= =! 我按照这个方法去看看

  • 是有这种情况,不过手上并行的项目多了一般是不存在这种空闲时间的。
    真的空闲了建议总结一下项目中的测试经验来社区分享一下。

  • 先支持一波,目前公司还不涉猎app的性能监控,想问一下这类专项测试会在什么情况下被要求执行输出报告呢。。。。

  • 放极端了说我觉得业务是不能缺但是技术是可以缺的

  • 依赖文件中是这样的,会报以下的错误
    "C:\Program Files\Java\jdk1.8.0_131\bin\java" -ea -Didea.launcher.port=7534 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3.1\lib\idea_rt.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3.1\plugins\junit\lib\junit-rt.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar;C:\workspace\wechatTest7\target\test-classes;C:\workspace\wechatTest7\target\classes;C:\Users\admin.m2\repository\io\rest-assured\rest-assured\3.2.0\rest-assured-3.2.0.jar;C:\Users\admin.m2\repository\org\codehaus\groovy\groovy\2.4.15\groovy-2.4.15.jar;C:\Users\admin.m2\repository\org\codehaus\groovy\groovy-xml\2.4.15\groovy-xml-2.4.15.jar;C:\Users\admin.m2\repository\org\apache\httpcomponents\httpclient\4.5.3\httpclient-4.5.3.jar;C:\Users\admin.m2\repository\org\apache\httpcomponents\httpcore\4.4.6\httpcore-4.4.6.jar;C:\Users\admin.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\admin.m2\repository\commons-codec\commons-codec\1.9\commons-codec-1.9.jar;C:\Users\admin.m2\repository\org\apache\httpcomponents\httpmime\4.5.1\httpmime-4.5.1.jar;C:\Users\admin.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\admin.m2\repository\org\hamcrest\hamcrest-library\1.3\hamcrest-library-1.3.jar;C:\Users\admin.m2\repository\org\ccil\cowan\tagsoup\tagsoup\1.2.1\tagsoup-1.2.1.jar;C:\Users\admin.m2\repository\io\rest-assured\json-path\3.2.0\json-path-3.2.0.jar;C:\Users\admin.m2\repository\org\codehaus\groovy\groovy-json\2.4.15\groovy-json-2.4.15.jar;C:\Users\admin.m2\repository\io\rest-assured\rest-assured-common\3.2.0\rest-assured-common-3.2.0.jar;C:\Users\admin.m2\repository\io\rest-assured\xml-path\3.2.0\xml-path-3.2.0.jar;C:\Users\admin.m2\repository\org\apache\commons\commons-lang3\3.4\commons-lang3-3.4.jar;C:\Users\admin.m2\repository\javax\xml\bind\jaxb-api\2.2.12\jaxb-api-2.2.12.jar;C:\Users\admin.m2\repository\com\sun\xml\bind\jaxb-osgi\2.2.10\jaxb-osgi-2.2.10.jar;C:\Users\admin.m2\repository\org\apache\sling\org.apache.sling.javax.activation\0.1.0\org.apache.sling.javax.activation-0.1.0.jar;C:\Users\admin.m2\repository\javax\activation\activation\1.1.1\activation-1.1.1.jar;C:\Users\admin.m2\repository\org\junit\jupiter\junit-jupiter-api\5.5.0-M1\junit-jupiter-api-5.5.0-M1.jar;C:\Users\admin.m2\repository\org\apiguardian\apiguardian-api\1.0.0\apiguardian-api-1.0.0.jar;C:\Users\admin.m2\repository\org\opentest4j\opentest4j\1.1.1\opentest4j-1.1.1.jar;C:\Users\admin.m2\repository\org\junit\platform\junit-platform-commons\1.5.0-M1\junit-platform-commons-1.5.0-M1.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3.1\plugins\junit\lib\junit5-rt.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3.1\plugins\junit\lib\junit-platform-launcher-1.0.0-M3.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3.1\plugins\junit\lib\junit-jupiter-engine-5.0.0-M3.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3.1\plugins\junit\lib\junit-platform-commons-1.0.0-M3.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3.1\plugins\junit\lib\junit-platform-engine-1.0.0-M3.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.3.1\plugins\junit\lib\junit-platform-runner-1.0.0-M3.jar" com.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 -junit5 com.testhome.hogwart.WechatWork.ConfigTest,getToken
    Exception in thread "main" java.lang.NoSuchMethodError: org.junit.platform.commons.util.ReflectionUtils.getDefaultClassLoader()Ljava/lang/ClassLoader;
    at org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry.loadTestEngines(ServiceLoaderTestEngineRegistry.java:31)
    at org.junit.platform.launcher.core.LauncherFactory.create(LauncherFactory.java:42)
    at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:43)
    at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
    at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237)
    at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

  • 测试兵器谱の移动测试篇 at January 23, 2019

    👍 围观

  • 解决了吗。我也遇到这个问题了。服务端没有报错,但是jmeter工具报java.net.ConnectException: Connection timed out: connect

  • 持续交付实战 at July 02, 2018

    好顶赞😘