Skip to content

Instantly share code, notes, and snippets.

@jjviana
Created August 1, 2012 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjviana/3230291 to your computer and use it in GitHub Desktop.
Save jjviana/3230291 to your computer and use it in GitHub Desktop.
Samplr - Request Manager
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