Comments (10)
通过mvn spring:boot run 运行成功~
第二个问题是:找不到结果报告~实际在配置的目录下有对应的csv文件以及index.html等,但是文件路径不对
from stresstestplatform.
第一个问题:
查了一下,是找不到class:Caused by: java.lang.NoClassDefFoundError: javax/servlet/ServletContext
实际,这个类是spring-boot-starter-web 中带的,如下图。
这个问题应该不是我的代码问题,希望你检查一下环境,检查一下这些引用是否都有了。
第二个问题:
你的文件路径是什么?代码去找的文件路径是什么?
你的环境是什么?这边有苹果的,win10,centOS的都成功了。
from stresstestplatform.
第一个问题解决了mvn spring-boot:run
第二个问题,我用的mac环境,
MASTER_JMETER_HOME_KEY配置:
/Users/wjh/jmeter/apache-jmeter-4.0
MASTER_JMETER_CASES_HOME_KEY配置是
/Users/wjh/jmeter/jmx
跑完测试后,看到测试报告的地址是:http://localhost:8080/renren-fast/testReport/20181105193228938/case20181105193228955/case201811051932289553673/index.html 这个路径没有找到
from stresstestplatform.
第一个问题解决了mvn spring-boot:run
第二个问题,我用的mac环境,
MASTER_JMETER_HOME_KEY配置:
/Users/wjh/jmeter/apache-jmeter-4.0
MASTER_JMETER_CASES_HOME_KEY配置是
/Users/wjh/jmeter/jmx
跑完测试后,看到测试报告的地址是:http://localhost:8080/renren-fast/testReport/20181105193228938/case20181105193228955/case201811051932289553673/index.html 这个路径没有找到
系统得到测试报告的路径也是拼接出来的,如下代码。
以你的描述,具体应该是:
/Users/wjh/jmeter/jmx/20181105193228938/case20181105193228955/case201811051932289553673/index.html
有这个文件吗?
from stresstestplatform.
实际上存在的文件路径是:/Users/wjh/jmeter/jmx/20181105193228938/case20181105193228955/case201811051932289553673
from stresstestplatform.
实际上存在的文件路径是:/Users/wjh/jmeter/jmx/20181105193228938/case20181105193228955/case201811051932289553673
这个目录下没有 index.html 文件吗 ?
from stresstestplatform.
有index.html
from stresstestplatform.
有index.html
那怎么能说找不到这个文件呢 …… 建议看看权限什么的。
from stresstestplatform.
好吧,我再研究研究3Q
from stresstestplatform.
好吧,我再研究研究3Q
多谢使用平台~
我自己是没有mac环境的,还希望多多发现问题。
Linux环境我是有的,是没问题的。
可能是用户权限不同(启动程序的用户和创建目录的用户),或者目录自身权限不同。
尝试一下手动查找文件是否成功。
再不行,建议调试代码看看,进一步核实路径是否正确。
from stresstestplatform.
Related Issues (20)
- 分布式节点使用同一份csv文件时的困惑 HOT 3
- 生成报告报错异常 HOT 5
- 新增分布式节点并正常启用后,压测执行脚本,点击启动报错 HOT 3
- 脚本带有Constant Throughput Timer运行时会出现Constant Throughput Timer失效的情况
- 有操作文档或者关键内容的截图吗,想看看效果
- 运行带参数化文件的脚本时,运行一次后,后续的所有脚本再执行都报错 HOT 5
- 多脚本执行的时候报Engine is busy - please try later HOT 2
- jmeter_test HOT 1
- 本地部署撥錯 HOT 4
- 用例管理上传jmx文件失败(前端结果显示上传成功) HOT 1
- JMeter路径正确,但是启动应用的时候回抛出如下异常 HOT 1
- 用例管理中创建的用例无法同步到脚本文件管理和其他几个页面中去 HOT 1
- 求助:本地无法启动运行,报错 500--Servlet.service() for servlet [dispatcherServlet] in context with path [/renren-fast] threw exception [Filtered request failed.] with root cause HOT 6
- dubbo插件化如何支持 HOT 2
- hi,你好大神,请问,前端的源码能给下吗,我看前端是编译好的。多谢了 HOT 4
- 想请问下工程有做容器化部署吗 HOT 4
- jmeter运行mqtt协议报错如下,插件加载mqtt-xmeter-2.0.2-jar-with-dependencies.jar
- 请问一下,本地运行不起来
- 如何多用户使用 HOT 1
- 本地启动报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stresstestplatform.