Skip navigation links
A C D E F G H I J L M N O P R S T U W 

A

abortIfIterationLongerThan - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
abortIfIterationLongerThan(Duration) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
add(long, TimeUnit) - Method in class org.apache.brooklyn.test.performance.Histogram
 
add(Duration) - Method in class org.apache.brooklyn.test.performance.Histogram
 
add(long) - Method in class org.apache.brooklyn.test.performance.Histogram
 
assertAsyncHttpStatusCodeContinuallyEquals(ListeningExecutorService, String, int) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
Schedules (with the given executor) a poller that repeatedly accesses the given url, to confirm it always gives back the expected status code.
assertAttemptsMade(int, String) - Method in class org.apache.brooklyn.test.WebAppMonitor
 
assertContentContainsText(String, String, String...) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertContentEventuallyContainsText(String, String, String...) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertContentEventuallyContainsText(Map<String, ?>, String, String, String...) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertContentEventuallyMatches(String, String) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertContentEventuallyMatches(Map<String, ?>, String, String) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertContentMatches(String, String) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertContentNotContainsText(String, String, String...) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertErrorContentContainsText(String, String, String...) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertErrorContentNotContainsText(String, String, String...) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertHasEvent() - Method in class org.apache.brooklyn.test.LogWatcher
 
assertHasEvent(Predicate<? super ILoggingEvent>) - Method in class org.apache.brooklyn.test.LogWatcher
 
assertHasEventEventually() - Method in class org.apache.brooklyn.test.LogWatcher
 
assertHasEventEventually(Predicate<? super ILoggingEvent>) - Method in class org.apache.brooklyn.test.LogWatcher
 
assertHealthyStatusCode(int) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertHttpStatusCodeEquals(String, int...) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertHttpStatusCodeEventuallyEquals(String, int) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertHttpStatusCodeEventuallyEquals(Map<String, ?>, String, int) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertNoFailures(String) - Method in class org.apache.brooklyn.test.WebAppMonitor
 
assertPortsAvailable(Map<String, Integer>) - Static method in class org.apache.brooklyn.test.NetworkingTestUtils
 
assertPortsAvailableEventually(Map<String, Integer>) - Static method in class org.apache.brooklyn.test.NetworkingTestUtils
 
assertPortsAvailableEventually(Map<String, Integer>, Duration) - Static method in class org.apache.brooklyn.test.NetworkingTestUtils
 
assertSuccessFraction(String, double) - Method in class org.apache.brooklyn.test.WebAppMonitor
 
assertUrlReachable(String) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
Asserts that gets back any "valid" response - i.e.
assertUrlUnreachable(String) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertUrlUnreachableEventually(String) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
assertUrlUnreachableEventually(Map<String, ?>, String) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 

C

clearEvents() - Method in class org.apache.brooklyn.test.LogWatcher
 
close() - Method in class org.apache.brooklyn.test.LogWatcher
 
closeQuietly(HttpURLConnection) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
Closes all streams of the connection, and disconnects it.
completionLatch - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
completionLatch(CountDownLatch) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
If non-null, the performance test will wait for this latch before stopping the timer.
completionLatchTimeout - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
completionLatchTimeout(Duration) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
The maximum length of time to wait for the PerformanceTestDescriptor.completionLatch(CountDownLatch), after executing the designated number of jobs.
connectToUrl(String) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
Connects to the given url and returns the connection.
consumeAndCloseQuietly(HttpURLConnection) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
Consumes the input stream entirely and then cleanly closes the connection.
containsException() - Static method in class org.apache.brooklyn.test.LogWatcher.EventPredicates
 
containsExceptionClassname(String) - Static method in class org.apache.brooklyn.test.LogWatcher.EventPredicates
 
containsExceptionMessage(String) - Static method in class org.apache.brooklyn.test.LogWatcher.EventPredicates
 
containsExceptionMessages(String...) - Static method in class org.apache.brooklyn.test.LogWatcher.EventPredicates
 
