com.github.noconnor.junitperf.JUnitPerfTestRequirement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junitperf Show documentation
Show all versions of junitperf Show documentation
API performance testing framework built using JUnit
package com.github.noconnor.junitperf;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface JUnitPerfTestRequirement {
// Expected target percentile distribution in the format "percentile1:expected_value_ms,percentile2:expected_value_ms,..."
String percentiles() default "";
// Expected test throughput (executions per second)
int executionsPerSec() default 1;
// Expected % of test failures. Failures are measured as test case exceptions
float allowedErrorPercentage() default 1;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy