alicloud-network-alb-test

Validate Alibaba Cloud ALB skill via automated Python smoke tests.

396|34|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/cinience/alicloud-skills --skill alicloud-network-alb-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alicloud-network-alb-test
Source: https://github.com/cinience/alicloud-skills/tree/main/tests/network/slb/alicloud-network-alb-test
Command: npx skills add https://github.com/cinience/alicloud-skills --skill alicloud-network-alb-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires alibabacloud_alb20200616, alibabacloud_tea_openapi, alibabacloud_credentials, and includes scripts (resource) components.

What problem does it solve?

This skill provides a comprehensive suite of tests to ensure the Alibaba Cloud Application Load Balancer (ALB) skill functions correctly, from basic authentication to complex instance and listener operations.

Core Features & Use Cases

  • Script Compilation Check: Verifies that all Python scripts within the skill can be compiled without errors.
  • SDK Authentication Validation: Confirms that the necessary Alibaba Cloud SDKs are importable and can be authenticated.
  • Read-Only Operations: Tests list operations for ALB instances, server groups, and ACLs to ensure they return valid (even if empty) data.
  • Instance-Specific Tests: Validates detailed status retrieval, listener listing, rule inspection, and health check status for a given ALB instance.
  • Use Case: Before deploying changes to the ALB skill, run this test suite to catch potential regressions in script functionality, SDK integration, or core ALB resource management.

Quick Start

Run the smoke test for the Alibaba Cloud ALB skill by executing python tests/network/slb/alicloud-network-alb-test/scripts/smoke_test_alb.py --region cn-hangzhou.

Frequently Asked Questions about alicloud-network-alb-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a smoke test for Alibaba Cloud ALB SDK authentication and read-only API calls?

To run an ALB smoke test, execute the Python script `smoke_test_alb.py` with the `--region` parameter, which validates SDK authentication, script compilation, and read-only API calls for your specified Alibaba Cloud region.

What is covered in automated testing for Alibaba Cloud Application Load Balancer instances?

Automated ALB testing covers script compilation, SDK authentication, read-only list operations for instances and server groups, and instance-specific operations like status checks, listener management, and health check status retrieval.

Do I need specific Alibaba Cloud SDK dependencies to test ALB listener management functionality?

Yes, testing ALB listener management requires the `alibabacloud_alb20200616`, `alibabacloud_tea_openapi`, and `alibabacloud_credentials` dependencies to validate SDK authentication and ensure instance-specific operations function correctly.

What's the best way to catch regressions when managing Alibaba Cloud ALB resources?

The best way to catch ALB resource management regressions is running an automated test suite before deploying changes, validating script functionality, SDK integration, and core ALB resource operations like health checks and rule inspection.

Why does my Alibaba Cloud ALB list operation test return empty data?

ALB list operation tests for instances, server groups, and ACLs are designed to ensure they return valid data, meaning an empty response indicates a successful API call with no existing resources in your specified region.

Can I validate ALB health check status and rule inspection using Python scripts?

Yes, you can validate ALB health check status and rule inspection by running Python scripts that test instance-specific operations, ensuring your skill correctly retrieves detailed status and listener configurations for a given ALB instance.