🧭 Exploratory Testing Charter: Host Registration Validation via API Integration
🎯 Purpose
Explore the API integration to:
Validate host registration details (registration number, address) with the external registry.
Verify API responses for address mismatches, status updates, and bulk operations.
Handle errors and ensure accurate messaging when the registry is unavailable.
🔍 Key Areas to Explore
1️⃣ Real-Time Registration Validation via API
Trigger: Registration details are sent to the registry API during creation, publishing, or updates.
Expected Outcome:
If details match, the system confirms the registration is valid.
If mismatched, the system returns an address mismatch error.
🌟 Scenarios:
Scenario 1: Valid Registration Details Given the platform sends the registration number and address details to the registry, When the provided details match the registry’s records, Then the system returns a confirmation of the valid registration along with the status and registration number.
Scenario 2: Address Mismatch Given the platform sends the registration number and address details to the registry, When the registry detects an address mismatch (e.g., unit number, street number, or postal code do not match), Then the system returns a failure message indicating the mismatch.
2️⃣ Handling API Errors and Unavailable Registry
Trigger: API calls may fail or the external registry may become unavailable.
Expected Outcome:
Users receive informative error messages if the API call fails or the registry is offline.
🌟 Scenarios:
Scenario 3: API Call Fails or Registry Unavailable Given the platform attempts to validate a registration, When the registry is unavailable or the API call fails, Then the system displays an error message informing users that the validation could not be completed.
3️⃣ Bulk Daily API Verification
Trigger: Platform sends a bulk request for multiple listings.
Expected Outcome:
The registry processes multiple validation requests and returns results to a secure location for the platform to retrieve.
🌟 Scenarios:
Scenario 4: Bulk Validation Request Given the platform sends a bulk request with multiple listings, When the registry processes the request, Then the platform receives a list of validation results at the designated secure location.
🔑 Business Rules Summary
API Request Structure:
Real-time validation requires:
Registration number
Unit number (if applicable)
Street number
Postal code
Bulk validation requests include multiple listings and corresponding registration details.
API Responses:
Code 404: Error (e.g., registry unavailable).
Code 1218: Address mismatch.
Status: ACTIVE, suspended, cancelled, or expired.
Error Handling:
If registration fails due to an unavailable registry or API failure, display error messages to users.
🛠️ Exploration Checklist
[ ] Confirm that real-time API validation works with accurate status updates.
[ ] Verify error handling when the API fails or the registry is offline.
[ ] Test address mismatch responses and validate the error code (1218).
[ ] Ensure bulk requests are processed correctly, with results stored in a secure location.
[ ] Validate that informative messages are displayed to users during failures or mismatches.
🌐 Accessibility Scenarios
Keyboard Navigation
Given a keyboard user interacts with the API validation screens,
When they navigate through inputs and messages,
Then all elements should be accessible via Tab and Enter/Space keys.
Screen Reader Support
Given a screen reader user interacts with error messages,
When validation fails or an address mismatch occurs,
Then messages should be read aloud accurately.
High Contrast Mode
Given a user with low vision enables high contrast mode,
Then all API response messages and forms remain readable and functional.
🚀 Goal
Ensure registration validations are correctly processed with accurate API responses, robust error handling, and compliance with registry requirements.
🧭 Exploratory Testing Charter: Host Registration Validation via API Integration
🎯 Purpose
Explore the API integration to:
🔍 Key Areas to Explore
1️⃣ Real-Time Registration Validation via API
🌟 Scenarios:
Scenario 1: Valid Registration Details
Given the platform sends the registration number and address details to the registry,
When the provided details match the registry’s records,
Then the system returns a confirmation of the valid registration along with the status and registration number.
Scenario 2: Address Mismatch
Given the platform sends the registration number and address details to the registry,
When the registry detects an address mismatch (e.g., unit number, street number, or postal code do not match),
Then the system returns a failure message indicating the mismatch.
2️⃣ Handling API Errors and Unavailable Registry
🌟 Scenarios:
Given the platform attempts to validate a registration,
When the registry is unavailable or the API call fails,
Then the system displays an error message informing users that the validation could not be completed.
3️⃣ Bulk Daily API Verification
🌟 Scenarios:
Given the platform sends a bulk request with multiple listings,
When the registry processes the request,
Then the platform receives a list of validation results at the designated secure location.
🔑 Business Rules Summary
API Request Structure:
API Responses:
Error Handling:
🛠️ Exploration Checklist
🌐 Accessibility Scenarios
Keyboard Navigation
Screen Reader Support
High Contrast Mode
🚀 Goal
Ensure registration validations are correctly processed with accurate API responses, robust error handling, and compliance with registry requirements.