Loading...
Loading...
Use 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.
npx skill4agent add cinience/alicloud-skills aliyun-pts-managepython3 -m venv .venv
. .venv/bin/activate
python -m pip install -U alibabacloud_pts20201020 alibabacloud_tea_openapiALICLOUD_ACCESS_KEY_IDALICLOUD_ACCESS_KEY_SECRETALICLOUD_REGION_IDALICLOUD_ACCESS_KEY_IDALICLOUD_ACCESS_KEY_SECRETALICLOUD_REGION_ID~/.alibabacloud/credentialsList*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.pypython skills/observability/pts/aliyun-pts-manage/scripts/list_openapi_meta_apis.py \
--product-code PTS \
--version 2020-10-20 \
--output-dir output/aliyun-pts-managepython 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.txtpython 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.jsonpython 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.jsonListPtsSceneGetPtsSceneListOpenJMeterScenesGetOpenJMeterSceneCreatePtsSceneSavePtsSceneModifyPtsSceneDeletePtsSceneDeletePtsScenesStartPtsSceneStopPtsSceneStartTestingJMeterSceneStopTestingJMeterSceneStartDebugPtsSceneStopDebugPtsSceneStartDebuggingJMeterSceneStopDebuggingJMeterSceneListPtsReportsGetPtsReportDetailsGetPtsSceneRunningDataGetPtsSceneRunningStatusreferences/api_quick_map.mdscripts/list_openapi_meta_apis.pyscripts/list_pts_scenes.pyscripts/start_pts_scene.pyscripts/stop_pts_scene.pyoutput/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.txtoutput/aliyun-pts-manage/validate.txtoutput/aliyun-pts-manage/references/sources.mdreferences/api_quick_map.mdreferences/templates.md