Created
August 1, 2012 20:11
-
-
Save jjviana/3230291 to your computer and use it in GitHub Desktop.
Samplr - Request Manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RequestManager requestManager=new RequestManager() | |
.withRequestProcessor(new ThreadSamplingRequestProcessor() | |
.withRequestLengthSamplingThreshold(60000L)) | |
.withRequestProcessor(new RequestRecorderRequestProcessor()) | |
.withResultsProcessor(new FileResultsArchiver() | |
.withOutputDirectory(new File("/home/glassfish/samplr-output"))) | |
.withRequestTimeout(300000L); | |
requestManager.start(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment