mock-server / mockserver

MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding).
http://mock-server.com
Apache License 2.0
4.57k stars 1.07k forks source link

Recorded requests timestamp #153

Closed wildcatgerry closed 9 years ago

wildcatgerry commented 9 years ago

Please timestamp the requests in a comment instead of just raw text so the whole file can be copy-pasted.

// 2015-07-01 18:04:07,027 
    new MockServerClient("localhost", 1080)
    .when(
jamesdbloom commented 9 years ago

I'm not sure what you mean can you explain more...

wildcatgerry commented 9 years ago

In the mockserver_request.log all the requests are time stamped.

2015-07-01 18:04:07,027 
    new MockServerClient("localhost", 1080)
    .when(    ...

The file has many requests which mix java and raw text. It would be nice it the whole document was just java source.

// 2015-07-01 18:04:07,027 
    new MockServerClient("localhost", 1080)
    .when( ....
jamesdbloom commented 9 years ago

I have now fixed this, so closing issue, its now in the SNAPSHOT and it'll be in the next RELEASE version.

jamesdbloom commented 9 years ago

By the way I dropped the time stamp as it was the time that the log entry was written and no the time the request was received so it seemed pointless.

wildcatgerry commented 9 years ago

Thank you