mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-14 14:22:02 +01:00
LogEntries
@@ -65,9 +65,9 @@ server
|
||||
|
||||
## Verify interactions
|
||||
The server keeps a log of the received requests. You can use this log to verify the interactions that have been done with the server during a test.
|
||||
To get all the request received by the server, you just need to read property *RequestLogs*:
|
||||
To get all the request received by the server, you just need to read property *LogEntries*:
|
||||
```csharp
|
||||
var allRequests = server.RequestLogs;
|
||||
var logEntries = server.LogEntries;
|
||||
```
|
||||
If you need to be more specific on the requests that have been send to the server, you can use the very same fluent API that allows to define routes:
|
||||
```csharp
|
||||
|
||||
Reference in New Issue
Block a user