Install
openclaw skills install aliyun-pts-manageUse when managing Alibaba Cloud Performance Testing Service (PTS) via OpenAPI/SDK, including scene lifecycle operations, test start/stop control, report retrieval, and metadata-driven API discovery before production changes.
openclaw skills install aliyun-pts-manageCategory: service
Use Alibaba Cloud PTS OpenAPI to support:
python3 -m venv .venv
. .venv/bin/activate
python -m pip install -U alibabacloud_pts20201020 alibabacloud_tea_openapi
ALICLOUD_ACCESS_KEY_IDALICLOUD_ACCESS_KEY_SECRETALICLOUD_REGION_IDALICLOUD_ACCESS_KEY_ID / ALICLOUD_ACCESS_KEY_SECRET / ALICLOUD_REGION_ID~/.alibabacloud/credentialsIf region/environment is unclear, confirm with user before mutating operations.
List* / Get* / Describe*).output/aliyun-pts-manage/.PTS2020-10-20https://api.aliyun.com/meta/v1/products/PTS/versions/2020-10-20/api-docs.jsonpython skills/observability/pts/aliyun-pts-manage/scripts/list_openapi_meta_apis.py
Optional arguments:
python skills/observability/pts/aliyun-pts-manage/scripts/list_openapi_meta_apis.py \
--product-code PTS \
--version 2020-10-20 \
--output-dir output/aliyun-pts-manage
List scenes (read-only):
python skills/observability/pts/aliyun-pts-manage/scripts/list_pts_scenes.py \
--region cn-hangzhou \
--page-number 1 \
--page-size 10 \
--output output/aliyun-pts-manage/scenes.txt
Start one scene (mutating):
python skills/observability/pts/aliyun-pts-manage/scripts/start_pts_scene.py \
--region cn-hangzhou \
--scene-id <scene-id> \
--wait \
--output output/aliyun-pts-manage/start-result.json
Stop one scene (mutating):
python skills/observability/pts/aliyun-pts-manage/scripts/stop_pts_scene.py \
--region cn-hangzhou \
--scene-id <scene-id> \
--wait \
--output output/aliyun-pts-manage/stop-result.json
ListPtsScene, GetPtsScene, ListOpenJMeterScenes, GetOpenJMeterSceneCreatePtsScene, SavePtsScene, ModifyPtsScene, DeletePtsScene, DeletePtsScenesStartPtsScene, StopPtsScene, StartTestingJMeterScene, StopTestingJMeterSceneStartDebugPtsScene, StopDebugPtsScene, StartDebuggingJMeterScene, StopDebuggingJMeterSceneListPtsReports, GetPtsReportDetails, GetPtsSceneRunningData, GetPtsSceneRunningStatusSee references/api_quick_map.md for grouped API lists.
scripts/list_openapi_meta_apis.py: fetch metadata and generate API inventory files.scripts/list_pts_scenes.py: list PTS scenes with pagination.scripts/start_pts_scene.py: start a scene and optionally poll running status.scripts/stop_pts_scene.py: stop a scene and optionally poll until non-running.Write generated files and execution evidence to:
output/aliyun-pts-manage/
mkdir -p output/aliyun-pts-manage
for f in skills/observability/pts/aliyun-pts-manage/scripts/*.py; do
python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/aliyun-pts-manage/validate.txt
Pass criteria: command exits 0 and output/aliyun-pts-manage/validate.txt is generated.
output/aliyun-pts-manage/.references/sources.mdreferences/api_quick_map.mdreferences/templates.md