seungwookj / sandrop

Automatically exported from code.google.com/p/sandrop
0 stars 0 forks source link

Captured data accessible from browser; acting as web server, providing jquery gui to examine data #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Implement to act as simple web server, providing access to captured data.

Original issue reported on code.google.com by supp.san...@gmail.com on 9 Aug 2012 at 3:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Used java webserver. No gui so far. Just raw files.
http://en.wikipedia.org/wiki/NanoHTTPD

Original comment by supp.san...@gmail.com on 21 Aug 2012 at 1:55

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
User can specify where is root directory for web gui.
Files are fetched and SandroProxy can respond with 304 status if Etag, 
If-Modified-Since headers are the same.

For example making a clone of git sources and change in settings that root dir 
points to that changed url.

Currently active root dir is :
http://sandrop.googlecode.com/git-history/web_interface_1_0/projects/SandroProxy
Web/web-gui/

Currently active first page :
http://sandrop.googlecode.com/git-history/web_interface_1_0/projects/SandroProxy
Web/web-gui/index.html

But can be any url.

So far simple data retrieval actions are implemented:

http://<hostname>:<port>/data/request/list.json -returns list of all captured 
requests
http://<hostname>:<port>/data/request/headers.json?id=<request_id> -> returns 
request headers
http://<hostname>:<port>/data/request/content.json?id=<request_id> -> returns 
request content

http://<hostname>:<port>/data/response/headers.json?id=<response_id> -> returns 
response headers
http://<hostname>:<port>/data/response/content.json?id=<response_id> -> returns 
response content

More actions will be implemented and also gui will be upgraded.

Original comment by supp.san...@gmail.com on 25 Aug 2012 at 9:40

GoogleCodeExporter commented 8 years ago
Added new actions and new version of web gui from 

Currently active root dir is :
http://sandrop.googlecode.com/git-history/web_interface_1_1/projects/SandroProxy
Web/web-gui/

Currently active first page :
http://sandrop.googlecode.com/git-history/web_interface_1_1/projects/SandroProxy
Web/web-gui/index.html

/data/conversation/list.json list of all captured requests/responses and basic 
metadata 

/action/proxy/start start proxy

/action/proxy/stop stop proxy 

Original comment by supp.san...@gmail.com on 3 Sep 2012 at 7:47

GoogleCodeExporter commented 8 years ago

Original comment by supp.san...@gmail.com on 29 Oct 2012 at 6:48