MockServer
Dashboard
Expectations
Logs
Templates
Donate
Connected
Create New Expectation
Back to List
Basic Settings
Expectation ID
(optional)
Priority
Request Matching
Method
Any
GET
POST
PUT
DELETE
PATCH
HEAD
OPTIONS
Path
Request Headers
Add Header
Query Parameters
Add Parameter
Body Match Type
Exact Match
Regex
Request Body
(optional)
Action Type
Response
Return a mock response
Forward
Forward to another server
Error
Simulate an error
Response Configuration
Status Code
Reason Phrase
Content Type
application/json
text/plain
text/html
application/xml
Custom (set in headers)
Response Headers
Add Header
Response Body
Response Delay (ms)
Forward Configuration
Scheme
HTTP
HTTPS
Host
Port
Error Configuration
Drop Connection
Immediately close the connection without sending a response.
Error Delay (ms)
Times & TTL
Remaining Times
Leave empty for unlimited matches.
Time To Live (ms)
Leave empty for no expiration.
Cancel
Create Expectation