GithubHelp home page GithubHelp logo

uji-beban's Introduction

Uji Beban Application

Pre-requisite

  • Java 8+

Development

Initialization

./cmd-init

Format source code

./cmd-format-code

Build application

./cmd-build

Adding request configuration

Add config directory at the same level of application jar file. The convention should be like config/*/application.yml, example:

- ujibean-app.jar
- config
  |- your-dir-1
     |- application.yml
  |- your-dir-2
     |- application.yml

Run application

./cmd-run

uji-beban's People

Contributors

harvanir avatar

Watchers

 avatar

uji-beban's Issues

Review response template from Locust

Have a look:

{
  "current_response_time_percentile_50": 63, 
  "current_response_time_percentile_95": 130.0, 
  "errors": [], 
  "fail_ratio": 0.0, 
  "state": "running", 
  "stats": [
    {
      "avg_content_length": 12.0, 
      "avg_response_time": 53.06334317396803, 
      "current_fail_per_sec": 0.0, 
      "current_rps": 2534.0, 
      "max_response_time": 290.0, 
      "median_response_time": 51, 
      "method": "GET", 
      "min_response_time": 2.0, 
      "name": "/hello/harvan", 
      "ninetieth_response_time": 86, 
      "num_failures": 0, 
      "num_requests": 150401, 
      "safe_name": "/hello/harvan"
    }, 
    {
      "avg_content_length": 12.0, 
      "avg_response_time": 53.06334317396803, 
      "current_fail_per_sec": 0.0, 
      "current_rps": 2534.0, 
      "max_response_time": 290.0, 
      "median_response_time": 51, 
      "method": null, 
      "min_response_time": 2.0, 
      "name": "Aggregated", 
      "ninetieth_response_time": 86, 
      "num_failures": 0, 
      "num_requests": 150401, 
      "safe_name": "Aggregated"
    }
  ], 
  "total_rps": 2534.0, 
  "user_count": 200, 
  "workers": [
    {
      "cpu_usage": 34.0, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_96afcb5d5eba48ce8de6c98f54b0da66", 
      "state": "running", 
      "user_count": 13
    }, 
    {
      "cpu_usage": 34.4, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_13179c5972424a3caae35cb5a3c6c68f", 
      "state": "running", 
      "user_count": 13
    }, 
    {
      "cpu_usage": 35.4, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_d2ce4909b3114a45afff42a6fefc8821", 
      "state": "running", 
      "user_count": 13
    }, 
    {
      "cpu_usage": 41.3, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_5dcdae3b2d634c18a8f3edead20f53c9", 
      "state": "running", 
      "user_count": 13
    }, 
    {
      "cpu_usage": 34.6, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_9f122821ea0349f79c44fd722b53af49", 
      "state": "running", 
      "user_count": 13
    }, 
    {
      "cpu_usage": 37.9, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_707e00b9612c4cffbaceda1a3c4cf8d2", 
      "state": "running", 
      "user_count": 13
    }, 
    {
      "cpu_usage": 35.9, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_be7777972a504cb7b85606dbb4314b89", 
      "state": "running", 
      "user_count": 13
    }, 
    {
      "cpu_usage": 35.2, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_b91fe55995a946d88cb540800b9506f1", 
      "state": "running", 
      "user_count": 13
    }, 
    {
      "cpu_usage": 34.9, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_faadf56c33d6430cacd3e6508971103f", 
      "state": "running", 
      "user_count": 12
    }, 
    {
      "cpu_usage": 35.8, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_42b460a64b964bea9bd27868ccddaf57", 
      "state": "running", 
      "user_count": 12
    }, 
    {
      "cpu_usage": 36.5, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_2737407b6c604faab9e29136e956bc5c", 
      "state": "running", 
      "user_count": 12
    }, 
    {
      "cpu_usage": 36.8, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_d077fd1cdf204fd4aec35547a2cd986d", 
      "state": "running", 
      "user_count": 12
    }, 
    {
      "cpu_usage": 37.9, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_d5634152c0b2421ea8f5dfc6d815a4e1", 
      "state": "running", 
      "user_count": 12
    }, 
    {
      "cpu_usage": 37.0, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_7b05df81cc544367b2c649d8fdb8b043", 
      "state": "running", 
      "user_count": 12
    }, 
    {
      "cpu_usage": 39.7, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_19cfb4d81cb941219f1cc7f13e54a636", 
      "state": "running", 
      "user_count": 12
    }, 
    {
      "cpu_usage": 36.7, 
      "id": "harvanir-Lenovo-ideapad-330S-15IKB_4c3b6a078594474ea9c5e74dbdbb14be", 
      "state": "running", 
      "user_count": 12
    }
  ]
}

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.