You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Banking Examples**: Use the pre-configured banking examples in `./examples/` for testing
233
233
-**Authentication Testing**: Set environment variables for token passthrough testing
234
234
-**Mode Selection**: Choose stdio for IDE integration, HTTP for web APIs
235
+
-**Testing**: ⚠️ **Stop `sample-banking-api` server before running tests** - tests expect specific error conditions
235
236
236
237
## Usage Modes
237
238
@@ -800,8 +801,14 @@ mcp-openapi-server --verbose
800
801
801
802
The project includes comprehensive unit and integration tests:
802
803
804
+
⚠️ **Important Testing Requirement**:
805
+
**Stop the `sample-banking-api` server before running tests**. The integration tests will fail if the banking API server is running because the tests expect specific error conditions that get masked when the real API responds.
806
+
803
807
```bash
804
-
# Run all tests
808
+
# FIRST: Stop the sample-banking-api if it's running
809
+
# (In the sample-banking-api directory: Ctrl+C or kill the process)
Copy file name to clipboardExpand all lines: mcp-test-client/test-data/prompts.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
"id": "fraud_investigation",
5
5
"name": "Fraud Investigation - Power Company Payment",
6
6
"description": "Investigate a high-value utility payment using real sample data",
7
-
"userPrompt": "I need to investigate a $750 payment made to 'Power Company Australia' (payee_9n8m7l6k5j4i3h2g) from account 9876543210. Can you help me analyze this for potential fraud using the fraud analysis tools?"
7
+
"userPrompt": "I need to investigate a $750 payment made to 'Power Company Australia' (payee_9n8m7l6k5j4i3h2g) from account 9876543210for potential fraud."
0 commit comments