| Issue 24: | New Feature: Request/Response log | |
| 3 people starred this issue and may be notified of changes. | Back to list |
Sometimes when doing a testing / troubleshooting session, it can be very helpful to see multiple requests and their responses. It'd be *very* helpful if there was a Request Log window/pane/tab/drawer/whatever which allowed one to browse each request and response from the current session. Once we have that, it'd also be great to have features to save the log, and clear the log. |
|
,
Mar 03, 2008
(No comment was entered for this change.)
Labels: 3.0
|
|
,
Mar 24, 2008
Steps towards implementing this feature: 1. RequestBean -- implement toString() -- this information will be shown to the user in the list of request/response. 2. The storage format needs to be defined. My preferred format is MimeMultipart (http://java.sun.com/products/javamail/javadocs/javax/mail/internet/MimeMultipart.html). Each request-response will be stored separated by a boundary marker. 3. UI implementation.
Status: Accepted
Owner: subwiz |
|
,
Mar 27, 2008
subwiz, I think we just need to record the stream. We add a new log tab in request and response, and display all the content. just like the attachment? |
|
,
Mar 27, 2008
I don't think this as a tab in request and response. This has to be a separate window--which records each and every request made. This window should be accessible from Tools>Session. This window will have a JTable listing all the request/response made till now (from the time of opening Session window). Each entry in the JTable would be toString() representation of RequestBean. Clicking on any of the entry will load the corresponding request and response in RESTClient window. Finally this sequence should be savable, so that it can be opened later for execution. I think this would be more useful as we can see a series of executions one by one. This is what I have envisioned. And the only task I was able to finish till date was the toString() portion :-) |
|
,
Apr 02, 2008
One of the options for saving the sequence would be to use the MIME format. We could use: http://james.apache.org/mime4j/ |
|
,
Jul 02, 2008
Me moved to my first employer after series of unsatisfying jobs. Now full of energy, I have started developing this feature. |
|
,
Mar 19, 2009
http://hc.apache.org/httpcomponents-client/logging.html We can write a log appender which captures all the logs and displays in a window. |
|
|
|