containsExceptionStackLine(Class<?>, String) - Static method in class org.apache.brooklyn.test.LogWatcher.EventPredicates
 
containsMessage(String) - Static method in class org.apache.brooklyn.test.LogWatcher.EventPredicates
 
containsMessages(String...) - Static method in class org.apache.brooklyn.test.LogWatcher.EventPredicates
 
cpuSampleFractions - Variable in class org.apache.brooklyn.test.performance.PerformanceTestResult
 
cpuTotalFraction - Variable in class org.apache.brooklyn.test.performance.PerformanceTestResult
 
create() - Static method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
create(String) - Static method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 

D

delayMillis(long) - Method in class org.apache.brooklyn.test.WebAppMonitor
 
DisableOnWindows - Annotation Type in org.apache.brooklyn.test
Used to indicate that a test should ne be executed on Windows.
DisableOnWindowsListener - Class in org.apache.brooklyn.test
Scans all tests annotated with DisableOnWindows and, on Windows, sets enabled=false if the current environment is Windows..
DisableOnWindowsListener() - Constructor for class org.apache.brooklyn.test.DisableOnWindowsListener
 
duration - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
duration(Duration) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
The length of time to repeatedly execute the job for, when measuring the performance.
duration - Variable in class org.apache.brooklyn.test.performance.PerformanceTestResult
 

E

EventPredicates() - Constructor for class org.apache.brooklyn.test.LogWatcher.EventPredicates
 
expectedResponseCode(int) - Method in class org.apache.brooklyn.test.WebAppMonitor
 

F

FilePersister - Class in org.apache.brooklyn.test.performance
 
FilePersister(File) - Constructor for class org.apache.brooklyn.test.performance.FilePersister
 

G

getAttempts() - Method in class org.apache.brooklyn.test.WebAppMonitor
 
getContent(String) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
getDelayMillis() - Method in class org.apache.brooklyn.test.WebAppMonitor
 
getErrorContent(String) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
getEvents() - Method in class org.apache.brooklyn.test.LogWatcher
 
getEvents(Predicate<? super ILoggingEvent>) - Method in class org.apache.brooklyn.test.LogWatcher
 
getFailures() - Method in class org.apache.brooklyn.test.WebAppMonitor
 
getHttpStatusCode(String) - Static method in class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 
getLastFailure() - Method in class org.apache.brooklyn.test.WebAppMonitor
result code (int) or exception
getLastStatus() - Method in class org.apache.brooklyn.test.WebAppMonitor
 
getLastTime() - Method in class org.apache.brooklyn.test.WebAppMonitor
 
getLastWasFailed() - Method in class org.apache.brooklyn.test.WebAppMonitor
 
getPower(long) - Method in class org.apache.brooklyn.test.performance.Histogram
 
getProblem() - Method in class org.apache.brooklyn.test.WebAppMonitor
 
getProcessCpuAverage() - Static method in class org.apache.brooklyn.test.performance.PerformanceTestUtils
Not very fine-grained so not very useful; use PerformanceTestUtils.getProcessCpuTime(Duration)
getProcessCpuTime() - Static method in class org.apache.brooklyn.test.performance.PerformanceTestUtils
 
getProcessCpuTime(Duration) - Static method in class org.apache.brooklyn.test.performance.PerformanceTestUtils
 
getSuccesses() - Method in class org.apache.brooklyn.test.WebAppMonitor
 
getUrl() - Method in class org.apache.brooklyn.test.WebAppMonitor
 

H

Histogram - Class in org.apache.brooklyn.test.performance
A simplistic histogram to store times in a number of buckets.
Histogram() - Constructor for class org.apache.brooklyn.test.performance.Histogram
 
histogram - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
histogram(boolean) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
Whether to collect a histogram of the individual job times.
histogram - Variable in class org.apache.brooklyn.test.performance.PerformanceTestResult
 
