Giter Site home page Giter Site logo

lonmiller / ycrash-buggyapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ycrash/buggyapp

0.0 0.0 0.0 29.78 MB

fork of buggyapp for code analysis demo

Shell 0.01% JavaScript 2.47% PHP 0.11% Java 7.95% CSS 73.92% HTML 0.01% Batchfile 0.01% SCSS 15.54%

ycrash-buggyapp's Introduction

BuggyApp Quickstart Guide

BuggyApp

BuggyApp is an opensource chaos engineering program that can simulate various performance problems like Memory Leak, OutOfMemoryError, CPU spike, thread leak StackOverflowError, deadlock, unresponsiveness.

How to build buggyApp locally?

Pre-requisite:

  • Java 8 or later version
  • Apache ant

You can clone the buggyApp repository and build the project on your machine.

SSH: git clone [email protected]:ycrash/buggyapp.git
HTTP: git clone https://github.com/ycrash/buggyapp.git

Go to the directory where you have cloned buggyapp. Let's say you have cloned the buggyApp project in /opt/worskpace directory.

cd  /opt/workspace/buggyapp

Run the below commands to clean the old build and generate new build:

ant clean

ant dist-ee

After executing ant dist-ee command, you will see dist directory in buggyapp project. The built code will be present inside dist/enterpise directory in zip format. The zip file contains JAR as well as WAR files.

If you only want to build a JAR file then run the below command:

ant dist-cmd

How to run buggyApp locally?

a) Run buggyApp as a web application

  1. Download latest buggyapp from here.

  2. Unzip the same to a folder say (i.e. /opt/buggyapp).

  3. You will find launch file in the folder once you unzip the file. Based on your Operating System, invoke an appropriate launch script:

Windows: c:\workspace\buggyapp\launch.bat

Unix: /opt/workspace/buggyapp/launch.sh

You should be able to access buggyApp at http://localhost:9010

Tip: You can change the port in launch file.

b) Run buggyApp from command line

  1. Download latest buggyapp from here.

  2. Unzip the same to a folder say (i.e. /opt/buggyapp).

  3. You will find buggyApp.jar in the folder once you unzip the file. Run the following command to simulate CPU spike:

java -jar buggyApp.jar PROBLEM_CPU

Tip: For more performance problem simulation, refer here.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Apache license 2.0

ycrash-buggyapp's People

Contributors

mahesh-tier1app avatar ankitaycrash avatar ycrash avatar

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.