ContiPerf

Software Screenshot:
ContiPerf
Software Details:
Version: 2.3.0
Upload Date: 20 Feb 15
Developer: Volker Bergmann
Distribution Type: Freeware
Downloads: 25

Rating: nan/5 (Total Votes: 0)

ContiPerf is a lightweight testing tool that enables the user to easily leverage JUnit 4 test cases as performance tests e.g. for continuous performance testing. It is inspired by JUnit 4's easy test configuration with annotations and by JUnitPerf's idea of wrapping Unit tests for performance testing, but more powerful and easier to use:

* Using Java annotations for defining test execution characterisitics and performance requirements
* You can mark a test to run a certain number of times or to be repeatedly executed for a certain amount of time
* Performance requirements can be maximum, average, medium or any percentile exectution time
* Perfect control and readability of performance requirements
* You can run tests in two different modes, using them as simple unit tests or performance tests
* Easy integration with Eclipse and Maven
* Export of execution summary to a CSV file
* Small library without external dependencies (only JUnit)
* Easy extension with custom statistics evaluation and tracking mechanisms

Here is a very simple test:

  import org.junit.*;
  import org.databene.contiperf.*;

  public class SmokeTest {

      @Rule
      public ContiPerfRule i = new ContiPerfRule();

      @Test
      @PerfTest(invocations = 5)
      @Required(max = 1200, average = 250)
      public void test1() throws Exception {
          Thread.sleep(200);
      }

  }


Defining an attribute of type ContiPerfRule with the annotation @Rule activates ContiPerf. You can then choose from a different settings for specifying test execution (@PerfTest) and performance requirements (@Required). In the example the test is defined to run 5 times and to require a maximum execution time of 1.2 seconds and and average below or equals 250 milliseconds.

As of ContiPerf 1.03, you can define concurrency tests as well, specifying the number of threads that execute the test methods concurrently.

    @PerfTest(invocations = 10, threads = 3)
    public void test1() throws Exception {
        ...
    }

What is new in this release:

  • The invocation characteristics (thread count, warm up, ramp up) are now added to the generated HTML report.

What is new in version 2.0:

  • This version provides consistent behavior among JUnit releases 4.7-4.9 and is able to create HTML reports with statistical summaries and latency distribution charts.

What is new in version 1.03:

  • Supporting multithreaded test execution

Requirements:

  • Java 2 Standard Edition Runtime Environment

Similar Software

BuildBot
BuildBot

17 Feb 15

random_instances
random_instances

11 May 15

LAVA Server
LAVA Server

20 Feb 15

NUnit
NUnit

19 Feb 15

Other Software of Developer Volker Bergmann

databene benerator
databene benerator

14 Apr 15

Comments to ContiPerf

Comments not found
Add Comment
Turn on images!