Git Product home page Git Product logo

Comments (3)

chaosblade-bot avatar chaosblade-bot commented on May 23, 2024

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.

xcaspar avatar xcaspar commented on May 23, 2024

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.

DontGiveUpWJ avatar DontGiveUpWJ commented on May 23, 2024

嗯 已经可以了,谢谢指导

from chaosblade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.