✅
Webhooks and Real-time Testing Suite
/app/tests/webhooks-realtime-test.yaml
high
7 Steps
Duration: 15ms
Success Rate: 100%
✅
Successful Steps
7
100% success rate
❌
Failed Steps
0
0% of total
⏭️
Skipped Steps
0
0% of total
🔗
HTTP Requests
7
100% requests
🔄
Iterações
0
0 steps com iterações
📊 Execution Timeline
| # | Status | Step Name | Type | Duration | Started At | Details |
|---|---|---|---|---|---|---|
| 1 | ✅ | Register webhook endpoint POST /post | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 2 | ✅ | Simulate webhook trigger event POST /post | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 3 | ✅ | Test webhook delivery confirmation GET /get | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 4 | ✅ | Test retry mechanism for failed webhooks POST /status/500 | request | 1ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 5 | ✅ | Test webhook signature validation POST /post | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 6 | ✅ | Test real-time event streaming simulation POST /post | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 7 | ✅ | Validate webhook system health GET /get | request | 1ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
🌐 HTTP Requests Debug Info
✅
Register webhook endpoint
Step #1
2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -d '{"webhook_config":{"id":"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d","url":"http://httpbin/post","events":["user.created","user.updated","payment.completed"],"secret":"z","active":true}}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/jsonRequest Body
{
"webhook_config": {
"id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d",
"url": "http://httpbin/post",
"events": [
"user.created",
"user.updated",
"payment.completed"
],
"secret": "z",
"active": true
}
}📥 Response
Status Code: 200
Duration: 2ms
Size: 733 bytes
Response Headers
server: gunicorn/19.9.0
date: Sun, 19 Oct 2025 10:28:37 GMT
connection: keep-alive
content-type: application/json
content-length: 919
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"webhook_config\":{\"id\":\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\",\"url\":\"http://httpbin/post\",\"events\":[\"user.created\",\"user.updated\",\"payment.completed\"],\"secret\":\"z\",\"active\":true}}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "188",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1"
},
"json": {
"webhook_config": {
"active": true,
"events": [
"user.created",
"user.updated",
"payment.completed"
],
"id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d",
"secret": "z",
"url": "http://httpbin/post"
}
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
2
assertions
✅
Passed
2
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.json.webhook_config.active.equals
PASSED
✓ Match
Condição
body.json.webhook_config.active.equals equals true
Assertion passou conforme esperado
Valor recebido: true
Captured Variables
{
"webhook_secret": "z",
"registered_webhook_id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d"
}Available Variables
{
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
} ✅
Simulate webhook trigger event
Step #2
2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Event-Type: user.created' -H 'X-Webhook-ID: webhook-466629e0-e45c-4b93-bda9-e2c90241a59d' -d '{"event":{"type":"user.created","timestamp":"2025-10-18T12:28:16.627Z","data":{"user_id":"31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e","email":"Briana.Ryan@hotmail.com","name":"Margaret Berge"}},"metadata":{"webhook_id":"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d","delivery_attempt":1,"signature":"sha256=z"}}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Event-Type: user.created
X-Webhook-ID: webhook-466629e0-e45c-4b93-bda9-e2c90241a59dRequest Body
{
"event": {
"type": "user.created",
"timestamp": "2025-10-18T12:28:16.627Z",
"data": {
"user_id": "31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e",
"email": "Briana.Ryan@hotmail.com",
"name": "Margaret Berge"
}
},
"metadata": {
"webhook_id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d",
"delivery_attempt": 1,
"signature": "sha256=z"
}
}📥 Response
Status Code: 200
Duration: 2ms
Size: 1071 bytes
Response Headers
server: gunicorn/19.9.0
date: Sun, 19 Oct 2025 10:28:37 GMT
connection: keep-alive
content-type: application/json
content-length: 1294
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"event\":{\"type\":\"user.created\",\"timestamp\":\"2025-10-18T12:28:16.627Z\",\"data\":{\"user_id\":\"31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e\",\"email\":\"Briana.Ryan@hotmail.com\",\"name\":\"Margaret Berge\"}},\"metadata\":{\"webhook_id\":\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\",\"delivery_attempt\":1,\"signature\":\"sha256=z\"}}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "305",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Event-Type": "user.created",
"X-Webhook-Id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d"
},
"json": {
"event": {
"data": {
"email": "Briana.Ryan@hotmail.com",
"name": "Margaret Berge",
"user_id": "31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e"
},
"timestamp": "2025-10-18T12:28:16.627Z",
"type": "user.created"
},
"metadata": {
"delivery_attempt": 1,
"signature": "sha256=z",
"webhook_id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d"
}
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
1
assertions
✅
Passed
1
assertion
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
Captured Variables
{
"event_user_id": "31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e",
"event_timestamp": "2025-10-18T12:28:16.627Z"
}Available Variables
{
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
} ✅
Test webhook delivery confirmation
Step #3
2ms
cURL Command
curl -X GET -H 'X-Webhook-Check: delivery-confirmation' -H 'X-Event-ID: 31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e' "http://httpbin/get"📤 Request
Method: GET
URL:
http://httpbin/get Base URL:
http://httpbin Request Headers
X-Webhook-Check: delivery-confirmation
X-Event-ID: 31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e📥 Response
Status Code: 200
Duration: 2ms
Size: 330 bytes
Response Headers
server: gunicorn/19.9.0
date: Sun, 19 Oct 2025 10:28:37 GMT
connection: keep-alive
content-type: application/json
content-length: 402
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Event-Id": "31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e",
"X-Webhook-Check": "delivery-confirmation"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get"
} 📊
Total
1
assertions
✅
Passed
1
assertion
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
Captured Variables
{
"webhook_delivered": true,
"delivery_status": "success"
}Available Variables
{
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
}🎭 Scenarios
Executed: 1 scenarios
Scenario 1: then ✓
✅
Test retry mechanism for failed webhooks
Step #4
1ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Webhook-Retry: true' -d '{"retry_webhook":{"original_event_id":"31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e","retry_attempt":2,"backoff_delay":5000}}' "http://httpbin/status/500"📤 Request
Method: POST
URL:
http://httpbin/status/500 Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Webhook-Retry: trueRequest Body
{
"retry_webhook": {
"original_event_id": "31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e",
"retry_attempt": 2,
"backoff_delay": 5000
}
}📥 Response
Status Code: 500
Duration: 1ms
Size: 0 bytes
Response Headers
server: gunicorn/19.9.0
date: Sun, 19 Oct 2025 10:28:37 GMT
connection: keep-alive
content-type: text/html; charset=utf-8
access-control-allow-origin: *
access-control-allow-credentials: true
content-length: 0 📊
Total
1
assertions
✅
Passed
1
assertion
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 500
Assertion passou conforme esperado
Valor recebido: 500
Available Variables
{
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
} ✅
Test webhook signature validation
Step #5
2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Webhook-Signature: sha256=z' -H 'X-Webhook-Timestamp: 1760869717' -d '{"signature_test":{"payload":"test_signature_validation","webhook_id":"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d","timestamp":1760869717781}}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Webhook-Signature: sha256=z
X-Webhook-Timestamp: 1760869717Request Body
{
"signature_test": {
"payload": "test_signature_validation",
"webhook_id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d",
"timestamp": 1760869717781
}
}📥 Response
Status Code: 200
Duration: 2ms
Size: 701 bytes
Response Headers
server: gunicorn/19.9.0
date: Sun, 19 Oct 2025 10:28:37 GMT
connection: keep-alive
content-type: application/json
content-length: 847
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"signature_test\":{\"payload\":\"test_signature_validation\",\"webhook_id\":\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\",\"timestamp\":1760869717781}}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "144",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Webhook-Signature": "sha256=z",
"X-Webhook-Timestamp": "1760869717"
},
"json": {
"signature_test": {
"payload": "test_signature_validation",
"timestamp": 1760869717781,
"webhook_id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d"
}
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
2
assertions
✅
Passed
2
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.json.signature_test.payload.equals
PASSED
✓ Match
Condição
body.json.signature_test.payload.equals equals test_signature_validation
Assertion passou conforme esperado
Valor recebido: test_signature_validation
Available Variables
{
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
} ✅
Test real-time event streaming simulation
Step #6
2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Stream-Type: real-time-events' -d '{"stream_events":[{"event_id":"2230b96c-eb75-4923-87aa-1dc8915eef39","type":"user.activity","timestamp":"2025-10-19T04:38:52.355Z"},{"event_id":"e2e38f0d-e13a-4d25-bdd4-7e44235127e9","type":"system.health","timestamp":"2025-10-18T11:25:12.785Z"},{"event_id":"984698d6-ef0b-46d9-b4a5-4d87b617c1bc","type":"payment.processed","timestamp":"2025-10-19T02:03:12.099Z"}]}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Stream-Type: real-time-eventsRequest Body
{
"stream_events": [
{
"event_id": "2230b96c-eb75-4923-87aa-1dc8915eef39",
"type": "user.activity",
"timestamp": "2025-10-19T04:38:52.355Z"
},
{
"event_id": "e2e38f0d-e13a-4d25-bdd4-7e44235127e9",
"type": "system.health",
"timestamp": "2025-10-18T11:25:12.785Z"
},
{
"event_id": "984698d6-ef0b-46d9-b4a5-4d87b617c1bc",
"type": "payment.processed",
"timestamp": "2025-10-19T02:03:12.099Z"
}
]
}📥 Response
Status Code: 200
Duration: 2ms
Size: 1136 bytes
Response Headers
server: gunicorn/19.9.0
date: Sun, 19 Oct 2025 10:28:37 GMT
connection: keep-alive
content-type: application/json
content-length: 1389
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"stream_events\":[{\"event_id\":\"2230b96c-eb75-4923-87aa-1dc8915eef39\",\"type\":\"user.activity\",\"timestamp\":\"2025-10-19T04:38:52.355Z\"},{\"event_id\":\"e2e38f0d-e13a-4d25-bdd4-7e44235127e9\",\"type\":\"system.health\",\"timestamp\":\"2025-10-18T11:25:12.785Z\"},{\"event_id\":\"984698d6-ef0b-46d9-b4a5-4d87b617c1bc\",\"type\":\"payment.processed\",\"timestamp\":\"2025-10-19T02:03:12.099Z\"}]}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "365",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Stream-Type": "real-time-events"
},
"json": {
"stream_events": [
{
"event_id": "2230b96c-eb75-4923-87aa-1dc8915eef39",
"timestamp": "2025-10-19T04:38:52.355Z",
"type": "user.activity"
},
{
"event_id": "e2e38f0d-e13a-4d25-bdd4-7e44235127e9",
"timestamp": "2025-10-18T11:25:12.785Z",
"type": "system.health"
},
{
"event_id": "984698d6-ef0b-46d9-b4a5-4d87b617c1bc",
"timestamp": "2025-10-19T02:03:12.099Z",
"type": "payment.processed"
}
]
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
1
assertions
✅
Passed
1
assertion
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
Captured Variables
{
"stream_event_count": 3
}Available Variables
{
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
} ✅
Validate webhook system health
Step #7
1ms
cURL Command
curl -X GET -H 'X-Health-Check: webhook-system' "http://httpbin/get"📤 Request
Method: GET
URL:
http://httpbin/get Base URL:
http://httpbin Request Headers
X-Health-Check: webhook-system📥 Response
Status Code: 200
Duration: 1ms
Size: 270 bytes
Response Headers
server: gunicorn/19.9.0
date: Sun, 19 Oct 2025 10:28:37 GMT
connection: keep-alive
content-type: application/json
content-length: 335
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Health-Check": "webhook-system"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get"
} 📊
Total
1
assertions
✅
Passed
1
assertion
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
Captured Variables
{
"webhook_system_healthy": false
}Available Variables
{
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
}🎭 Scenarios
Executed: 1 scenarios
Scenario 1: else ✓
📄 Raw Suite Data
Complete Suite Data
{
"node_id": "webhooks-realtime",
"suite_name": "Webhooks and Real-time Testing Suite",
"file_path": "/app/tests/webhooks-realtime-test.yaml",
"priority": "high",
"start_time": "2025-10-19T10:28:37.772Z",
"end_time": "2025-10-19T10:28:37.787Z",
"duration_ms": 15,
"status": "success",
"steps_executed": 7,
"steps_successful": 7,
"steps_failed": 0,
"success_rate": 100,
"steps_results": [
{
"step_id": "step-1-register-webhook-endpoint",
"qualified_step_id": "webhooks-realtime::step-1-register-webhook-endpoint",
"step_name": "Register webhook endpoint",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json"
},
"body": {
"webhook_config": {
"id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d",
"url": "http://httpbin/post",
"events": [
"user.created",
"user.updated",
"payment.completed"
],
"secret": "z",
"active": true
}
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -d '{\"webhook_config\":{\"id\":\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\",\"url\":\"http://httpbin/post\",\"events\":[\"user.created\",\"user.updated\",\"payment.completed\"],\"secret\":\"z\",\"active\":true}}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nContent-Length: 188\r\n\r\n{\"webhook_config\":{\"id\":\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\",\"url\":\"http://httpbin/post\",\"events\":[\"user.created\",\"user.updated\",\"payment.completed\"],\"secret\":\"z\",\"active\":true}}",
"raw_url": "{{base_url}}/post"
},
"response_details": {
"status_code": 200,
"headers": {
"server": "gunicorn/19.9.0",
"date": "Sun, 19 Oct 2025 10:28:37 GMT",
"connection": "keep-alive",
"content-type": "application/json",
"content-length": "919",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"webhook_config\":{\"id\":\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\",\"url\":\"http://httpbin/post\",\"events\":[\"user.created\",\"user.updated\",\"payment.completed\"],\"secret\":\"z\",\"active\":true}}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "188",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1"
},
"json": {
"webhook_config": {
"active": true,
"events": [
"user.created",
"user.updated",
"payment.completed"
],
"id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d",
"secret": "z",
"url": "http://httpbin/post"
}
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 733,
"raw_response": "HTTP/1.1 200 OK\r\nserver: gunicorn/19.9.0\r\ndate: Sun, 19 Oct 2025 10:28:37 GMT\r\nconnection: keep-alive\r\ncontent-type: application/json\r\ncontent-length: 919\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"webhook_config\\\":{\\\"id\\\":\\\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\\\",\\\"url\\\":\\\"http://httpbin/post\\\",\\\"events\\\":[\\\"user.created\\\",\\\"user.updated\\\",\\\"payment.completed\\\"],\\\"secret\\\":\\\"z\\\",\\\"active\\\":true}}\",\n \"files\": {},\n \"form\": {},\n \"headers\": {\n \"Accept\": \"application/json, text/plain, */*\",\n \"Accept-Encoding\": \"gzip, compress, deflate, br\",\n \"Connection\": \"keep-alive\",\n \"Content-Length\": \"188\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\"\n },\n \"json\": {\n \"webhook_config\": {\n \"active\": true,\n \"events\": [\n \"user.created\",\n \"user.updated\",\n \"payment.completed\"\n ],\n \"id\": \"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\",\n \"secret\": \"z\",\n \"url\": \"http://httpbin/post\"\n }\n },\n \"origin\": \"172.18.0.3\",\n \"url\": \"http://httpbin/post\"\n}"
},
"assertions_results": [
{
"field": "status_code",
"expected": 200,
"actual": 200,
"passed": true,
"message": "OK"
},
{
"field": "body.json.webhook_config.active.equals",
"expected": true,
"actual": true,
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"webhook_secret": "z",
"registered_webhook_id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d"
},
"available_variables": {
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
}
},
{
"step_id": "step-2-simulate-webhook-trigger-event",
"qualified_step_id": "webhooks-realtime::step-2-simulate-webhook-trigger-event",
"step_name": "Simulate webhook trigger event",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Event-Type": "user.created",
"X-Webhook-ID": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d"
},
"body": {
"event": {
"type": "user.created",
"timestamp": "2025-10-18T12:28:16.627Z",
"data": {
"user_id": "31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e",
"email": "Briana.Ryan@hotmail.com",
"name": "Margaret Berge"
}
},
"metadata": {
"webhook_id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d",
"delivery_attempt": 1,
"signature": "sha256=z"
}
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Event-Type: user.created' -H 'X-Webhook-ID: webhook-466629e0-e45c-4b93-bda9-e2c90241a59d' -d '{\"event\":{\"type\":\"user.created\",\"timestamp\":\"2025-10-18T12:28:16.627Z\",\"data\":{\"user_id\":\"31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e\",\"email\":\"Briana.Ryan@hotmail.com\",\"name\":\"Margaret Berge\"}},\"metadata\":{\"webhook_id\":\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\",\"delivery_attempt\":1,\"signature\":\"sha256=z\"}}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Event-Type: user.created\r\nX-Webhook-ID: webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\r\nContent-Length: 305\r\n\r\n{\"event\":{\"type\":\"user.created\",\"timestamp\":\"2025-10-18T12:28:16.627Z\",\"data\":{\"user_id\":\"31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e\",\"email\":\"Briana.Ryan@hotmail.com\",\"name\":\"Margaret Berge\"}},\"metadata\":{\"webhook_id\":\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\",\"delivery_attempt\":1,\"signature\":\"sha256=z\"}}",
"raw_url": "{{base_url}}/post"
},
"response_details": {
"status_code": 200,
"headers": {
"server": "gunicorn/19.9.0",
"date": "Sun, 19 Oct 2025 10:28:37 GMT",
"connection": "keep-alive",
"content-type": "application/json",
"content-length": "1294",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"event\":{\"type\":\"user.created\",\"timestamp\":\"2025-10-18T12:28:16.627Z\",\"data\":{\"user_id\":\"31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e\",\"email\":\"Briana.Ryan@hotmail.com\",\"name\":\"Margaret Berge\"}},\"metadata\":{\"webhook_id\":\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\",\"delivery_attempt\":1,\"signature\":\"sha256=z\"}}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "305",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Event-Type": "user.created",
"X-Webhook-Id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d"
},
"json": {
"event": {
"data": {
"email": "Briana.Ryan@hotmail.com",
"name": "Margaret Berge",
"user_id": "31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e"
},
"timestamp": "2025-10-18T12:28:16.627Z",
"type": "user.created"
},
"metadata": {
"delivery_attempt": 1,
"signature": "sha256=z",
"webhook_id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d"
}
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 1071,
"raw_response": "HTTP/1.1 200 OK\r\nserver: gunicorn/19.9.0\r\ndate: Sun, 19 Oct 2025 10:28:37 GMT\r\nconnection: keep-alive\r\ncontent-type: application/json\r\ncontent-length: 1294\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"event\\\":{\\\"type\\\":\\\"user.created\\\",\\\"timestamp\\\":\\\"2025-10-18T12:28:16.627Z\\\",\\\"data\\\":{\\\"user_id\\\":\\\"31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e\\\",\\\"email\\\":\\\"Briana.Ryan@hotmail.com\\\",\\\"name\\\":\\\"Margaret Berge\\\"}},\\\"metadata\\\":{\\\"webhook_id\\\":\\\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\\\",\\\"delivery_attempt\\\":1,\\\"signature\\\":\\\"sha256=z\\\"}}\",\n \"files\": {},\n \"form\": {},\n \"headers\": {\n \"Accept\": \"application/json, text/plain, */*\",\n \"Accept-Encoding\": \"gzip, compress, deflate, br\",\n \"Connection\": \"keep-alive\",\n \"Content-Length\": \"305\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Event-Type\": \"user.created\",\n \"X-Webhook-Id\": \"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\"\n },\n \"json\": {\n \"event\": {\n \"data\": {\n \"email\": \"Briana.Ryan@hotmail.com\",\n \"name\": \"Margaret Berge\",\n \"user_id\": \"31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e\"\n },\n \"timestamp\": \"2025-10-18T12:28:16.627Z\",\n \"type\": \"user.created\"\n },\n \"metadata\": {\n \"delivery_attempt\": 1,\n \"signature\": \"sha256=z\",\n \"webhook_id\": \"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\"\n }\n },\n \"origin\": \"172.18.0.3\",\n \"url\": \"http://httpbin/post\"\n}"
},
"assertions_results": [
{
"field": "status_code",
"expected": 200,
"actual": 200,
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"event_user_id": "31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e",
"event_timestamp": "2025-10-18T12:28:16.627Z"
},
"available_variables": {
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
}
},
{
"step_id": "step-3-test-webhook-delivery-confirmation",
"qualified_step_id": "webhooks-realtime::step-3-test-webhook-delivery-confirmation",
"step_name": "Test webhook delivery confirmation",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "GET",
"url": "/get",
"headers": {
"X-Webhook-Check": "delivery-confirmation",
"X-Event-ID": "31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e"
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/get",
"curl_command": "curl -X GET -H 'X-Webhook-Check: delivery-confirmation' -H 'X-Event-ID: 31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e' \"http://httpbin/get\"",
"raw_request": "GET /get HTTP/1.1\r\nHost: httpbin\r\nX-Webhook-Check: delivery-confirmation\r\nX-Event-ID: 31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e\r\n\r\n",
"raw_url": "{{base_url}}/get"
},
"response_details": {
"status_code": 200,
"headers": {
"server": "gunicorn/19.9.0",
"date": "Sun, 19 Oct 2025 10:28:37 GMT",
"connection": "keep-alive",
"content-type": "application/json",
"content-length": "402",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Event-Id": "31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e",
"X-Webhook-Check": "delivery-confirmation"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get"
},
"size_bytes": 330,
"raw_response": "HTTP/1.1 200 OK\r\nserver: gunicorn/19.9.0\r\ndate: Sun, 19 Oct 2025 10:28:37 GMT\r\nconnection: keep-alive\r\ncontent-type: application/json\r\ncontent-length: 402\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"headers\": {\n \"Accept\": \"application/json, text/plain, */*\",\n \"Accept-Encoding\": \"gzip, compress, deflate, br\",\n \"Connection\": \"keep-alive\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Event-Id\": \"31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e\",\n \"X-Webhook-Check\": \"delivery-confirmation\"\n },\n \"origin\": \"172.18.0.3\",\n \"url\": \"http://httpbin/get\"\n}"
},
"assertions_results": [
{
"field": "status_code",
"expected": 200,
"actual": 200,
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"webhook_delivered": true,
"delivery_status": "success"
},
"available_variables": {
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
},
"scenarios_meta": {
"has_scenarios": true,
"executed_count": 1,
"evaluations": [
{
"index": 1,
"condition": "status_code == 200",
"matched": true,
"executed": true,
"branch": "then",
"assertions_added": 0,
"captures_added": 0
}
]
}
},
{
"step_id": "step-4-test-retry-mechanism-for-failed-webhooks",
"qualified_step_id": "webhooks-realtime::step-4-test-retry-mechanism-for-failed-webhooks",
"step_name": "Test retry mechanism for failed webhooks",
"status": "success",
"duration_ms": 1,
"request_details": {
"method": "POST",
"url": "/status/500",
"headers": {
"Content-Type": "application/json",
"X-Webhook-Retry": "true"
},
"body": {
"retry_webhook": {
"original_event_id": "31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e",
"retry_attempt": 2,
"backoff_delay": 5000
}
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/status/500",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Webhook-Retry: true' -d '{\"retry_webhook\":{\"original_event_id\":\"31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e\",\"retry_attempt\":2,\"backoff_delay\":5000}}' \"http://httpbin/status/500\"",
"raw_request": "POST /status/500 HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Webhook-Retry: true\r\nContent-Length: 117\r\n\r\n{\"retry_webhook\":{\"original_event_id\":\"31b4e06a-4cf5-4af9-b89d-4c7d79e5e91e\",\"retry_attempt\":2,\"backoff_delay\":5000}}",
"raw_url": "{{base_url}}/status/500"
},
"response_details": {
"status_code": 500,
"headers": {
"server": "gunicorn/19.9.0",
"date": "Sun, 19 Oct 2025 10:28:37 GMT",
"connection": "keep-alive",
"content-type": "text/html; charset=utf-8",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true",
"content-length": "0"
},
"body": "",
"size_bytes": 0,
"raw_response": "HTTP/1.1 500 INTERNAL SERVER ERROR\r\nserver: gunicorn/19.9.0\r\ndate: Sun, 19 Oct 2025 10:28:37 GMT\r\nconnection: keep-alive\r\ncontent-type: text/html; charset=utf-8\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\ncontent-length: 0\r\n\r\n"
},
"assertions_results": [
{
"field": "status_code",
"expected": 500,
"actual": 500,
"passed": true,
"message": "OK"
}
],
"captured_variables": {},
"available_variables": {
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
}
},
{
"step_id": "step-5-test-webhook-signature-validation",
"qualified_step_id": "webhooks-realtime::step-5-test-webhook-signature-validation",
"step_name": "Test webhook signature validation",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Webhook-Signature": "sha256=z",
"X-Webhook-Timestamp": 1760869717
},
"body": {
"signature_test": {
"payload": "test_signature_validation",
"webhook_id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d",
"timestamp": 1760869717781
}
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Webhook-Signature: sha256=z' -H 'X-Webhook-Timestamp: 1760869717' -d '{\"signature_test\":{\"payload\":\"test_signature_validation\",\"webhook_id\":\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\",\"timestamp\":1760869717781}}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Webhook-Signature: sha256=z\r\nX-Webhook-Timestamp: 1760869717\r\nContent-Length: 144\r\n\r\n{\"signature_test\":{\"payload\":\"test_signature_validation\",\"webhook_id\":\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\",\"timestamp\":1760869717781}}",
"raw_url": "{{base_url}}/post"
},
"response_details": {
"status_code": 200,
"headers": {
"server": "gunicorn/19.9.0",
"date": "Sun, 19 Oct 2025 10:28:37 GMT",
"connection": "keep-alive",
"content-type": "application/json",
"content-length": "847",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"signature_test\":{\"payload\":\"test_signature_validation\",\"webhook_id\":\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\",\"timestamp\":1760869717781}}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "144",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Webhook-Signature": "sha256=z",
"X-Webhook-Timestamp": "1760869717"
},
"json": {
"signature_test": {
"payload": "test_signature_validation",
"timestamp": 1760869717781,
"webhook_id": "webhook-466629e0-e45c-4b93-bda9-e2c90241a59d"
}
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 701,
"raw_response": "HTTP/1.1 200 OK\r\nserver: gunicorn/19.9.0\r\ndate: Sun, 19 Oct 2025 10:28:37 GMT\r\nconnection: keep-alive\r\ncontent-type: application/json\r\ncontent-length: 847\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"signature_test\\\":{\\\"payload\\\":\\\"test_signature_validation\\\",\\\"webhook_id\\\":\\\"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\\\",\\\"timestamp\\\":1760869717781}}\",\n \"files\": {},\n \"form\": {},\n \"headers\": {\n \"Accept\": \"application/json, text/plain, */*\",\n \"Accept-Encoding\": \"gzip, compress, deflate, br\",\n \"Connection\": \"keep-alive\",\n \"Content-Length\": \"144\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Webhook-Signature\": \"sha256=z\",\n \"X-Webhook-Timestamp\": \"1760869717\"\n },\n \"json\": {\n \"signature_test\": {\n \"payload\": \"test_signature_validation\",\n \"timestamp\": 1760869717781,\n \"webhook_id\": \"webhook-466629e0-e45c-4b93-bda9-e2c90241a59d\"\n }\n },\n \"origin\": \"172.18.0.3\",\n \"url\": \"http://httpbin/post\"\n}"
},
"assertions_results": [
{
"field": "status_code",
"expected": 200,
"actual": 200,
"passed": true,
"message": "OK"
},
{
"field": "body.json.signature_test.payload.equals",
"expected": "test_signature_validation",
"actual": "test_signature_validation",
"passed": true,
"message": "OK"
}
],
"captured_variables": {},
"available_variables": {
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
}
},
{
"step_id": "step-6-test-real-time-event-streaming-simulation",
"qualified_step_id": "webhooks-realtime::step-6-test-real-time-event-streaming-simulation",
"step_name": "Test real-time event streaming simulation",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Stream-Type": "real-time-events"
},
"body": {
"stream_events": [
{
"event_id": "2230b96c-eb75-4923-87aa-1dc8915eef39",
"type": "user.activity",
"timestamp": "2025-10-19T04:38:52.355Z"
},
{
"event_id": "e2e38f0d-e13a-4d25-bdd4-7e44235127e9",
"type": "system.health",
"timestamp": "2025-10-18T11:25:12.785Z"
},
{
"event_id": "984698d6-ef0b-46d9-b4a5-4d87b617c1bc",
"type": "payment.processed",
"timestamp": "2025-10-19T02:03:12.099Z"
}
]
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Stream-Type: real-time-events' -d '{\"stream_events\":[{\"event_id\":\"2230b96c-eb75-4923-87aa-1dc8915eef39\",\"type\":\"user.activity\",\"timestamp\":\"2025-10-19T04:38:52.355Z\"},{\"event_id\":\"e2e38f0d-e13a-4d25-bdd4-7e44235127e9\",\"type\":\"system.health\",\"timestamp\":\"2025-10-18T11:25:12.785Z\"},{\"event_id\":\"984698d6-ef0b-46d9-b4a5-4d87b617c1bc\",\"type\":\"payment.processed\",\"timestamp\":\"2025-10-19T02:03:12.099Z\"}]}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Stream-Type: real-time-events\r\nContent-Length: 365\r\n\r\n{\"stream_events\":[{\"event_id\":\"2230b96c-eb75-4923-87aa-1dc8915eef39\",\"type\":\"user.activity\",\"timestamp\":\"2025-10-19T04:38:52.355Z\"},{\"event_id\":\"e2e38f0d-e13a-4d25-bdd4-7e44235127e9\",\"type\":\"system.health\",\"timestamp\":\"2025-10-18T11:25:12.785Z\"},{\"event_id\":\"984698d6-ef0b-46d9-b4a5-4d87b617c1bc\",\"type\":\"payment.processed\",\"timestamp\":\"2025-10-19T02:03:12.099Z\"}]}",
"raw_url": "{{base_url}}/post"
},
"response_details": {
"status_code": 200,
"headers": {
"server": "gunicorn/19.9.0",
"date": "Sun, 19 Oct 2025 10:28:37 GMT",
"connection": "keep-alive",
"content-type": "application/json",
"content-length": "1389",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"stream_events\":[{\"event_id\":\"2230b96c-eb75-4923-87aa-1dc8915eef39\",\"type\":\"user.activity\",\"timestamp\":\"2025-10-19T04:38:52.355Z\"},{\"event_id\":\"e2e38f0d-e13a-4d25-bdd4-7e44235127e9\",\"type\":\"system.health\",\"timestamp\":\"2025-10-18T11:25:12.785Z\"},{\"event_id\":\"984698d6-ef0b-46d9-b4a5-4d87b617c1bc\",\"type\":\"payment.processed\",\"timestamp\":\"2025-10-19T02:03:12.099Z\"}]}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "365",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Stream-Type": "real-time-events"
},
"json": {
"stream_events": [
{
"event_id": "2230b96c-eb75-4923-87aa-1dc8915eef39",
"timestamp": "2025-10-19T04:38:52.355Z",
"type": "user.activity"
},
{
"event_id": "e2e38f0d-e13a-4d25-bdd4-7e44235127e9",
"timestamp": "2025-10-18T11:25:12.785Z",
"type": "system.health"
},
{
"event_id": "984698d6-ef0b-46d9-b4a5-4d87b617c1bc",
"timestamp": "2025-10-19T02:03:12.099Z",
"type": "payment.processed"
}
]
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 1136,
"raw_response": "HTTP/1.1 200 OK\r\nserver: gunicorn/19.9.0\r\ndate: Sun, 19 Oct 2025 10:28:37 GMT\r\nconnection: keep-alive\r\ncontent-type: application/json\r\ncontent-length: 1389\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"stream_events\\\":[{\\\"event_id\\\":\\\"2230b96c-eb75-4923-87aa-1dc8915eef39\\\",\\\"type\\\":\\\"user.activity\\\",\\\"timestamp\\\":\\\"2025-10-19T04:38:52.355Z\\\"},{\\\"event_id\\\":\\\"e2e38f0d-e13a-4d25-bdd4-7e44235127e9\\\",\\\"type\\\":\\\"system.health\\\",\\\"timestamp\\\":\\\"2025-10-18T11:25:12.785Z\\\"},{\\\"event_id\\\":\\\"984698d6-ef0b-46d9-b4a5-4d87b617c1bc\\\",\\\"type\\\":\\\"payment.processed\\\",\\\"timestamp\\\":\\\"2025-10-19T02:03:12.099Z\\\"}]}\",\n \"files\": {},\n \"form\": {},\n \"headers\": {\n \"Accept\": \"application/json, text/plain, */*\",\n \"Accept-Encoding\": \"gzip, compress, deflate, br\",\n \"Connection\": \"keep-alive\",\n \"Content-Length\": \"365\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Stream-Type\": \"real-time-events\"\n },\n \"json\": {\n \"stream_events\": [\n {\n \"event_id\": \"2230b96c-eb75-4923-87aa-1dc8915eef39\",\n \"timestamp\": \"2025-10-19T04:38:52.355Z\",\n \"type\": \"user.activity\"\n },\n {\n \"event_id\": \"e2e38f0d-e13a-4d25-bdd4-7e44235127e9\",\n \"timestamp\": \"2025-10-18T11:25:12.785Z\",\n \"type\": \"system.health\"\n },\n {\n \"event_id\": \"984698d6-ef0b-46d9-b4a5-4d87b617c1bc\",\n \"timestamp\": \"2025-10-19T02:03:12.099Z\",\n \"type\": \"payment.processed\"\n }\n ]\n },\n \"origin\": \"172.18.0.3\",\n \"url\": \"http://httpbin/post\"\n}"
},
"assertions_results": [
{
"field": "status_code",
"expected": 200,
"actual": 200,
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"stream_event_count": 3
},
"available_variables": {
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
}
},
{
"step_id": "step-7-validate-webhook-system-health",
"qualified_step_id": "webhooks-realtime::step-7-validate-webhook-system-health",
"step_name": "Validate webhook system health",
"status": "success",
"duration_ms": 1,
"request_details": {
"method": "GET",
"url": "/get",
"headers": {
"X-Health-Check": "webhook-system"
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/get",
"curl_command": "curl -X GET -H 'X-Health-Check: webhook-system' \"http://httpbin/get\"",
"raw_request": "GET /get HTTP/1.1\r\nHost: httpbin\r\nX-Health-Check: webhook-system\r\n\r\n",
"raw_url": "{{base_url}}/get"
},
"response_details": {
"status_code": 200,
"headers": {
"server": "gunicorn/19.9.0",
"date": "Sun, 19 Oct 2025 10:28:37 GMT",
"connection": "keep-alive",
"content-type": "application/json",
"content-length": "335",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Health-Check": "webhook-system"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get"
},
"size_bytes": 270,
"raw_response": "HTTP/1.1 200 OK\r\nserver: gunicorn/19.9.0\r\ndate: Sun, 19 Oct 2025 10:28:37 GMT\r\nconnection: keep-alive\r\ncontent-type: application/json\r\ncontent-length: 335\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"headers\": {\n \"Accept\": \"application/json, text/plain, */*\",\n \"Accept-Encoding\": \"gzip, compress, deflate, br\",\n \"Connection\": \"keep-alive\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Health-Check\": \"webhook-system\"\n },\n \"origin\": \"172.18.0.3\",\n \"url\": \"http://httpbin/get\"\n}"
},
"assertions_results": [
{
"field": "status_code",
"expected": 200,
"actual": 200,
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"webhook_system_healthy": false
},
"available_variables": {
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
},
"scenarios_meta": {
"has_scenarios": true,
"executed_count": 1,
"evaluations": [
{
"index": 1,
"condition": "webhook_delivered == true && stream_event_count >= 3",
"matched": false,
"executed": true,
"branch": "else",
"assertions_added": 0,
"captures_added": 0
}
]
}
}
],
"variables_captured": {},
"available_variables": {
"api_base_url": "http://localhost:8080",
"auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
"auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
"auth_flows_test.user_permissions": [
"read",
"write"
],
"auth_flows_test.auth_flow_results": {
"jwt_authentication": {
"status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
"tokens_issued": 2,
"profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
},
"oauth2_authentication": {
"status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
"authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
"token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
},
"security_validation": {
"expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
"revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
"permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
},
"session_management": {
"logout_success": "{{js: Boolean(variables.complete_logout)}}",
"cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
}
},
"complex-workflows-test.workflow_results": {
"api_contract_validations": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"items_purchased": 3,
"order_id": null,
"total_revenue": 594.96,
"transaction_id": null,
"workflow_completion": null
},
"ecommerce_workflow_results": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"end_to_end_success": true,
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"test_summary": "complex_workflows_ecommerce_contracts",
"total_complex_workflow_tests": 13,
"workflow_patterns_tested": [
"customer_lifecycle_management",
"product_catalog_interaction",
"cart_and_checkout_process",
"payment_transaction_flow",
"order_fulfillment_pipeline",
"api_contract_validation",
"microservices_integration",
"end_to_end_business_process",
"workflow_analytics_tracking"
],
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
},
"complex-workflows-test.ecommerce_data": {
"cart_management": "success",
"catalog_browsing": null,
"customer_registration": null,
"fulfillment_initiated": null,
"order_created": null,
"payment_processed": null,
"product_details": null,
"promotions_applied": null,
"shipping_calculated": null
},
"complex-workflows-test.contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
},
"auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
"input-capture-test.normalized_email": "John.Doe@Example.COM",
"input-capture-test.email_domain": "John.Doe@Example.COM",
"input-capture-test.full_name": "John Michael Doe",
"dependency-setup.auth_token": "test_user",
"dependency-setup.session_id": "172.18.0.3",
"dependency-setup.config_id": "v2",
"dependency-setup.setup_timestamp": true,
"comprehensive_basic.captured_echo_data": {
"action": "create_resource",
"metadata": {
"api_version": "v2.1",
"test_mode": true,
"timestamp": "2024-01-01T00:00:00Z"
},
"user_id": 12345,
"username": "flow_test_user"
},
"comprehensive_basic.generated_uuid": "httpbin",
"comprehensive_basic.final_status": "completed",
"javascript-expressions.js_calculated": 50,
"javascript-expressions.js_timestamp": 1760869717656,
"iteration-examples.users_tested": null,
"iteration-examples.range_test_summary": null,
"sensitive-data-security.security_test_passed": null,
"sensitive-data-security.sensitive_data_masked": null,
"sensitive-data-security.auth_tokens_secure": null
},
"suite_yaml_content": "node_id: \"webhooks-realtime\"\nsuite_name: \"Webhooks and Real-time Testing Suite\"\ndescription: \"Tests webhook delivery, real-time communications, and event-driven scenarios\"\nbase_url: \"{{httpbin_url}}\"\n\nmetadata:\n priority: \"high\"\n tags: [\"webhooks\", \"real-time\", \"events\", \"callbacks\", \"integration\"]\n estimated_duration_ms: 12000\n\nvariables:\n webhook_id: \"webhook-{{$faker.string.uuid}}\"\n callback_url: \"{{httpbin_url}}/post\"\n event_type: \"user.created\"\n\nsteps:\n - name: \"Register webhook endpoint\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n body:\n webhook_config:\n id: \"{{webhook_id}}\"\n url: \"{{callback_url}}\"\n events: [\"user.created\", \"user.updated\", \"payment.completed\"]\n secret: \"{{$faker.string.alphanumeric}}\"\n active: true\n assert:\n status_code: 200\n body:\n json:\n webhook_config:\n active:\n equals: true\n capture:\n webhook_secret: \"body.json.webhook_config.secret\"\n registered_webhook_id: \"body.json.webhook_config.id\"\n\n - name: \"Simulate webhook trigger event\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Event-Type: \"{{event_type}}\"\n X-Webhook-ID: \"{{registered_webhook_id}}\"\n body:\n event:\n type: \"{{event_type}}\"\n timestamp: \"{{$faker.date.recent}}\"\n data:\n user_id: \"{{$faker.string.uuid}}\"\n email: \"{{$faker.internet.email}}\"\n name: \"{{$faker.person.fullName}}\"\n metadata:\n webhook_id: \"{{registered_webhook_id}}\"\n delivery_attempt: 1\n signature: \"sha256={{webhook_secret}}\"\n assert:\n status_code: 200\n capture:\n event_user_id: \"body.json.event.data.user_id\"\n event_timestamp: \"body.json.event.timestamp\"\n\n - name: \"Test webhook delivery confirmation\"\n request:\n method: \"GET\"\n url: \"/get\"\n headers:\n X-Webhook-Check: \"delivery-confirmation\"\n X-Event-ID: \"{{event_user_id}}\"\n assert:\n status_code: 200\n scenarios:\n - name: \"Webhook delivery validation\"\n condition: \"status_code == 200\"\n then:\n variables:\n webhook_delivered: true\n delivery_status: \"success\"\n else:\n variables:\n webhook_delivered: false\n delivery_status: \"failed\"\n\n - name: \"Test retry mechanism for failed webhooks\"\n request:\n method: \"POST\"\n url: \"/status/500\"\n headers:\n Content-Type: \"application/json\"\n X-Webhook-Retry: \"true\"\n body:\n retry_webhook:\n original_event_id: \"{{event_user_id}}\"\n retry_attempt: 2\n backoff_delay: 5000\n retry:\n max_attempts: 3\n delay_ms: 1000\n on_status_codes: [500, 502, 503, 504]\n continue_on_failure: true\n assert:\n status_code: 500\n metadata:\n description: \"Tests webhook retry logic on delivery failures\"\n\n - name: \"Test webhook signature validation\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Webhook-Signature: \"sha256={{webhook_secret}}\"\n X-Webhook-Timestamp: \"{{$js.return Math.floor(Date.now() / 1000)}}\"\n body:\n signature_test:\n payload: \"test_signature_validation\"\n webhook_id: \"{{registered_webhook_id}}\"\n timestamp: \"{{$js.return Date.now()}}\"\n assert:\n status_code: 200\n body:\n json:\n signature_test:\n payload:\n equals: \"test_signature_validation\"\n\n - name: \"Test real-time event streaming simulation\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Stream-Type: \"real-time-events\"\n body:\n stream_events:\n - event_id: \"{{$faker.string.uuid}}\"\n type: \"user.activity\"\n timestamp: \"{{$faker.date.recent}}\"\n - event_id: \"{{$faker.string.uuid}}\"\n type: \"system.health\"\n timestamp: \"{{$faker.date.recent}}\"\n - event_id: \"{{$faker.string.uuid}}\"\n type: \"payment.processed\"\n timestamp: \"{{$faker.date.recent}}\"\n assert:\n status_code: 200\n capture:\n stream_event_count: \"length(body.json.stream_events)\"\n\n - name: \"Validate webhook system health\"\n request:\n method: \"GET\"\n url: \"/get\"\n headers:\n X-Health-Check: \"webhook-system\"\n assert:\n status_code: 200\n scenarios:\n - name: \"Overall webhook system validation\"\n condition: \"webhook_delivered == true && stream_event_count >= 3\"\n then:\n variables:\n webhook_system_healthy: true\n test_summary: \"All webhook and real-time features validated successfully\"\n else:\n variables:\n webhook_system_healthy: false\n\nexports:\n - webhook_delivered\n - webhook_system_healthy\n - event_user_id\n - stream_event_count"
}