HttpTestUtils - Class in org.apache.brooklyn.test
Deprecated.
since 0.9.0. Prefer HttpAsserts which has no TestNG dependencies (or HttpTool for some utility methods).
HttpTestUtils() - Constructor for class org.apache.brooklyn.test.HttpTestUtils
Deprecated.
 

I

isResponseOkay(Object) - Method in class org.apache.brooklyn.test.WebAppMonitor
 
iterations - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
iterations(int) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
iterations - Variable in class org.apache.brooklyn.test.performance.PerformanceTestResult
 

J

job - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
job(Runnable) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
The job to be repeatedly executed.
job(Callable<?>) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor

L

levelGeaterOrEqual(Level) - Static method in class org.apache.brooklyn.test.LogWatcher.EventPredicates
 
logFailures(Logger) - Method in class org.apache.brooklyn.test.WebAppMonitor
 
logInterval - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
logInterval(Duration) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
How often to log progress (e.g.
LogWatcher - Class in org.apache.brooklyn.test
Testing utility that registers an appender to watch a given logback logger, and records events that match a given predicate.
LogWatcher(String, Level, Predicate<? super ILoggingEvent>) - Constructor for class org.apache.brooklyn.test.LogWatcher
 
LogWatcher(Iterable<String>, Level, Predicate<? super ILoggingEvent>) - Constructor for class org.apache.brooklyn.test.LogWatcher
 
LogWatcher.EventPredicates - Class in org.apache.brooklyn.test
 

M

matchingRegexes(String...) - Static method in class org.apache.brooklyn.test.LogWatcher.EventPredicates
 
matchPredicate(BiPredicate<String, String>, String...) - Static method in class org.apache.brooklyn.test.LogWatcher.EventPredicates
 
MeasurementResultPersister - Interface in org.apache.brooklyn.test.performance
 
minAcceptablePerSecond - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
minAcceptablePerSecond(Double) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
If non-null, the measured jobs-per-second will be compared against this number.
minAcceptablePerSecond - Variable in class org.apache.brooklyn.test.performance.PerformanceTestResult
 

N

NetworkingTestUtils - Class in org.apache.brooklyn.test
 
NetworkingTestUtils() - Constructor for class org.apache.brooklyn.test.NetworkingTestUtils
 
numConcurrentJobs - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
numConcurrentJobs(int) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
The number of concurrent jobs to execute.

O

onFailure(Object) - Method in class org.apache.brooklyn.test.WebAppMonitor
 
org.apache.brooklyn.test - package org.apache.brooklyn.test
 
org.apache.brooklyn.test.performance - package org.apache.brooklyn.test.performance
 

P

PerformanceMeasurer - Class in org.apache.brooklyn.test.performance
For running simplistic performance tests, to measure the number of operations per second.
PerformanceMeasurer() - Constructor for class org.apache.brooklyn.test.performance.PerformanceMeasurer
 
PerformanceTestDescriptor - Class in org.apache.brooklyn.test.performance
For building up a description of what to measure.
PerformanceTestDescriptor() - Constructor for class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
PerformanceTestResult - Class in org.apache.brooklyn.test.performance
The results of a performance test.
PerformanceTestResult() - Constructor for class org.apache.brooklyn.test.performance.PerformanceTestResult
 
PerformanceTestUtils - Class in org.apache.brooklyn.test.performance
 
PerformanceTestUtils() - Constructor for class org.apache.brooklyn.test.performance.PerformanceTestUtils
 
persist(Date, PerformanceTestDescriptor, PerformanceTestResult) - Method in class org.apache.brooklyn.test.performance.FilePersister
 
persist(Date, PerformanceTestDescriptor, PerformanceTestResult) - Method in interface org.apache.brooklyn.test.performance.MeasurementResultPersister
 
persister - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
postJob - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
postJob(Runnable) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
To be run each time after the job (pausing the timer while this is run).
postWarmup - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
postWarmup(Runnable) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
To be run once, after the warmup.
preAttempt() - Method in class org.apache.brooklyn.test.WebAppMonitor
return false to skip a run
preJob - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
preJob(Runnable) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
To be run each time before the job (pausing the timer while this is run).
printEvents() - Method in class org.apache.brooklyn.test.LogWatcher
 
printEvents(PrintStream, Iterable<? extends ILoggingEvent>) - Method in class org.apache.brooklyn.test.LogWatcher
 
printEventsToString() - Method in class org.apache.brooklyn.test.LogWatcher
 
printEventsToString(Iterable<? extends ILoggingEvent>) - Method in class org.apache.brooklyn.test.LogWatcher
 

R

randomPortAround(int) - Static method in class org.apache.brooklyn.test.NetworkingTestUtils
Returns a port not in use somewhere around the seed; this is not a foolproof way to prevent collisions, but strikes a good balance of traceability (different callers will use different ranges) and collision avoidance, esp when combined with Localhost...obtain(thisResult+"+");.
ratePerSecond - Variable in class org.apache.brooklyn.test.performance.PerformanceTestResult
 
resetCounts() - Method in class org.apache.brooklyn.test.WebAppMonitor
 
run(PerformanceTestDescriptor) - Static method in class org.apache.brooklyn.test.performance.PerformanceMeasurer
Runs a performance test.
run() - Method in class org.apache.brooklyn.test.WebAppMonitor
 
runConcurrentAndBlock(ListeningExecutorService, Runnable, int) - Static method in class org.apache.brooklyn.test.performance.PerformanceMeasurer
 

S

sampleCpuInterval - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
sampleCpuInterval(Duration) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
How often to calculate + record the fraction of CPU being used.
sampleProcessCpuTime(Duration, String) - Static method in class org.apache.brooklyn.test.performance.PerformanceTestUtils
Creates a background thread that will log.info the CPU fraction usage repeatedly, sampling at the given period.
sampleProcessCpuTime(Duration, String, List<Double>) - Static method in class org.apache.brooklyn.test.performance.PerformanceTestUtils
 
seal() - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
sealed - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
setDelayMillis(long) - Method in class org.apache.brooklyn.test.WebAppMonitor
 
setUrl(String) - Method in class org.apache.brooklyn.test.WebAppMonitor
 
start() - Method in class org.apache.brooklyn.test.LogWatcher
Deprecated.
since 1.0.0 called by constructor, will go private as no need for anyone else to call
summary - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
summary(String) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
summary - Variable in class org.apache.brooklyn.test.performance.PerformanceTestResult
 

T

terminate() - Method in class org.apache.brooklyn.test.WebAppMonitor
 
toString() - Method in class org.apache.brooklyn.test.performance.Histogram
 
toString() - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
toString() - Method in class org.apache.brooklyn.test.performance.PerformanceTestResult
 
transform(ITestAnnotation, Class, Constructor, Method) - Method in class org.apache.brooklyn.test.DisableOnWindowsListener
 

U

url(String) - Method in class org.apache.brooklyn.test.WebAppMonitor
 

W

waitForAtLeastOneAttempt() - Method in class org.apache.brooklyn.test.WebAppMonitor
 
waitForAtLeastOneAttempt(Duration) - Method in class org.apache.brooklyn.test.WebAppMonitor
 
warmup - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
warmup(Duration) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
The length of time to repeatedly execute the job for, before doing the proper performance test.
warmup - Variable in class org.apache.brooklyn.test.performance.PerformanceTestResult
 
warmupIterations - Variable in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
 
warmupIterations(int) - Method in class org.apache.brooklyn.test.performance.PerformanceTestDescriptor
warmupIterations - Variable in class org.apache.brooklyn.test.performance.PerformanceTestResult
 
WebAppMonitor - Class in org.apache.brooklyn.test
Repeatedly polls a given URL, to check if it is always available.
WebAppMonitor(String) - Constructor for class org.apache.brooklyn.test.WebAppMonitor
 
WebAppMonitor() - Constructor for class org.apache.brooklyn.test.WebAppMonitor
 
A C D E F G H I J L M N O P R S T U W 
Skip navigation links

Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.