Code Monkey home page Code Monkey logo

autotester's Introduction

Cloud Computing HW 1

Link to the application repository which is being used: Botnak repo

Description

I use junit tests to test the above mentioned application. Then, I use gradle and sbt to build and run those tests. The gradle and sbt automate the process of managing dependencies. In junit tests I test the utilities that the application uses to perform it's core functionality. The limitations of the implementation are that it only checks a very precise scope of the application. As only unit testing can be performed using junit, it does not help in black box testing and only covers some scope in white box testing.

Requirements

You will need the latest version of Java 8 to run tests. Download it here.

You will also require intellij ide. Download it here.

Junit and other dependencies will be automatically added using gradle and sbt.

How to run the project

  1. Copy the repo clone "https://[email protected]/sankul/sankul_rawat_hw1.git".
  2. Open intelliJ.
  3. In intellij, open project using version control -> git.
  4. Follow on screen instructions to clone and import project.
  5. Once the project is open, open terminal window inside intellij.
  6. To run using gradle, execute following command gradle build in terminal, this will build the project and run tests.
  7. To run the tests again execute gradle clean test in terminal again.
  8. To run using sbt, execute following command sbt clean compile test in terminal, this will compile and run the tests.

Location of tests

  1. The junit tests are present on path sankul_Rawat_hw1/src/test/java/ .
  2. build.gradle and build.sbt files are present in the root directory of the project.

Testing of application

Following monitoring tools were used to test the application Tools list

###JConsole I use JConsole to monitor performance and resource consumption of java applications that are running.

Screenshots of JConsole output for this application:

picture

picture

picture

picture

picture

###VisualVM I use VisualVM to profile the performance and resource consumption of the java application.

Screenshots of VisualVM output for this application:

picture

picture

picture

picture

###VisualGC I use VisualGC to collect and graphically display garbage collection, class loader, and HotSpot compiler performance data.

Screenshots of VisualGC output for this application:

picture

###Java Mission Control I use Java Mission Control to collect and analyse detailed low level information about how the Java Virtual Machine (JVM) and the Java application are behaving.

Screenshots of Java Mission Control output for this application:

picture

picture

###jStack I use jstack to print Java stack traces of Java threads for a given Java process i.e. the application.

Screenshots of jStack output for this application:

picture

picture

picture

picture

picture

###jcmd I use jcmd to send diagnostic command requests to the JVM, and diagnose JVM and Java Application.

Screenshots of jcmd output for this application:

picture

picture

picture

picture

picture

picture

picture

###jmap I use jmap to print shared object memory maps or heap memory details of the application.

Screenshots of jmap output for this application:

picture

picture

picture

picture

picture

###jps I use jps to report information on JVM.

Screenshots of jps output for this application:

picture

###jstat I use jstat to display performance statistics for the JVM.

Screenshots of jstat output for this application:

picture

picture

autotester's People

Contributors

0x1docd00d avatar dark-shade avatar dr-kegel avatar gocnak avatar jbzdarkid avatar palehors68 avatar yalter avatar

Watchers

 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.