Skip to content

Instantly share code, notes, and snippets.

Juliano Viana jjviana

Block or report user

Report or block jjviana

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View request.txt
Request: 0
Start Time: Thu Aug 02 09:40:24 BRT 2012
End time: Thu Aug 02 09:41:07 BRT 2012
Thread id: 15
Sampling start time: Thu Aug 02 09:40:30 BRT 2012
Sampling end time: Thu Aug 02 09:41:07 BRT 2012
# Contents of Request.toString() goes here
jjviana /
Created Aug 2, 2012
Request boundary example
public void processRequest(Integer param1,String param2) {
MyRequest request=new MyRequest(param1, param2);
// Process the request as usual...
jjviana /
Created Aug 2, 2012
Samplr custom Request
import com.logicstyle.samplr.Request;
public class MyRequest extends Request {
private Integer requestParam1;
private String requestParam2;
public MyRequest(Integer requestParam1, String requestParam2) {
jjviana / gist:3230291
Created Aug 1, 2012
Samplr - Request Manager
View gist:3230291
RequestManager requestManager=new RequestManager()
.withRequestProcessor(new ThreadSamplingRequestProcessor()
.withRequestProcessor(new RequestRecorderRequestProcessor())
.withResultsProcessor(new FileResultsArchiver()
.withOutputDirectory(new File("/home/glassfish/samplr-output")))
You can’t perform that action at this time.