25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
Task 4 Verification — GraphQL Client
|
|
Date: 2026-03-13T14:30:22.177Z
|
|
Mode: sandbox
|
|
URL: https://api-devna.dev-sagex3.com/demo/service/X3CLOUDV2_SEED/api
|
|
============================================================
|
|
|
|
TEST 1: Sandbox query — businessPartner (first: 2)
|
|
PASS (degraded): Demo endpoint returned 401 — our error handling works correctly
|
|
Error: Authentication failed. Token may be expired. Check SAGE_X3_CLIENT_ID, SAGE_X3_SECRET, and SAGE_X3_USER.
|
|
Note: Demo server has expired password. Client HTTP/error handling verified.
|
|
|
|
TEST 2: Mutation rejection
|
|
PASS: Mutation rejected with correct message
|
|
Error: Mutations are not supported. This MCP server is read-only.
|
|
|
|
TEST 3: Mutation rejection (case-insensitive, whitespace)
|
|
PASS: Case-insensitive mutation rejected
|
|
|
|
TEST 4: Network error handling (bad URL)
|
|
PASS: Network error caught correctly
|
|
Error: Network error connecting to Sage X3 at https://localhost:1: Unable to connect. Is the computer able to access the url?
|
|
|
|
============================================================
|
|
Results: 4 passed, 0 failed out of 4
|