get_test_result
Retrieve completed network performance test results from perfSONAR to analyze throughput, latency, and packet loss measurements.
Instructions
Get result of a completed pScheduler test.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runUrl | Yes | Run URL from test scheduling |
Implementation Reference
- The 'get_test_result' tool implementation in 'fastmcp_server.py' which uses the 'pscheduler_client' to fetch test results.
async def get_test_result(runUrl: str) -> str: """Get result of a completed pScheduler test. Args: runUrl: Run URL from test scheduling response Returns: JSON string with test results, or message if test not completed yet """ result = await pscheduler_client.get_result(runUrl) if result: return json.dumps(result.model_dump(), indent=2) else: return json.dumps({"message": "Test not completed yet"})