Dump HTTP requests in order to replay them

27 views
Skip to first unread message

sevajol...@gmail.com

unread,
Nov 15, 2016, 10:28:19 AM11/15/16
to Discuss WsgiDAV
Hello,

I'm using wsgidav and i need to dumps HTTP requests in order to replay them in automated tests.
Does exist an configuration like a request hanlder, or request wrapper what i can configure ? My goal is execute code at each request, read cherrypy.wsgiserver.wsgiserver3.HTTPRequest content and record them.

Regards,
Bastien.

mar10

unread,
Nov 16, 2016, 3:23:53 PM11/16/16
to Discuss WsgiDAV, sevajol...@gmail.com
Hi,

probably, the easiest solution would be to write a small middleware, similar to the DebugFilter, and add it to the middleware stack
This could even generate the playback code for your target system.

Cheers
Martin. 

sevajol...@gmail.com

unread,
Nov 17, 2016, 10:16:28 AM11/17/16
to Discuss WsgiDAV, sevajol...@gmail.com
Hi,

Thank's ! i will follow this way.

Regards,
Bastien.
Reply all
Reply to author
Forward
0 new messages