Comments (3)
Hi @DontGiveUpWJ, we detect non-English characters in the issue. This comment is an auto translation from @chaosblade-bot to help other users to understand this issue.
We encourage you to describe your issue in English which is more friendly to other users.
The way the servlet is created does not work for the delay mechanism
When I was creating a chaotic experiment for a servlet, I wanted a specific access address to be delayed for a few seconds. After the configuration was completed, it did not take effect. The configuration information is as follows.
Jar package start command:nohup java -Dserver.port=8081 -Djava.net.preferIPv4Stack=true -Dproject.name=ttt -jar ttt.jar > ttt.nohup.log 2>&1 &
Java agent:./blade prepare jvm --process ttt
Created command:./blade create servlet delay --time 3300 --pathinfo /test1 --process ttt --servletpath http://192.168.139.135:8081
After the configuration is complete, after all the displays are successful, the URL is accessed and found to be invalid.
If there is a solution, you can send the solution to my email address at [email protected]
I hope that you can have a detailed Chinese document to describe the role of each parameter and the configuration entry case for mounting different types of services. thank you very much. At the same time, I hope that chaosblade will be more perfect in the future road show and can go further.
from chaosblade.
When I was creating a chaotic experiment for a servlet, I wanted a specific access address to be delayed for a few seconds. After the configuration was completed, it did not take effect. The configuration information is as follows.
Jar package start command:nohup java -Dserver.port=8081 -Djava.net.preferIPv4Stack=true -Dproject.name=ttt -jar ttt.jar > ttt.nohup.log 2>&1 &
Java agent:./blade prepare jvm --process ttt
Created command:./blade create servlet delay --time 3300 --pathinfo /test1 --process ttt --servletpath http://192.168.139.135:8081
After the configuration is complete, after all the displays are successful, the URL is accessed and found to be invalid.
If there is a solution, you can send the solution to my email address at [email protected]
I hope that you can have a detailed Chinese document to describe the role of each parameter and the configuration entry case for mounting different types of services. thank you very much. At the same time, I hope that chaosblade will be more perfect in the future road show and can go further.
@DontGiveUpWJ If request url is http://192.168.139.135:8081/test1
, and you want to drill /test1
, the blade command should be ./blade create servlet delay --time 3300 --process ttt --servletpath /test1
.
from chaosblade.
嗯 已经可以了,谢谢指导
from chaosblade.
Related Issues (20)
- DNS Action Destroy Failed HOT 1
- Security Slam 2023 Participation
- The specified namespace does not take effect HOT 1
- When the network port occupation experiment is destroyed, the process that originally listened to the port cannot be restored.
- Can Chaosblade support hardware damage, such as fault injection for simulating hard disk damage
- Command injection in the server mode of chaosblade >= 0.3
- blade create k8s error: `getClient`: k8s exec failed, err: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
- Simulate memory occupation experiment, execute command and return success. Actual memory is affected, and error is also reported when destroying the experiment
- excute blade c jvm oom --area HEAP --wild-mode true --pid ,cannot destory experiment
- excute blade c jvm oom --area HEAP --wild-mode true --pid ,cannot destory experiment
- operator del cr interval invalid
- 使用chaosblade-box创建演练时,结果一直是unexpected status, expected status: `create`, but the real status: ``, please wait!
- chaosblade创建容器演练时,blade create cri cpu load --help中示例有错误--chaosblade-release参数已不用,去掉此参数运行显示成功后,实际演练未生效,销毁也失败 HOT 2
- chaosblade-ex-ec-os tc fun portSetToPortRanges miscalculation HOT 2
- In network delay attacks, subnet mask-formatted IP address parameters are ineffective 【bug report】
- 网络放火,包留白名单端口失效导致机器失联 HOT 1
- Failed to create cri jvm throwCustomException, error code: 63067
- mac build_darwin fail HOT 2
- create network does not support ipv6?
- How to use chaosblade for java jvm under k8s environment?
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 chaosblade.