✅
Complex Workflows - E-commerce and API Contracts Testing
/app/tests/complex-workflows-ecommerce-contracts-test.yaml
critical
16 Steps
Duration: 50ms
Success Rate: 100%
✅
Successful Steps
16
100% success rate
❌
Failed Steps
0
0% of total
⏭️
Skipped Steps
0
0% of total
🔗
HTTP Requests
16
100% requests
🔄
Iterações
0
0 steps com iterações
📊 Execution Timeline
| # | Status | Step Name | Type | Duration | Started At | Details |
|---|---|---|---|---|---|---|
| 1 | ✅ | Customer registration workflow POST /post | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 2 | ✅ | Browse product catalog GET /get | request | 1ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 3 | ✅ | Get product details with reviews GET /get | request | 1ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 4 | ✅ | Add products to shopping cart POST /post | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 5 | ✅ | Apply promotional codes and discounts POST /post | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 6 | ✅ | Calculate shipping options POST /post | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 7 | ✅ | Process payment transaction POST /post | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 8 | ✅ | Create order and send confirmation POST /post | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 9 | ✅ | Validate user service API contract GET /get | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 10 | ✅ | Validate order service API contract GET /get | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 11 | ✅ | Validate payment service API contract GET /get | request | 1ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 12 | ✅ | Test inventory service communication POST /post | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 13 | ✅ | Test notification service communication POST /post | request | 11ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 14 | ✅ | Initiate order fulfillment process POST /post | request | 4ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 15 | ✅ | Track workflow analytics and metrics POST /post | request | 2ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
| 16 | ✅ | Collect complex workflow test results POST /post | request | 3ms | 19/10/2025, 10:28:37 |
✅ Request completed successfully
|
🌐 HTTP Requests Debug Info
✅
Customer registration workflow
Step #1
2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: customer_registration' -H 'X-Service: user_service' -H 'X-API-Version: v1' -d '{"operation":"register_customer","customer_data":{"id":"{{customer_id}}","name":"Lynne Koepp","email":"Mariah.Conn@hotmail.com","phone":"658-677-5520 x8360","address":{"street":"66585 Belmont Road","city":"New Masonmouth","state":"Colorado","zip":"43413","country":"Svalbard & Jan Mayen Islands"}},"registration_source":"web","marketing_consent":true,"terms_accepted":true,"privacy_policy_accepted":true,"registration_timestamp":"2025-10-19T08:46:22.332Z"}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Workflow: customer_registration
X-Service: user_service
X-API-Version: v1Request Body
{
"operation": "register_customer",
"customer_data": {
"id": "{{customer_id}}",
"name": "Lynne Koepp",
"email": "Mariah.Conn@hotmail.com",
"phone": "658-677-5520 x8360",
"address": {
"street": "66585 Belmont Road",
"city": "New Masonmouth",
"state": "Colorado",
"zip": "43413",
"country": "Svalbard & Jan Mayen Islands"
}
},
"registration_source": "web",
"marketing_consent": true,
"terms_accepted": true,
"privacy_policy_accepted": true,
"registration_timestamp": "2025-10-19T08:46:22.332Z"
}📥 Response
Status Code: 200
Duration: 2ms
Size: 1388 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: 1662
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"operation\":\"register_customer\",\"customer_data\":{\"id\":\"{{customer_id}}\",\"name\":\"Lynne Koepp\",\"email\":\"Mariah.Conn@hotmail.com\",\"phone\":\"658-677-5520 x8360\",\"address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"}},\"registration_source\":\"web\",\"marketing_consent\":true,\"terms_accepted\":true,\"privacy_policy_accepted\":true,\"registration_timestamp\":\"2025-10-19T08:46:22.332Z\"}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "456",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Api-Version": "v1",
"X-Service": "user_service",
"X-Workflow": "customer_registration"
},
"json": {
"customer_data": {
"address": {
"city": "New Masonmouth",
"country": "Svalbard & Jan Mayen Islands",
"state": "Colorado",
"street": "66585 Belmont Road",
"zip": "43413"
},
"email": "Mariah.Conn@hotmail.com",
"id": "{{customer_id}}",
"name": "Lynne Koepp",
"phone": "658-677-5520 x8360"
},
"marketing_consent": true,
"operation": "register_customer",
"privacy_policy_accepted": true,
"registration_source": "web",
"registration_timestamp": "2025-10-19T08:46:22.332Z",
"terms_accepted": true
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
5
assertions
✅
Passed
5
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.json.operation.equals
PASSED
✓ Match
Condição
body.json.operation.equals equals register_customer
Assertion passou conforme esperado
Valor recebido: register_customer
✓
body.json.customer_data.type
PASSED
✓ Match
Condição
body.json.customer_data.type equals object
Assertion passou conforme esperado
Valor recebido: object
✓
body.json.customer_data.exists
PASSED
✓ Match
Condição
body.json.customer_data.exists equals true
Assertion passou conforme esperado
Valor recebido: true
✓
body.json.registration_source.equals
PASSED
✓ Match
Condição
body.json.registration_source.equals equals web
Assertion passou conforme esperado
Valor recebido: web
Captured Variables
{
"customer_registration_result": null,
"registered_customer_id": "{{customer_id}}"
}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)}}"
}
}
} ✅
Browse product catalog
Step #2
1ms
cURL Command
curl -X GET -H 'X-Workflow: product_browsing' -H 'X-Service: catalog_service' -H 'X-Customer-ID: {{customer_id}}' -H 'X-Session-ID: session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66' "http://httpbin/get"📤 Request
Method: GET
URL:
http://httpbin/get Base URL:
http://httpbin Request Headers
X-Workflow: product_browsing
X-Service: catalog_service
X-Customer-ID: {{customer_id}}
X-Session-ID: session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66📥 Response
Status Code: 200
Duration: 1ms
Size: 553 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: 669
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {
"category": "electronics",
"customer_id": "{{customer_id}}",
"limit": "10",
"sort_by": "price"
},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Customer-Id": "{{customer_id}}",
"X-Service": "catalog_service",
"X-Session-Id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66",
"X-Workflow": "product_browsing"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get?category=electronics&sort_by=price&limit=10&customer_id={{customer_id}}"
} 📊
Total
3
assertions
✅
Passed
3
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.args.category.equals
PASSED
✓ Match
Condição
body.args.category.equals equals electronics
Assertion passou conforme esperado
Valor recebido: electronics
✓
body.args.customer_id.equals
PASSED
✓ Match
Condição
body.args.customer_id.equals equals {{customer_id}}
Assertion passou conforme esperado
Valor recebido: {{customer_id}}
Captured Variables
{
"catalog_browsing_result": null,
"viewed_products": null
}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)}}"
}
}
} ✅
Get product details with reviews
Step #3
1ms
cURL Command
curl -X GET -H 'X-Workflow: product_details' -H 'X-Service: product_service' -H 'X-Product-ID: PROD-001' "http://httpbin/get"📤 Request
Method: GET
URL:
http://httpbin/get Base URL:
http://httpbin Request Headers
X-Workflow: product_details
X-Service: product_service
X-Product-ID: PROD-001📥 Response
Status Code: 200
Duration: 1ms
Size: 534 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: 643
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {
"customer_id": "{{customer_id}}",
"include_recommendations": "true",
"include_reviews": "true",
"product_id": "PROD-001"
},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Product-Id": "PROD-001",
"X-Service": "product_service",
"X-Workflow": "product_details"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get?product_id=PROD-001&include_reviews=true&include_recommendations=true&customer_id={{customer_id}}"
} 📊
Total
3
assertions
✅
Passed
3
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.args.product_id.equals
PASSED
✓ Match
Condição
body.args.product_id.equals equals PROD-001
Assertion passou conforme esperado
Valor recebido: PROD-001
✓
body.args.include_reviews.equals
PASSED
✓ Match
Condição
body.args.include_reviews.equals equals true
Assertion passou conforme esperado
Valor recebido: true
Captured Variables
{
"product_details_result": null,
"selected_product_id": null
}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)}}"
}
}
} ✅
Add products to shopping cart
Step #4
2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: add_to_cart' -H 'X-Service: cart_service' -H 'X-Customer-ID: {{customer_id}}' -d '{"operation":"add_to_cart","customer_id":"{{customer_id}}","session_id":"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66","items":[{"product_id":"PROD-001","quantity":2,"unit_price":299.99},{"product_id":"PROD-002","quantity":1,"unit_price":49.99}],"cart_timestamp":"2025-10-18T22:43:47.967Z"}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Workflow: add_to_cart
X-Service: cart_service
X-Customer-ID: {{customer_id}}Request Body
{
"operation": "add_to_cart",
"customer_id": "{{customer_id}}",
"session_id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66",
"items": [
{
"product_id": "PROD-001",
"quantity": 2,
"unit_price": 299.99
},
{
"product_id": "PROD-002",
"quantity": 1,
"unit_price": 49.99
}
],
"cart_timestamp": "2025-10-18T22:43:47.967Z"
}📥 Response
Status Code: 200
Duration: 2ms
Size: 1035 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: 1283
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"operation\":\"add_to_cart\",\"customer_id\":\"{{customer_id}}\",\"session_id\":\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\"items\":[{\"product_id\":\"PROD-001\",\"quantity\":2,\"unit_price\":299.99},{\"product_id\":\"PROD-002\",\"quantity\":1,\"unit_price\":49.99}],\"cart_timestamp\":\"2025-10-18T22:43:47.967Z\"}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "290",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Customer-Id": "{{customer_id}}",
"X-Service": "cart_service",
"X-Workflow": "add_to_cart"
},
"json": {
"cart_timestamp": "2025-10-18T22:43:47.967Z",
"customer_id": "{{customer_id}}",
"items": [
{
"product_id": "PROD-001",
"quantity": 2,
"unit_price": 299.99
},
{
"product_id": "PROD-002",
"quantity": 1,
"unit_price": 49.99
}
],
"operation": "add_to_cart",
"session_id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66"
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
3
assertions
✅
Passed
3
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.json.operation.equals
PASSED
✓ Match
Condição
body.json.operation.equals equals add_to_cart
Assertion passou conforme esperado
Valor recebido: add_to_cart
✓
body.json.customer_id.equals
PASSED
✓ Match
Condição
body.json.customer_id.equals equals {{customer_id}}
Assertion passou conforme esperado
Valor recebido: {{customer_id}}
Captured Variables
{
"cart_total_items": 3,
"cart_total_amount": 649.97,
"cart_id": null
}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)}}"
}
}
} ✅
Apply promotional codes and discounts
Step #5
2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: apply_promotions' -H 'X-Service: promotion_service' -d '{"operation":"apply_promotions","cart_id":null,"customer_id":"{{customer_id}}","promotion_codes":["WELCOME10","BULK5"],"customer_tier":"regular","loyalty_points":250}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Workflow: apply_promotions
X-Service: promotion_service
X-Cart-ID: nullRequest Body
{
"operation": "apply_promotions",
"cart_id": null,
"customer_id": "{{customer_id}}",
"promotion_codes": [
"WELCOME10",
"BULK5"
],
"customer_tier": "regular",
"loyalty_points": 250
}📥 Response
Status Code: 200
Duration: 2ms
Size: 751 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: 921
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"operation\":\"apply_promotions\",\"cart_id\":null,\"customer_id\":\"{{customer_id}}\",\"promotion_codes\":[\"WELCOME10\",\"BULK5\"],\"customer_tier\":\"regular\",\"loyalty_points\":250}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "166",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service": "promotion_service",
"X-Workflow": "apply_promotions"
},
"json": {
"cart_id": null,
"customer_id": "{{customer_id}}",
"customer_tier": "regular",
"loyalty_points": 250,
"operation": "apply_promotions",
"promotion_codes": [
"WELCOME10",
"BULK5"
]
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
3
assertions
✅
Passed
3
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.json.operation.equals
PASSED
✓ Match
Condição
body.json.operation.equals equals apply_promotions
Assertion passou conforme esperado
Valor recebido: apply_promotions
✓
body.json.cart_id.equals
PASSED
✓ Match
Condição
body.json.cart_id.equals equals null
Assertion passou conforme esperado
Valor recebido: Objeto/Array
Captured Variables
{
"promotion_result": null,
"discounted_total": 584.97,
"savings_amount": 64.99
}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)}}"
}
}
} ✅
Calculate shipping options
Step #6
2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: shipping_calculation' -H 'X-Service: shipping_service' -d '{"operation":"calculate_shipping","cart_id":null,"shipping_address":{"street":"66585 Belmont Road","city":"New Masonmouth","state":"Colorado","zip":"43413","country":"Svalbard & Jan Mayen Islands"},"cart_weight":2.5,"cart_dimensions":{"length":12,"width":8,"height":6},"shipping_preferences":[{"type":"standard","cost":9.99,"delivery_days":"5-7"},{"type":"express","cost":19.99,"delivery_days":"2-3"},{"type":"overnight","cost":39.99,"delivery_days":"1"}]}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Workflow: shipping_calculation
X-Service: shipping_serviceRequest Body
{
"operation": "calculate_shipping",
"cart_id": null,
"shipping_address": {
"street": "66585 Belmont Road",
"city": "New Masonmouth",
"state": "Colorado",
"zip": "43413",
"country": "Svalbard & Jan Mayen Islands"
},
"cart_weight": 2.5,
"cart_dimensions": {
"length": 12,
"width": 8,
"height": 6
},
"shipping_preferences": [
{
"type": "standard",
"cost": 9.99,
"delivery_days": "5-7"
},
{
"type": "express",
"cost": 19.99,
"delivery_days": "2-3"
},
{
"type": "overnight",
"cost": 39.99,
"delivery_days": "1"
}
]
}📥 Response
Status Code: 200
Duration: 2ms
Size: 1382 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: 1757
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"operation\":\"calculate_shipping\",\"cart_id\":null,\"shipping_address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"},\"cart_weight\":2.5,\"cart_dimensions\":{\"length\":12,\"width\":8,\"height\":6},\"shipping_preferences\":[{\"type\":\"standard\",\"cost\":9.99,\"delivery_days\":\"5-7\"},{\"type\":\"express\",\"cost\":19.99,\"delivery_days\":\"2-3\"},{\"type\":\"overnight\",\"cost\":39.99,\"delivery_days\":\"1\"}]}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "456",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service": "shipping_service",
"X-Workflow": "shipping_calculation"
},
"json": {
"cart_dimensions": {
"height": 6,
"length": 12,
"width": 8
},
"cart_id": null,
"cart_weight": 2.5,
"operation": "calculate_shipping",
"shipping_address": {
"city": "New Masonmouth",
"country": "Svalbard & Jan Mayen Islands",
"state": "Colorado",
"street": "66585 Belmont Road",
"zip": "43413"
},
"shipping_preferences": [
{
"cost": 9.99,
"delivery_days": "5-7",
"type": "standard"
},
{
"cost": 19.99,
"delivery_days": "2-3",
"type": "express"
},
{
"cost": 39.99,
"delivery_days": "1",
"type": "overnight"
}
]
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
3
assertions
✅
Passed
3
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.json.operation.equals
PASSED
✓ Match
Condição
body.json.operation.equals equals calculate_shipping
Assertion passou conforme esperado
Valor recebido: calculate_shipping
✓
body.json.cart_id.equals
PASSED
✓ Match
Condição
body.json.cart_id.equals equals null
Assertion passou conforme esperado
Valor recebido: Objeto/Array
Captured Variables
{
"shipping_options_result": null,
"selected_shipping_cost": 9.99,
"total_with_shipping": 594.96
}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)}}"
}
}
} ✅
Process payment transaction
Step #7
2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: payment_processing' -H 'X-Service: payment_service' -H 'X-Transaction-Type: purchase' -d '{"operation":"process_payment","customer_id":"{{customer_id}}","cart_id":null,"payment_method":"{{payment_methods[0]}}","payment_amount":594.96,"currency":"USD","billing_address":{"street":"66585 Belmont Road","city":"New Masonmouth","state":"Colorado","zip":"43413","country":"Svalbard & Jan Mayen Islands"},"transaction_metadata":{"session_id":"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66","fraud_check":"passed","risk_score":"low"}}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Workflow: payment_processing
X-Service: payment_service
X-Transaction-Type: purchaseRequest Body
{
"operation": "process_payment",
"customer_id": "{{customer_id}}",
"cart_id": null,
"payment_method": "{{payment_methods[0]}}",
"payment_amount": 594.96,
"currency": "USD",
"billing_address": {
"street": "66585 Belmont Road",
"city": "New Masonmouth",
"state": "Colorado",
"zip": "43413",
"country": "Svalbard & Jan Mayen Islands"
},
"transaction_metadata": {
"session_id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66",
"fraud_check": "passed",
"risk_score": "low"
}
}📥 Response
Status Code: 200
Duration: 2ms
Size: 1357 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: 1608
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"operation\":\"process_payment\",\"customer_id\":\"{{customer_id}}\",\"cart_id\":null,\"payment_method\":\"{{payment_methods[0]}}\",\"payment_amount\":594.96,\"currency\":\"USD\",\"billing_address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"},\"transaction_metadata\":{\"session_id\":\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\"fraud_check\":\"passed\",\"risk_score\":\"low\"}}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "436",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service": "payment_service",
"X-Transaction-Type": "purchase",
"X-Workflow": "payment_processing"
},
"json": {
"billing_address": {
"city": "New Masonmouth",
"country": "Svalbard & Jan Mayen Islands",
"state": "Colorado",
"street": "66585 Belmont Road",
"zip": "43413"
},
"cart_id": null,
"currency": "USD",
"customer_id": "{{customer_id}}",
"operation": "process_payment",
"payment_amount": 594.96,
"payment_method": "{{payment_methods[0]}}",
"transaction_metadata": {
"fraud_check": "passed",
"risk_score": "low",
"session_id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66"
}
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
4
assertions
✅
Passed
4
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.json.operation.equals
PASSED
✓ Match
Condição
body.json.operation.equals equals process_payment
Assertion passou conforme esperado
Valor recebido: process_payment
✓
body.json.customer_id.equals
PASSED
✓ Match
Condição
body.json.customer_id.equals equals {{customer_id}}
Assertion passou conforme esperado
Valor recebido: {{customer_id}}
✓
body.json.payment_amount.equals
PASSED
✓ Match
Condição
body.json.payment_amount.equals equals 594.96
Assertion passou conforme esperado
Valor recebido: 594.96
Captured Variables
{
"payment_result": null,
"transaction_id": null,
"payment_confirmation": null
}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)}}"
}
}
} ✅
Create order and send confirmation
Step #8
2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: order_creation' -H 'X-Service: order_service' -d '{"operation":"create_order","customer_id":"{{customer_id}}","cart_id":null,"transaction_id":null,"order_details":{"items_total":649.97,"discount_amount":64.99,"shipping_cost":9.99,"total_amount":594.96,"estimated_delivery":"2026-05-21T14:00:49.786Z"},"fulfillment_center":"warehouse_1","order_timestamp":"2025-10-18T11:44:57.061Z"}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Workflow: order_creation
X-Service: order_service
X-Transaction-ID: nullRequest Body
{
"operation": "create_order",
"customer_id": "{{customer_id}}",
"cart_id": null,
"transaction_id": null,
"order_details": {
"items_total": 649.97,
"discount_amount": 64.99,
"shipping_cost": 9.99,
"total_amount": 594.96,
"estimated_delivery": "2026-05-21T14:00:49.786Z"
},
"fulfillment_center": "warehouse_1",
"order_timestamp": "2025-10-18T11:44:57.061Z"
}📥 Response
Status Code: 200
Duration: 2ms
Size: 1087 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: 1293
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"operation\":\"create_order\",\"customer_id\":\"{{customer_id}}\",\"cart_id\":null,\"transaction_id\":null,\"order_details\":{\"items_total\":649.97,\"discount_amount\":64.99,\"shipping_cost\":9.99,\"total_amount\":594.96,\"estimated_delivery\":\"2026-05-21T14:00:49.786Z\"},\"fulfillment_center\":\"warehouse_1\",\"order_timestamp\":\"2025-10-18T11:44:57.061Z\"}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "331",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service": "order_service",
"X-Workflow": "order_creation"
},
"json": {
"cart_id": null,
"customer_id": "{{customer_id}}",
"fulfillment_center": "warehouse_1",
"operation": "create_order",
"order_details": {
"discount_amount": 64.99,
"estimated_delivery": "2026-05-21T14:00:49.786Z",
"items_total": 649.97,
"shipping_cost": 9.99,
"total_amount": 594.96
},
"order_timestamp": "2025-10-18T11:44:57.061Z",
"transaction_id": null
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
4
assertions
✅
Passed
4
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.json.operation.equals
PASSED
✓ Match
Condição
body.json.operation.equals equals create_order
Assertion passou conforme esperado
Valor recebido: create_order
✓
body.json.customer_id.equals
PASSED
✓ Match
Condição
body.json.customer_id.equals equals {{customer_id}}
Assertion passou conforme esperado
Valor recebido: {{customer_id}}
✓
body.json.transaction_id.equals
PASSED
✓ Match
Condição
body.json.transaction_id.equals equals null
Assertion passou conforme esperado
Valor recebido: Objeto/Array
Captured Variables
{
"order_creation_result": null,
"order_id": null,
"order_status": null
}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)}}"
}
}
} ✅
Validate user service API contract
Step #9
2ms
cURL Command
curl -X GET -H 'X-Contract-Test: user_service' -H 'X-API-Version: v1' -H 'Accept: application/json' "http://httpbin/get"📤 Request
Method: GET
URL:
http://httpbin/get Base URL:
http://httpbin Request Headers
X-Contract-Test: user_service
X-API-Version: v1
Accept: application/json📥 Response
Status Code: 200
Duration: 2ms
Size: 432 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: 527
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {
"api_contract_validation": "true",
"include_profile": "true",
"user_id": "{{customer_id}}"
},
"headers": {
"Accept": "application/json",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Api-Version": "v1",
"X-Contract-Test": "user_service"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get?user_id={{customer_id}}&include_profile=true&api_contract_validation=true"
} 📊
Total
4
assertions
✅
Passed
4
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
headers.content-type.contains
PASSED
✓ Match
Condição
headers.content-type.contains equals application/json
Assertion passou conforme esperado
Valor recebido: application/json
✓
body.args.user_id.equals
PASSED
✓ Match
Condição
body.args.user_id.equals equals {{customer_id}}
Assertion passou conforme esperado
Valor recebido: {{customer_id}}
✓
body.args.include_profile.equals
PASSED
✓ Match
Condição
body.args.include_profile.equals equals true
Assertion passou conforme esperado
Valor recebido: true
Captured Variables
{
"user_service_contract": null
}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)}}"
}
}
} ✅
Validate order service API contract
Step #10
2ms
cURL Command
curl -X GET -H 'X-Contract-Test: order_service' -H 'X-API-Version: v1' -H 'Accept: application/json' "http://httpbin/get"📤 Request
Method: GET
URL:
http://httpbin/get Base URL:
http://httpbin Request Headers
X-Contract-Test: order_service
X-API-Version: v1
Accept: application/json📥 Response
Status Code: 200
Duration: 2ms
Size: 437 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: 532
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {
"api_contract_validation": "true",
"customer_id": "{{customer_id}}",
"include_items": "true"
},
"headers": {
"Accept": "application/json",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Api-Version": "v1",
"X-Contract-Test": "order_service"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get?customer_id={{customer_id}}&include_items=true&api_contract_validation=true"
} 📊
Total
3
assertions
✅
Passed
3
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.args.order_id.equals
PASSED
✓ Match
Condição
body.args.order_id.equals equals null
Assertion passou conforme esperado
Valor recebido: Objeto/Array
✓
body.args.customer_id.equals
PASSED
✓ Match
Condição
body.args.customer_id.equals equals {{customer_id}}
Assertion passou conforme esperado
Valor recebido: {{customer_id}}
Captured Variables
{
"order_service_contract": null
}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)}}"
}
}
} ✅
Validate payment service API contract
Step #11
1ms
cURL Command
curl -X GET -H 'X-Contract-Test: payment_service' -H 'X-API-Version: v1' -H 'Accept: application/json' "http://httpbin/get"📤 Request
Method: GET
URL:
http://httpbin/get Base URL:
http://httpbin Request Headers
X-Contract-Test: payment_service
X-API-Version: v1
Accept: application/json📥 Response
Status Code: 200
Duration: 1ms
Size: 397 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: 485
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {
"api_contract_validation": "true",
"customer_id": "{{customer_id}}"
},
"headers": {
"Accept": "application/json",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Api-Version": "v1",
"X-Contract-Test": "payment_service"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get?customer_id={{customer_id}}&api_contract_validation=true"
} 📊
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.args.transaction_id.equals
PASSED
✓ Match
Condição
body.args.transaction_id.equals equals null
Assertion passou conforme esperado
Valor recebido: Objeto/Array
Captured Variables
{
"payment_service_contract": null
}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)}}"
}
}
} ✅
Test inventory service communication
Step #12
2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Service-Communication: inventory_check' -H 'X-Source-Service: order_service' -H 'X-Target-Service: inventory_service' -d '{"service_request":"inventory_check","products":[{"product_id":"PROD-001","requested_quantity":2},{"product_id":"PROD-002","requested_quantity":1}],"order_id":null,"reservation_timeout":300}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Service-Communication: inventory_check
X-Source-Service: order_service
X-Target-Service: inventory_serviceRequest Body
{
"service_request": "inventory_check",
"products": [
{
"product_id": "PROD-001",
"requested_quantity": 2
},
{
"product_id": "PROD-002",
"requested_quantity": 1
}
],
"order_id": null,
"reservation_timeout": 300
}📥 Response
Status Code: 200
Duration: 2ms
Size: 853 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: 1072
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"service_request\":\"inventory_check\",\"products\":[{\"product_id\":\"PROD-001\",\"requested_quantity\":2},{\"product_id\":\"PROD-002\",\"requested_quantity\":1}],\"order_id\":null,\"reservation_timeout\":300}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "190",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service-Communication": "inventory_check",
"X-Source-Service": "order_service",
"X-Target-Service": "inventory_service"
},
"json": {
"order_id": null,
"products": [
{
"product_id": "PROD-001",
"requested_quantity": 2
},
{
"product_id": "PROD-002",
"requested_quantity": 1
}
],
"reservation_timeout": 300,
"service_request": "inventory_check"
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
3
assertions
✅
Passed
3
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.json.service_request.equals
PASSED
✓ Match
Condição
body.json.service_request.equals equals inventory_check
Assertion passou conforme esperado
Valor recebido: inventory_check
✓
body.json.order_id.equals
PASSED
✓ Match
Condição
body.json.order_id.equals equals null
Assertion passou conforme esperado
Valor recebido: Objeto/Array
Captured Variables
{
"inventory_service_result": null
}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)}}"
}
}
} ✅
Test notification service communication
Step #13
11ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Service-Communication: send_notifications' -H 'X-Source-Service: order_service' -H 'X-Target-Service: notification_service' -d '{"service_request":"send_notifications","customer_id":"{{customer_id}}","order_id":null,"notification_types":[{"email":"order_confirmation"},{"sms":"order_status"},{"push":"delivery_update"}],"notification_preferences":{"id":"{{customer_id}}","name":"Lynne Koepp","email":"Mariah.Conn@hotmail.com","phone":"658-677-5520 x8360","address":{"street":"66585 Belmont Road","city":"New Masonmouth","state":"Colorado","zip":"43413","country":"Svalbard & Jan Mayen Islands"}}}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Service-Communication: send_notifications
X-Source-Service: order_service
X-Target-Service: notification_serviceRequest Body
{
"service_request": "send_notifications",
"customer_id": "{{customer_id}}",
"order_id": null,
"notification_types": [
{
"email": "order_confirmation"
},
{
"sms": "order_status"
},
{
"push": "delivery_update"
}
],
"notification_preferences": {
"id": "{{customer_id}}",
"name": "Lynne Koepp",
"email": "Mariah.Conn@hotmail.com",
"phone": "658-677-5520 x8360",
"address": {
"street": "66585 Belmont Road",
"city": "New Masonmouth",
"state": "Colorado",
"zip": "43413",
"country": "Svalbard & Jan Mayen Islands"
}
}
}📥 Response
Status Code: 200
Duration: 11ms
Size: 1457 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: 1796
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"service_request\":\"send_notifications\",\"customer_id\":\"{{customer_id}}\",\"order_id\":null,\"notification_types\":[{\"email\":\"order_confirmation\"},{\"sms\":\"order_status\"},{\"push\":\"delivery_update\"}],\"notification_preferences\":{\"id\":\"{{customer_id}}\",\"name\":\"Lynne Koepp\",\"email\":\"Mariah.Conn@hotmail.com\",\"phone\":\"658-677-5520 x8360\",\"address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"}}}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "468",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service-Communication": "send_notifications",
"X-Source-Service": "order_service",
"X-Target-Service": "notification_service"
},
"json": {
"customer_id": "{{customer_id}}",
"notification_preferences": {
"address": {
"city": "New Masonmouth",
"country": "Svalbard & Jan Mayen Islands",
"state": "Colorado",
"street": "66585 Belmont Road",
"zip": "43413"
},
"email": "Mariah.Conn@hotmail.com",
"id": "{{customer_id}}",
"name": "Lynne Koepp",
"phone": "658-677-5520 x8360"
},
"notification_types": [
{
"email": "order_confirmation"
},
{
"sms": "order_status"
},
{
"push": "delivery_update"
}
],
"order_id": null,
"service_request": "send_notifications"
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
3
assertions
✅
Passed
3
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.json.service_request.equals
PASSED
✓ Match
Condição
body.json.service_request.equals equals send_notifications
Assertion passou conforme esperado
Valor recebido: send_notifications
✓
body.json.customer_id.equals
PASSED
✓ Match
Condição
body.json.customer_id.equals equals {{customer_id}}
Assertion passou conforme esperado
Valor recebido: {{customer_id}}
Captured Variables
{
"notification_service_result": null
}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)}}"
}
}
} ✅
Initiate order fulfillment process
Step #14
4ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: order_fulfillment' -H 'X-Service: fulfillment_service' -d '{"operation":"initiate_fulfillment","order_id":null,"customer_id":"{{customer_id}}","fulfillment_steps":[{"step":"inventory_allocation","status":"pending"},{"step":"picking","status":"pending"},{"step":"packing","status":"pending"},{"step":"shipping_label","status":"pending"},{"step":"dispatch","status":"pending"}],"priority":"standard","fulfillment_center":"warehouse_1"}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Workflow: order_fulfillment
X-Service: fulfillment_service
X-Order-ID: nullRequest Body
{
"operation": "initiate_fulfillment",
"order_id": null,
"customer_id": "{{customer_id}}",
"fulfillment_steps": [
{
"step": "inventory_allocation",
"status": "pending"
},
{
"step": "picking",
"status": "pending"
},
{
"step": "packing",
"status": "pending"
},
{
"step": "shipping_label",
"status": "pending"
},
{
"step": "dispatch",
"status": "pending"
}
],
"priority": "standard",
"fulfillment_center": "warehouse_1"
}📥 Response
Status Code: 200
Duration: 4ms
Size: 1208 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: 1542
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"operation\":\"initiate_fulfillment\",\"order_id\":null,\"customer_id\":\"{{customer_id}}\",\"fulfillment_steps\":[{\"step\":\"inventory_allocation\",\"status\":\"pending\"},{\"step\":\"picking\",\"status\":\"pending\"},{\"step\":\"packing\",\"status\":\"pending\"},{\"step\":\"shipping_label\",\"status\":\"pending\"},{\"step\":\"dispatch\",\"status\":\"pending\"}],\"priority\":\"standard\",\"fulfillment_center\":\"warehouse_1\"}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "374",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service": "fulfillment_service",
"X-Workflow": "order_fulfillment"
},
"json": {
"customer_id": "{{customer_id}}",
"fulfillment_center": "warehouse_1",
"fulfillment_steps": [
{
"status": "pending",
"step": "inventory_allocation"
},
{
"status": "pending",
"step": "picking"
},
{
"status": "pending",
"step": "packing"
},
{
"status": "pending",
"step": "shipping_label"
},
{
"status": "pending",
"step": "dispatch"
}
],
"operation": "initiate_fulfillment",
"order_id": null,
"priority": "standard"
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
3
assertions
✅
Passed
3
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.json.operation.equals
PASSED
✓ Match
Condição
body.json.operation.equals equals initiate_fulfillment
Assertion passou conforme esperado
Valor recebido: initiate_fulfillment
✓
body.json.order_id.equals
PASSED
✓ Match
Condição
body.json.order_id.equals equals null
Assertion passou conforme esperado
Valor recebido: Objeto/Array
Captured Variables
{
"fulfillment_result": null,
"fulfillment_id": null
}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)}}"
}
}
} ✅
Track workflow analytics and metrics
Step #15
2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Analytics: workflow_tracking' -H 'X-Service: analytics_service' -d '{"analytics_event":"complete_purchase_workflow","workflow_id":"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e","customer_id":"{{customer_id}}","session_id":"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66","workflow_stages":{"registration":null,"browsing":null,"product_details":null,"cart_management":3,"promotions":null,"shipping":null,"payment":null,"order_creation":null,"fulfillment":null},"workflow_metrics":{"total_duration":"estimated_300_seconds","conversion_rate":"100%","cart_abandonment":"false","payment_success":"true"},"business_metrics":{"revenue":594.96,"items_sold":3,"discount_applied":64.99,"shipping_revenue":9.99}}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Analytics: workflow_tracking
X-Service: analytics_serviceRequest Body
{
"analytics_event": "complete_purchase_workflow",
"workflow_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e",
"customer_id": "{{customer_id}}",
"session_id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66",
"workflow_stages": {
"registration": null,
"browsing": null,
"product_details": null,
"cart_management": 3,
"promotions": null,
"shipping": null,
"payment": null,
"order_creation": null,
"fulfillment": null
},
"workflow_metrics": {
"total_duration": "estimated_300_seconds",
"conversion_rate": "100%",
"cart_abandonment": "false",
"payment_success": "true"
},
"business_metrics": {
"revenue": 594.96,
"items_sold": 3,
"discount_applied": 64.99,
"shipping_revenue": 9.99
}
}📥 Response
Status Code: 200
Duration: 2ms
Size: 1727 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: 2049
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"analytics_event\":\"complete_purchase_workflow\",\"workflow_id\":\"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e\",\"customer_id\":\"{{customer_id}}\",\"session_id\":\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\"workflow_stages\":{\"registration\":null,\"browsing\":null,\"product_details\":null,\"cart_management\":3,\"promotions\":null,\"shipping\":null,\"payment\":null,\"order_creation\":null,\"fulfillment\":null},\"workflow_metrics\":{\"total_duration\":\"estimated_300_seconds\",\"conversion_rate\":\"100%\",\"cart_abandonment\":\"false\",\"payment_success\":\"true\"},\"business_metrics\":{\"revenue\":594.96,\"items_sold\":3,\"discount_applied\":64.99,\"shipping_revenue\":9.99}}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "632",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Analytics": "workflow_tracking",
"X-Service": "analytics_service"
},
"json": {
"analytics_event": "complete_purchase_workflow",
"business_metrics": {
"discount_applied": 64.99,
"items_sold": 3,
"revenue": 594.96,
"shipping_revenue": 9.99
},
"customer_id": "{{customer_id}}",
"session_id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66",
"workflow_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e",
"workflow_metrics": {
"cart_abandonment": "false",
"conversion_rate": "100%",
"payment_success": "true",
"total_duration": "estimated_300_seconds"
},
"workflow_stages": {
"browsing": null,
"cart_management": 3,
"fulfillment": null,
"order_creation": null,
"payment": null,
"product_details": null,
"promotions": null,
"registration": null,
"shipping": null
}
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
3
assertions
✅
Passed
3
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.json.analytics_event.equals
PASSED
✓ Match
Condição
body.json.analytics_event.equals equals complete_purchase_workflow
Assertion passou conforme esperado
Valor recebido: complete_purchase_workflow
✓
body.json.workflow_id.equals
PASSED
✓ Match
Condição
body.json.workflow_id.equals equals workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e
Assertion passou conforme esperado
Valor recebido: workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e
Captured Variables
{
"analytics_result": null,
"workflow_completion_status": null
}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)}}"
}
}
} ✅
Collect complex workflow test results
Step #16
3ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -H 'X-Summary: complex_workflows_complete' -d '{"test_summary":"complex_workflows_ecommerce_contracts","workflow_test_id":"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e","ecommerce_workflow_results":{"customer_registration":null,"catalog_browsing":null,"product_details":null,"cart_management":"success","promotions_applied":null,"shipping_calculated":null,"payment_processed":null,"order_created":null,"fulfillment_initiated":null},"api_contract_validations":{"user_service":null,"order_service":null,"payment_service":null},"microservices_communication":{"inventory_service":null,"notification_service":null},"business_outcomes":{"customer_id":"{{customer_id}}","order_id":null,"transaction_id":null,"total_revenue":594.96,"items_purchased":3,"workflow_completion":null},"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"],"total_complex_workflow_tests":13,"end_to_end_success":true}' "http://httpbin/post"📤 Request
Method: POST
URL:
http://httpbin/post Base URL:
http://httpbin Request Headers
Content-Type: application/json
X-Summary: complex_workflows_completeRequest Body
{
"test_summary": "complex_workflows_ecommerce_contracts",
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e",
"ecommerce_workflow_results": {
"customer_registration": null,
"catalog_browsing": null,
"product_details": null,
"cart_management": "success",
"promotions_applied": null,
"shipping_calculated": null,
"payment_processed": null,
"order_created": null,
"fulfillment_initiated": null
},
"api_contract_validations": {
"user_service": null,
"order_service": null,
"payment_service": null
},
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"order_id": null,
"transaction_id": null,
"total_revenue": 594.96,
"items_purchased": 3,
"workflow_completion": null
},
"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"
],
"total_complex_workflow_tests": 13,
"end_to_end_success": true
}📥 Response
Status Code: 200
Duration: 3ms
Size: 2609 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: 3045
access-control-allow-origin: *
access-control-allow-credentials: trueResponse Body
{
"args": {},
"data": "{\"test_summary\":\"complex_workflows_ecommerce_contracts\",\"workflow_test_id\":\"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e\",\"ecommerce_workflow_results\":{\"customer_registration\":null,\"catalog_browsing\":null,\"product_details\":null,\"cart_management\":\"success\",\"promotions_applied\":null,\"shipping_calculated\":null,\"payment_processed\":null,\"order_created\":null,\"fulfillment_initiated\":null},\"api_contract_validations\":{\"user_service\":null,\"order_service\":null,\"payment_service\":null},\"microservices_communication\":{\"inventory_service\":null,\"notification_service\":null},\"business_outcomes\":{\"customer_id\":\"{{customer_id}}\",\"order_id\":null,\"transaction_id\":null,\"total_revenue\":594.96,\"items_purchased\":3,\"workflow_completion\":null},\"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\"],\"total_complex_workflow_tests\":13,\"end_to_end_success\":true}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "1075",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Summary": "complex_workflows_complete"
},
"json": {
"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"
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
} 📊
Total
5
assertions
✅
Passed
5
assertions
📈
Success Rate
100%
success
✓
status_code
PASSED
✓ Match
Condição
status_code equals 200
Assertion passou conforme esperado
Valor recebido: 200
✓
body.json.test_summary.equals
PASSED
✓ Match
Condição
body.json.test_summary.equals equals complex_workflows_ecommerce_contracts
Assertion passou conforme esperado
Valor recebido: complex_workflows_ecommerce_contracts
✓
body.json.workflow_test_id.equals
PASSED
✓ Match
Condição
body.json.workflow_test_id.equals equals workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e
Assertion passou conforme esperado
Valor recebido: workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e
✓
body.json.total_complex_workflow_tests.equals
PASSED
✓ Match
Condição
body.json.total_complex_workflow_tests.equals equals 13
Assertion passou conforme esperado
Valor recebido: 13
✓
body.json.end_to_end_success.equals
PASSED
✓ Match
Condição
body.json.end_to_end_success.equals equals true
Assertion passou conforme esperado
Valor recebido: true
Captured Variables
{
"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"
},
"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
},
"contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
}
}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)}}"
}
}
}📄 Raw Suite Data
Complete Suite Data
{
"node_id": "complex-workflows-test",
"suite_name": "Complex Workflows - E-commerce and API Contracts Testing",
"file_path": "/app/tests/complex-workflows-ecommerce-contracts-test.yaml",
"priority": "critical",
"start_time": "2025-10-19T10:28:37.546Z",
"end_time": "2025-10-19T10:28:37.596Z",
"duration_ms": 50,
"status": "success",
"steps_executed": 16,
"steps_successful": 16,
"steps_failed": 0,
"success_rate": 100,
"steps_results": [
{
"step_id": "step-1-customer-registration-workflow",
"qualified_step_id": "complex-workflows-test::step-1-customer-registration-workflow",
"step_name": "Customer registration workflow",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Workflow": "customer_registration",
"X-Service": "user_service",
"X-API-Version": "v1"
},
"body": {
"operation": "register_customer",
"customer_data": {
"id": "{{customer_id}}",
"name": "Lynne Koepp",
"email": "Mariah.Conn@hotmail.com",
"phone": "658-677-5520 x8360",
"address": {
"street": "66585 Belmont Road",
"city": "New Masonmouth",
"state": "Colorado",
"zip": "43413",
"country": "Svalbard & Jan Mayen Islands"
}
},
"registration_source": "web",
"marketing_consent": true,
"terms_accepted": true,
"privacy_policy_accepted": true,
"registration_timestamp": "2025-10-19T08:46:22.332Z"
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: customer_registration' -H 'X-Service: user_service' -H 'X-API-Version: v1' -d '{\"operation\":\"register_customer\",\"customer_data\":{\"id\":\"{{customer_id}}\",\"name\":\"Lynne Koepp\",\"email\":\"Mariah.Conn@hotmail.com\",\"phone\":\"658-677-5520 x8360\",\"address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"}},\"registration_source\":\"web\",\"marketing_consent\":true,\"terms_accepted\":true,\"privacy_policy_accepted\":true,\"registration_timestamp\":\"2025-10-19T08:46:22.332Z\"}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Workflow: customer_registration\r\nX-Service: user_service\r\nX-API-Version: v1\r\nContent-Length: 456\r\n\r\n{\"operation\":\"register_customer\",\"customer_data\":{\"id\":\"{{customer_id}}\",\"name\":\"Lynne Koepp\",\"email\":\"Mariah.Conn@hotmail.com\",\"phone\":\"658-677-5520 x8360\",\"address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"}},\"registration_source\":\"web\",\"marketing_consent\":true,\"terms_accepted\":true,\"privacy_policy_accepted\":true,\"registration_timestamp\":\"2025-10-19T08:46:22.332Z\"}",
"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": "1662",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"operation\":\"register_customer\",\"customer_data\":{\"id\":\"{{customer_id}}\",\"name\":\"Lynne Koepp\",\"email\":\"Mariah.Conn@hotmail.com\",\"phone\":\"658-677-5520 x8360\",\"address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"}},\"registration_source\":\"web\",\"marketing_consent\":true,\"terms_accepted\":true,\"privacy_policy_accepted\":true,\"registration_timestamp\":\"2025-10-19T08:46:22.332Z\"}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "456",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Api-Version": "v1",
"X-Service": "user_service",
"X-Workflow": "customer_registration"
},
"json": {
"customer_data": {
"address": {
"city": "New Masonmouth",
"country": "Svalbard & Jan Mayen Islands",
"state": "Colorado",
"street": "66585 Belmont Road",
"zip": "43413"
},
"email": "Mariah.Conn@hotmail.com",
"id": "{{customer_id}}",
"name": "Lynne Koepp",
"phone": "658-677-5520 x8360"
},
"marketing_consent": true,
"operation": "register_customer",
"privacy_policy_accepted": true,
"registration_source": "web",
"registration_timestamp": "2025-10-19T08:46:22.332Z",
"terms_accepted": true
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 1388,
"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: 1662\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"operation\\\":\\\"register_customer\\\",\\\"customer_data\\\":{\\\"id\\\":\\\"{{customer_id}}\\\",\\\"name\\\":\\\"Lynne Koepp\\\",\\\"email\\\":\\\"Mariah.Conn@hotmail.com\\\",\\\"phone\\\":\\\"658-677-5520 x8360\\\",\\\"address\\\":{\\\"street\\\":\\\"66585 Belmont Road\\\",\\\"city\\\":\\\"New Masonmouth\\\",\\\"state\\\":\\\"Colorado\\\",\\\"zip\\\":\\\"43413\\\",\\\"country\\\":\\\"Svalbard & Jan Mayen Islands\\\"}},\\\"registration_source\\\":\\\"web\\\",\\\"marketing_consent\\\":true,\\\"terms_accepted\\\":true,\\\"privacy_policy_accepted\\\":true,\\\"registration_timestamp\\\":\\\"2025-10-19T08:46:22.332Z\\\"}\",\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\": \"456\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Api-Version\": \"v1\",\n \"X-Service\": \"user_service\",\n \"X-Workflow\": \"customer_registration\"\n },\n \"json\": {\n \"customer_data\": {\n \"address\": {\n \"city\": \"New Masonmouth\",\n \"country\": \"Svalbard & Jan Mayen Islands\",\n \"state\": \"Colorado\",\n \"street\": \"66585 Belmont Road\",\n \"zip\": \"43413\"\n },\n \"email\": \"Mariah.Conn@hotmail.com\",\n \"id\": \"{{customer_id}}\",\n \"name\": \"Lynne Koepp\",\n \"phone\": \"658-677-5520 x8360\"\n },\n \"marketing_consent\": true,\n \"operation\": \"register_customer\",\n \"privacy_policy_accepted\": true,\n \"registration_source\": \"web\",\n \"registration_timestamp\": \"2025-10-19T08:46:22.332Z\",\n \"terms_accepted\": true\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.operation.equals",
"expected": "register_customer",
"actual": "register_customer",
"passed": true,
"message": "OK"
},
{
"field": "body.json.customer_data.type",
"expected": "object",
"actual": "object",
"passed": true,
"message": "OK"
},
{
"field": "body.json.customer_data.exists",
"expected": true,
"actual": true,
"passed": true,
"message": "OK"
},
{
"field": "body.json.registration_source.equals",
"expected": "web",
"actual": "web",
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"customer_registration_result": null,
"registered_customer_id": "{{customer_id}}"
},
"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)}}"
}
}
}
},
{
"step_id": "step-2-browse-product-catalog",
"qualified_step_id": "complex-workflows-test::step-2-browse-product-catalog",
"step_name": "Browse product catalog",
"status": "success",
"duration_ms": 1,
"request_details": {
"method": "GET",
"url": "/get",
"headers": {
"X-Workflow": "product_browsing",
"X-Service": "catalog_service",
"X-Customer-ID": "{{customer_id}}",
"X-Session-ID": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66"
},
"params": {
"category": "electronics",
"sort_by": "price",
"limit": "10",
"customer_id": "{{customer_id}}"
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/get",
"curl_command": "curl -X GET -H 'X-Workflow: product_browsing' -H 'X-Service: catalog_service' -H 'X-Customer-ID: {{customer_id}}' -H 'X-Session-ID: session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66' \"http://httpbin/get\"",
"raw_request": "GET /get HTTP/1.1\r\nHost: httpbin\r\nX-Workflow: product_browsing\r\nX-Service: catalog_service\r\nX-Customer-ID: {{customer_id}}\r\nX-Session-ID: session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\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": "669",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {
"category": "electronics",
"customer_id": "{{customer_id}}",
"limit": "10",
"sort_by": "price"
},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Customer-Id": "{{customer_id}}",
"X-Service": "catalog_service",
"X-Session-Id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66",
"X-Workflow": "product_browsing"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get?category=electronics&sort_by=price&limit=10&customer_id={{customer_id}}"
},
"size_bytes": 553,
"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: 669\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {\n \"category\": \"electronics\",\n \"customer_id\": \"{{customer_id}}\",\n \"limit\": \"10\",\n \"sort_by\": \"price\"\n },\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-Customer-Id\": \"{{customer_id}}\",\n \"X-Service\": \"catalog_service\",\n \"X-Session-Id\": \"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\n \"X-Workflow\": \"product_browsing\"\n },\n \"origin\": \"172.18.0.3\",\n \"url\": \"http://httpbin/get?category=electronics&sort_by=price&limit=10&customer_id={{customer_id}}\"\n}"
},
"assertions_results": [
{
"field": "status_code",
"expected": 200,
"actual": 200,
"passed": true,
"message": "OK"
},
{
"field": "body.args.category.equals",
"expected": "electronics",
"actual": "electronics",
"passed": true,
"message": "OK"
},
{
"field": "body.args.customer_id.equals",
"expected": "{{customer_id}}",
"actual": "{{customer_id}}",
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"catalog_browsing_result": null,
"viewed_products": null
},
"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)}}"
}
}
}
},
{
"step_id": "step-3-get-product-details-with-reviews",
"qualified_step_id": "complex-workflows-test::step-3-get-product-details-with-reviews",
"step_name": "Get product details with reviews",
"status": "success",
"duration_ms": 1,
"request_details": {
"method": "GET",
"url": "/get",
"headers": {
"X-Workflow": "product_details",
"X-Service": "product_service",
"X-Product-ID": "PROD-001"
},
"params": {
"product_id": "PROD-001",
"include_reviews": "true",
"include_recommendations": "true",
"customer_id": "{{customer_id}}"
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/get",
"curl_command": "curl -X GET -H 'X-Workflow: product_details' -H 'X-Service: product_service' -H 'X-Product-ID: PROD-001' \"http://httpbin/get\"",
"raw_request": "GET /get HTTP/1.1\r\nHost: httpbin\r\nX-Workflow: product_details\r\nX-Service: product_service\r\nX-Product-ID: PROD-001\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": "643",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {
"customer_id": "{{customer_id}}",
"include_recommendations": "true",
"include_reviews": "true",
"product_id": "PROD-001"
},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Product-Id": "PROD-001",
"X-Service": "product_service",
"X-Workflow": "product_details"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get?product_id=PROD-001&include_reviews=true&include_recommendations=true&customer_id={{customer_id}}"
},
"size_bytes": 534,
"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: 643\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {\n \"customer_id\": \"{{customer_id}}\",\n \"include_recommendations\": \"true\",\n \"include_reviews\": \"true\",\n \"product_id\": \"PROD-001\"\n },\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-Product-Id\": \"PROD-001\",\n \"X-Service\": \"product_service\",\n \"X-Workflow\": \"product_details\"\n },\n \"origin\": \"172.18.0.3\",\n \"url\": \"http://httpbin/get?product_id=PROD-001&include_reviews=true&include_recommendations=true&customer_id={{customer_id}}\"\n}"
},
"assertions_results": [
{
"field": "status_code",
"expected": 200,
"actual": 200,
"passed": true,
"message": "OK"
},
{
"field": "body.args.product_id.equals",
"expected": "PROD-001",
"actual": "PROD-001",
"passed": true,
"message": "OK"
},
{
"field": "body.args.include_reviews.equals",
"expected": "true",
"actual": "true",
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"product_details_result": null,
"selected_product_id": null
},
"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)}}"
}
}
}
},
{
"step_id": "step-4-add-products-to-shopping-cart",
"qualified_step_id": "complex-workflows-test::step-4-add-products-to-shopping-cart",
"step_name": "Add products to shopping cart",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Workflow": "add_to_cart",
"X-Service": "cart_service",
"X-Customer-ID": "{{customer_id}}"
},
"body": {
"operation": "add_to_cart",
"customer_id": "{{customer_id}}",
"session_id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66",
"items": [
{
"product_id": "PROD-001",
"quantity": 2,
"unit_price": 299.99
},
{
"product_id": "PROD-002",
"quantity": 1,
"unit_price": 49.99
}
],
"cart_timestamp": "2025-10-18T22:43:47.967Z"
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: add_to_cart' -H 'X-Service: cart_service' -H 'X-Customer-ID: {{customer_id}}' -d '{\"operation\":\"add_to_cart\",\"customer_id\":\"{{customer_id}}\",\"session_id\":\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\"items\":[{\"product_id\":\"PROD-001\",\"quantity\":2,\"unit_price\":299.99},{\"product_id\":\"PROD-002\",\"quantity\":1,\"unit_price\":49.99}],\"cart_timestamp\":\"2025-10-18T22:43:47.967Z\"}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Workflow: add_to_cart\r\nX-Service: cart_service\r\nX-Customer-ID: {{customer_id}}\r\nContent-Length: 290\r\n\r\n{\"operation\":\"add_to_cart\",\"customer_id\":\"{{customer_id}}\",\"session_id\":\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\"items\":[{\"product_id\":\"PROD-001\",\"quantity\":2,\"unit_price\":299.99},{\"product_id\":\"PROD-002\",\"quantity\":1,\"unit_price\":49.99}],\"cart_timestamp\":\"2025-10-18T22:43:47.967Z\"}",
"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": "1283",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"operation\":\"add_to_cart\",\"customer_id\":\"{{customer_id}}\",\"session_id\":\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\"items\":[{\"product_id\":\"PROD-001\",\"quantity\":2,\"unit_price\":299.99},{\"product_id\":\"PROD-002\",\"quantity\":1,\"unit_price\":49.99}],\"cart_timestamp\":\"2025-10-18T22:43:47.967Z\"}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "290",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Customer-Id": "{{customer_id}}",
"X-Service": "cart_service",
"X-Workflow": "add_to_cart"
},
"json": {
"cart_timestamp": "2025-10-18T22:43:47.967Z",
"customer_id": "{{customer_id}}",
"items": [
{
"product_id": "PROD-001",
"quantity": 2,
"unit_price": 299.99
},
{
"product_id": "PROD-002",
"quantity": 1,
"unit_price": 49.99
}
],
"operation": "add_to_cart",
"session_id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66"
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 1035,
"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: 1283\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"operation\\\":\\\"add_to_cart\\\",\\\"customer_id\\\":\\\"{{customer_id}}\\\",\\\"session_id\\\":\\\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\\\",\\\"items\\\":[{\\\"product_id\\\":\\\"PROD-001\\\",\\\"quantity\\\":2,\\\"unit_price\\\":299.99},{\\\"product_id\\\":\\\"PROD-002\\\",\\\"quantity\\\":1,\\\"unit_price\\\":49.99}],\\\"cart_timestamp\\\":\\\"2025-10-18T22:43:47.967Z\\\"}\",\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\": \"290\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Customer-Id\": \"{{customer_id}}\",\n \"X-Service\": \"cart_service\",\n \"X-Workflow\": \"add_to_cart\"\n },\n \"json\": {\n \"cart_timestamp\": \"2025-10-18T22:43:47.967Z\",\n \"customer_id\": \"{{customer_id}}\",\n \"items\": [\n {\n \"product_id\": \"PROD-001\",\n \"quantity\": 2,\n \"unit_price\": 299.99\n },\n {\n \"product_id\": \"PROD-002\",\n \"quantity\": 1,\n \"unit_price\": 49.99\n }\n ],\n \"operation\": \"add_to_cart\",\n \"session_id\": \"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\"\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.operation.equals",
"expected": "add_to_cart",
"actual": "add_to_cart",
"passed": true,
"message": "OK"
},
{
"field": "body.json.customer_id.equals",
"expected": "{{customer_id}}",
"actual": "{{customer_id}}",
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"cart_total_items": 3,
"cart_total_amount": 649.97,
"cart_id": null
},
"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)}}"
}
}
}
},
{
"step_id": "step-5-apply-promotional-codes-and-discounts",
"qualified_step_id": "complex-workflows-test::step-5-apply-promotional-codes-and-discounts",
"step_name": "Apply promotional codes and discounts",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Workflow": "apply_promotions",
"X-Service": "promotion_service",
"X-Cart-ID": null
},
"body": {
"operation": "apply_promotions",
"cart_id": null,
"customer_id": "{{customer_id}}",
"promotion_codes": [
"WELCOME10",
"BULK5"
],
"customer_tier": "regular",
"loyalty_points": 250
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: apply_promotions' -H 'X-Service: promotion_service' -d '{\"operation\":\"apply_promotions\",\"cart_id\":null,\"customer_id\":\"{{customer_id}}\",\"promotion_codes\":[\"WELCOME10\",\"BULK5\"],\"customer_tier\":\"regular\",\"loyalty_points\":250}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Workflow: apply_promotions\r\nX-Service: promotion_service\r\nContent-Length: 166\r\n\r\n{\"operation\":\"apply_promotions\",\"cart_id\":null,\"customer_id\":\"{{customer_id}}\",\"promotion_codes\":[\"WELCOME10\",\"BULK5\"],\"customer_tier\":\"regular\",\"loyalty_points\":250}",
"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": "921",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"operation\":\"apply_promotions\",\"cart_id\":null,\"customer_id\":\"{{customer_id}}\",\"promotion_codes\":[\"WELCOME10\",\"BULK5\"],\"customer_tier\":\"regular\",\"loyalty_points\":250}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "166",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service": "promotion_service",
"X-Workflow": "apply_promotions"
},
"json": {
"cart_id": null,
"customer_id": "{{customer_id}}",
"customer_tier": "regular",
"loyalty_points": 250,
"operation": "apply_promotions",
"promotion_codes": [
"WELCOME10",
"BULK5"
]
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 751,
"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: 921\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"operation\\\":\\\"apply_promotions\\\",\\\"cart_id\\\":null,\\\"customer_id\\\":\\\"{{customer_id}}\\\",\\\"promotion_codes\\\":[\\\"WELCOME10\\\",\\\"BULK5\\\"],\\\"customer_tier\\\":\\\"regular\\\",\\\"loyalty_points\\\":250}\",\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\": \"166\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Service\": \"promotion_service\",\n \"X-Workflow\": \"apply_promotions\"\n },\n \"json\": {\n \"cart_id\": null,\n \"customer_id\": \"{{customer_id}}\",\n \"customer_tier\": \"regular\",\n \"loyalty_points\": 250,\n \"operation\": \"apply_promotions\",\n \"promotion_codes\": [\n \"WELCOME10\",\n \"BULK5\"\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.operation.equals",
"expected": "apply_promotions",
"actual": "apply_promotions",
"passed": true,
"message": "OK"
},
{
"field": "body.json.cart_id.equals",
"expected": null,
"actual": null,
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"promotion_result": null,
"discounted_total": 584.97,
"savings_amount": 64.99
},
"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)}}"
}
}
}
},
{
"step_id": "step-6-calculate-shipping-options",
"qualified_step_id": "complex-workflows-test::step-6-calculate-shipping-options",
"step_name": "Calculate shipping options",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Workflow": "shipping_calculation",
"X-Service": "shipping_service"
},
"body": {
"operation": "calculate_shipping",
"cart_id": null,
"shipping_address": {
"street": "66585 Belmont Road",
"city": "New Masonmouth",
"state": "Colorado",
"zip": "43413",
"country": "Svalbard & Jan Mayen Islands"
},
"cart_weight": 2.5,
"cart_dimensions": {
"length": 12,
"width": 8,
"height": 6
},
"shipping_preferences": [
{
"type": "standard",
"cost": 9.99,
"delivery_days": "5-7"
},
{
"type": "express",
"cost": 19.99,
"delivery_days": "2-3"
},
{
"type": "overnight",
"cost": 39.99,
"delivery_days": "1"
}
]
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: shipping_calculation' -H 'X-Service: shipping_service' -d '{\"operation\":\"calculate_shipping\",\"cart_id\":null,\"shipping_address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"},\"cart_weight\":2.5,\"cart_dimensions\":{\"length\":12,\"width\":8,\"height\":6},\"shipping_preferences\":[{\"type\":\"standard\",\"cost\":9.99,\"delivery_days\":\"5-7\"},{\"type\":\"express\",\"cost\":19.99,\"delivery_days\":\"2-3\"},{\"type\":\"overnight\",\"cost\":39.99,\"delivery_days\":\"1\"}]}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Workflow: shipping_calculation\r\nX-Service: shipping_service\r\nContent-Length: 456\r\n\r\n{\"operation\":\"calculate_shipping\",\"cart_id\":null,\"shipping_address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"},\"cart_weight\":2.5,\"cart_dimensions\":{\"length\":12,\"width\":8,\"height\":6},\"shipping_preferences\":[{\"type\":\"standard\",\"cost\":9.99,\"delivery_days\":\"5-7\"},{\"type\":\"express\",\"cost\":19.99,\"delivery_days\":\"2-3\"},{\"type\":\"overnight\",\"cost\":39.99,\"delivery_days\":\"1\"}]}",
"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": "1757",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"operation\":\"calculate_shipping\",\"cart_id\":null,\"shipping_address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"},\"cart_weight\":2.5,\"cart_dimensions\":{\"length\":12,\"width\":8,\"height\":6},\"shipping_preferences\":[{\"type\":\"standard\",\"cost\":9.99,\"delivery_days\":\"5-7\"},{\"type\":\"express\",\"cost\":19.99,\"delivery_days\":\"2-3\"},{\"type\":\"overnight\",\"cost\":39.99,\"delivery_days\":\"1\"}]}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "456",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service": "shipping_service",
"X-Workflow": "shipping_calculation"
},
"json": {
"cart_dimensions": {
"height": 6,
"length": 12,
"width": 8
},
"cart_id": null,
"cart_weight": 2.5,
"operation": "calculate_shipping",
"shipping_address": {
"city": "New Masonmouth",
"country": "Svalbard & Jan Mayen Islands",
"state": "Colorado",
"street": "66585 Belmont Road",
"zip": "43413"
},
"shipping_preferences": [
{
"cost": 9.99,
"delivery_days": "5-7",
"type": "standard"
},
{
"cost": 19.99,
"delivery_days": "2-3",
"type": "express"
},
{
"cost": 39.99,
"delivery_days": "1",
"type": "overnight"
}
]
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 1382,
"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: 1757\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"operation\\\":\\\"calculate_shipping\\\",\\\"cart_id\\\":null,\\\"shipping_address\\\":{\\\"street\\\":\\\"66585 Belmont Road\\\",\\\"city\\\":\\\"New Masonmouth\\\",\\\"state\\\":\\\"Colorado\\\",\\\"zip\\\":\\\"43413\\\",\\\"country\\\":\\\"Svalbard & Jan Mayen Islands\\\"},\\\"cart_weight\\\":2.5,\\\"cart_dimensions\\\":{\\\"length\\\":12,\\\"width\\\":8,\\\"height\\\":6},\\\"shipping_preferences\\\":[{\\\"type\\\":\\\"standard\\\",\\\"cost\\\":9.99,\\\"delivery_days\\\":\\\"5-7\\\"},{\\\"type\\\":\\\"express\\\",\\\"cost\\\":19.99,\\\"delivery_days\\\":\\\"2-3\\\"},{\\\"type\\\":\\\"overnight\\\",\\\"cost\\\":39.99,\\\"delivery_days\\\":\\\"1\\\"}]}\",\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\": \"456\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Service\": \"shipping_service\",\n \"X-Workflow\": \"shipping_calculation\"\n },\n \"json\": {\n \"cart_dimensions\": {\n \"height\": 6,\n \"length\": 12,\n \"width\": 8\n },\n \"cart_id\": null,\n \"cart_weight\": 2.5,\n \"operation\": \"calculate_shipping\",\n \"shipping_address\": {\n \"city\": \"New Masonmouth\",\n \"country\": \"Svalbard & Jan Mayen Islands\",\n \"state\": \"Colorado\",\n \"street\": \"66585 Belmont Road\",\n \"zip\": \"43413\"\n },\n \"shipping_preferences\": [\n {\n \"cost\": 9.99,\n \"delivery_days\": \"5-7\",\n \"type\": \"standard\"\n },\n {\n \"cost\": 19.99,\n \"delivery_days\": \"2-3\",\n \"type\": \"express\"\n },\n {\n \"cost\": 39.99,\n \"delivery_days\": \"1\",\n \"type\": \"overnight\"\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"
},
{
"field": "body.json.operation.equals",
"expected": "calculate_shipping",
"actual": "calculate_shipping",
"passed": true,
"message": "OK"
},
{
"field": "body.json.cart_id.equals",
"expected": null,
"actual": null,
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"shipping_options_result": null,
"selected_shipping_cost": 9.99,
"total_with_shipping": 594.96
},
"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)}}"
}
}
}
},
{
"step_id": "step-7-process-payment-transaction",
"qualified_step_id": "complex-workflows-test::step-7-process-payment-transaction",
"step_name": "Process payment transaction",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Workflow": "payment_processing",
"X-Service": "payment_service",
"X-Transaction-Type": "purchase"
},
"body": {
"operation": "process_payment",
"customer_id": "{{customer_id}}",
"cart_id": null,
"payment_method": "{{payment_methods[0]}}",
"payment_amount": 594.96,
"currency": "USD",
"billing_address": {
"street": "66585 Belmont Road",
"city": "New Masonmouth",
"state": "Colorado",
"zip": "43413",
"country": "Svalbard & Jan Mayen Islands"
},
"transaction_metadata": {
"session_id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66",
"fraud_check": "passed",
"risk_score": "low"
}
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: payment_processing' -H 'X-Service: payment_service' -H 'X-Transaction-Type: purchase' -d '{\"operation\":\"process_payment\",\"customer_id\":\"{{customer_id}}\",\"cart_id\":null,\"payment_method\":\"{{payment_methods[0]}}\",\"payment_amount\":594.96,\"currency\":\"USD\",\"billing_address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"},\"transaction_metadata\":{\"session_id\":\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\"fraud_check\":\"passed\",\"risk_score\":\"low\"}}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Workflow: payment_processing\r\nX-Service: payment_service\r\nX-Transaction-Type: purchase\r\nContent-Length: 436\r\n\r\n{\"operation\":\"process_payment\",\"customer_id\":\"{{customer_id}}\",\"cart_id\":null,\"payment_method\":\"{{payment_methods[0]}}\",\"payment_amount\":594.96,\"currency\":\"USD\",\"billing_address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"},\"transaction_metadata\":{\"session_id\":\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\"fraud_check\":\"passed\",\"risk_score\":\"low\"}}",
"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": "1608",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"operation\":\"process_payment\",\"customer_id\":\"{{customer_id}}\",\"cart_id\":null,\"payment_method\":\"{{payment_methods[0]}}\",\"payment_amount\":594.96,\"currency\":\"USD\",\"billing_address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"},\"transaction_metadata\":{\"session_id\":\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\"fraud_check\":\"passed\",\"risk_score\":\"low\"}}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "436",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service": "payment_service",
"X-Transaction-Type": "purchase",
"X-Workflow": "payment_processing"
},
"json": {
"billing_address": {
"city": "New Masonmouth",
"country": "Svalbard & Jan Mayen Islands",
"state": "Colorado",
"street": "66585 Belmont Road",
"zip": "43413"
},
"cart_id": null,
"currency": "USD",
"customer_id": "{{customer_id}}",
"operation": "process_payment",
"payment_amount": 594.96,
"payment_method": "{{payment_methods[0]}}",
"transaction_metadata": {
"fraud_check": "passed",
"risk_score": "low",
"session_id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66"
}
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 1357,
"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: 1608\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"operation\\\":\\\"process_payment\\\",\\\"customer_id\\\":\\\"{{customer_id}}\\\",\\\"cart_id\\\":null,\\\"payment_method\\\":\\\"{{payment_methods[0]}}\\\",\\\"payment_amount\\\":594.96,\\\"currency\\\":\\\"USD\\\",\\\"billing_address\\\":{\\\"street\\\":\\\"66585 Belmont Road\\\",\\\"city\\\":\\\"New Masonmouth\\\",\\\"state\\\":\\\"Colorado\\\",\\\"zip\\\":\\\"43413\\\",\\\"country\\\":\\\"Svalbard & Jan Mayen Islands\\\"},\\\"transaction_metadata\\\":{\\\"session_id\\\":\\\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\\\",\\\"fraud_check\\\":\\\"passed\\\",\\\"risk_score\\\":\\\"low\\\"}}\",\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\": \"436\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Service\": \"payment_service\",\n \"X-Transaction-Type\": \"purchase\",\n \"X-Workflow\": \"payment_processing\"\n },\n \"json\": {\n \"billing_address\": {\n \"city\": \"New Masonmouth\",\n \"country\": \"Svalbard & Jan Mayen Islands\",\n \"state\": \"Colorado\",\n \"street\": \"66585 Belmont Road\",\n \"zip\": \"43413\"\n },\n \"cart_id\": null,\n \"currency\": \"USD\",\n \"customer_id\": \"{{customer_id}}\",\n \"operation\": \"process_payment\",\n \"payment_amount\": 594.96,\n \"payment_method\": \"{{payment_methods[0]}}\",\n \"transaction_metadata\": {\n \"fraud_check\": \"passed\",\n \"risk_score\": \"low\",\n \"session_id\": \"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\"\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.operation.equals",
"expected": "process_payment",
"actual": "process_payment",
"passed": true,
"message": "OK"
},
{
"field": "body.json.customer_id.equals",
"expected": "{{customer_id}}",
"actual": "{{customer_id}}",
"passed": true,
"message": "OK"
},
{
"field": "body.json.payment_amount.equals",
"expected": 594.96,
"actual": 594.96,
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"payment_result": null,
"transaction_id": null,
"payment_confirmation": null
},
"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)}}"
}
}
}
},
{
"step_id": "step-8-create-order-and-send-confirmation",
"qualified_step_id": "complex-workflows-test::step-8-create-order-and-send-confirmation",
"step_name": "Create order and send confirmation",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Workflow": "order_creation",
"X-Service": "order_service",
"X-Transaction-ID": null
},
"body": {
"operation": "create_order",
"customer_id": "{{customer_id}}",
"cart_id": null,
"transaction_id": null,
"order_details": {
"items_total": 649.97,
"discount_amount": 64.99,
"shipping_cost": 9.99,
"total_amount": 594.96,
"estimated_delivery": "2026-05-21T14:00:49.786Z"
},
"fulfillment_center": "warehouse_1",
"order_timestamp": "2025-10-18T11:44:57.061Z"
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: order_creation' -H 'X-Service: order_service' -d '{\"operation\":\"create_order\",\"customer_id\":\"{{customer_id}}\",\"cart_id\":null,\"transaction_id\":null,\"order_details\":{\"items_total\":649.97,\"discount_amount\":64.99,\"shipping_cost\":9.99,\"total_amount\":594.96,\"estimated_delivery\":\"2026-05-21T14:00:49.786Z\"},\"fulfillment_center\":\"warehouse_1\",\"order_timestamp\":\"2025-10-18T11:44:57.061Z\"}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Workflow: order_creation\r\nX-Service: order_service\r\nContent-Length: 331\r\n\r\n{\"operation\":\"create_order\",\"customer_id\":\"{{customer_id}}\",\"cart_id\":null,\"transaction_id\":null,\"order_details\":{\"items_total\":649.97,\"discount_amount\":64.99,\"shipping_cost\":9.99,\"total_amount\":594.96,\"estimated_delivery\":\"2026-05-21T14:00:49.786Z\"},\"fulfillment_center\":\"warehouse_1\",\"order_timestamp\":\"2025-10-18T11:44:57.061Z\"}",
"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": "1293",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"operation\":\"create_order\",\"customer_id\":\"{{customer_id}}\",\"cart_id\":null,\"transaction_id\":null,\"order_details\":{\"items_total\":649.97,\"discount_amount\":64.99,\"shipping_cost\":9.99,\"total_amount\":594.96,\"estimated_delivery\":\"2026-05-21T14:00:49.786Z\"},\"fulfillment_center\":\"warehouse_1\",\"order_timestamp\":\"2025-10-18T11:44:57.061Z\"}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "331",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service": "order_service",
"X-Workflow": "order_creation"
},
"json": {
"cart_id": null,
"customer_id": "{{customer_id}}",
"fulfillment_center": "warehouse_1",
"operation": "create_order",
"order_details": {
"discount_amount": 64.99,
"estimated_delivery": "2026-05-21T14:00:49.786Z",
"items_total": 649.97,
"shipping_cost": 9.99,
"total_amount": 594.96
},
"order_timestamp": "2025-10-18T11:44:57.061Z",
"transaction_id": null
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 1087,
"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: 1293\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"operation\\\":\\\"create_order\\\",\\\"customer_id\\\":\\\"{{customer_id}}\\\",\\\"cart_id\\\":null,\\\"transaction_id\\\":null,\\\"order_details\\\":{\\\"items_total\\\":649.97,\\\"discount_amount\\\":64.99,\\\"shipping_cost\\\":9.99,\\\"total_amount\\\":594.96,\\\"estimated_delivery\\\":\\\"2026-05-21T14:00:49.786Z\\\"},\\\"fulfillment_center\\\":\\\"warehouse_1\\\",\\\"order_timestamp\\\":\\\"2025-10-18T11:44:57.061Z\\\"}\",\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\": \"331\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Service\": \"order_service\",\n \"X-Workflow\": \"order_creation\"\n },\n \"json\": {\n \"cart_id\": null,\n \"customer_id\": \"{{customer_id}}\",\n \"fulfillment_center\": \"warehouse_1\",\n \"operation\": \"create_order\",\n \"order_details\": {\n \"discount_amount\": 64.99,\n \"estimated_delivery\": \"2026-05-21T14:00:49.786Z\",\n \"items_total\": 649.97,\n \"shipping_cost\": 9.99,\n \"total_amount\": 594.96\n },\n \"order_timestamp\": \"2025-10-18T11:44:57.061Z\",\n \"transaction_id\": null\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.operation.equals",
"expected": "create_order",
"actual": "create_order",
"passed": true,
"message": "OK"
},
{
"field": "body.json.customer_id.equals",
"expected": "{{customer_id}}",
"actual": "{{customer_id}}",
"passed": true,
"message": "OK"
},
{
"field": "body.json.transaction_id.equals",
"expected": null,
"actual": null,
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"order_creation_result": null,
"order_id": null,
"order_status": null
},
"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)}}"
}
}
}
},
{
"step_id": "step-9-validate-user-service-api-contract",
"qualified_step_id": "complex-workflows-test::step-9-validate-user-service-api-contract",
"step_name": "Validate user service API contract",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "GET",
"url": "/get",
"headers": {
"X-Contract-Test": "user_service",
"X-API-Version": "v1",
"Accept": "application/json"
},
"params": {
"user_id": "{{customer_id}}",
"include_profile": "true",
"api_contract_validation": "true"
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/get",
"curl_command": "curl -X GET -H 'X-Contract-Test: user_service' -H 'X-API-Version: v1' -H 'Accept: application/json' \"http://httpbin/get\"",
"raw_request": "GET /get HTTP/1.1\r\nHost: httpbin\r\nX-Contract-Test: user_service\r\nX-API-Version: v1\r\nAccept: application/json\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": "527",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {
"api_contract_validation": "true",
"include_profile": "true",
"user_id": "{{customer_id}}"
},
"headers": {
"Accept": "application/json",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Api-Version": "v1",
"X-Contract-Test": "user_service"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get?user_id={{customer_id}}&include_profile=true&api_contract_validation=true"
},
"size_bytes": 432,
"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: 527\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {\n \"api_contract_validation\": \"true\",\n \"include_profile\": \"true\",\n \"user_id\": \"{{customer_id}}\"\n },\n \"headers\": {\n \"Accept\": \"application/json\",\n \"Accept-Encoding\": \"gzip, compress, deflate, br\",\n \"Connection\": \"keep-alive\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Api-Version\": \"v1\",\n \"X-Contract-Test\": \"user_service\"\n },\n \"origin\": \"172.18.0.3\",\n \"url\": \"http://httpbin/get?user_id={{customer_id}}&include_profile=true&api_contract_validation=true\"\n}"
},
"assertions_results": [
{
"field": "status_code",
"expected": 200,
"actual": 200,
"passed": true,
"message": "OK"
},
{
"field": "headers.content-type.contains",
"expected": "application/json",
"actual": "application/json",
"passed": true,
"message": "OK"
},
{
"field": "body.args.user_id.equals",
"expected": "{{customer_id}}",
"actual": "{{customer_id}}",
"passed": true,
"message": "OK"
},
{
"field": "body.args.include_profile.equals",
"expected": "true",
"actual": "true",
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"user_service_contract": null
},
"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)}}"
}
}
}
},
{
"step_id": "step-10-validate-order-service-api-contract",
"qualified_step_id": "complex-workflows-test::step-10-validate-order-service-api-contract",
"step_name": "Validate order service API contract",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "GET",
"url": "/get",
"headers": {
"X-Contract-Test": "order_service",
"X-API-Version": "v1",
"Accept": "application/json"
},
"params": {
"order_id": null,
"customer_id": "{{customer_id}}",
"include_items": "true",
"api_contract_validation": "true"
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/get",
"curl_command": "curl -X GET -H 'X-Contract-Test: order_service' -H 'X-API-Version: v1' -H 'Accept: application/json' \"http://httpbin/get\"",
"raw_request": "GET /get HTTP/1.1\r\nHost: httpbin\r\nX-Contract-Test: order_service\r\nX-API-Version: v1\r\nAccept: application/json\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": "532",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {
"api_contract_validation": "true",
"customer_id": "{{customer_id}}",
"include_items": "true"
},
"headers": {
"Accept": "application/json",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Api-Version": "v1",
"X-Contract-Test": "order_service"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get?customer_id={{customer_id}}&include_items=true&api_contract_validation=true"
},
"size_bytes": 437,
"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: 532\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {\n \"api_contract_validation\": \"true\",\n \"customer_id\": \"{{customer_id}}\",\n \"include_items\": \"true\"\n },\n \"headers\": {\n \"Accept\": \"application/json\",\n \"Accept-Encoding\": \"gzip, compress, deflate, br\",\n \"Connection\": \"keep-alive\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Api-Version\": \"v1\",\n \"X-Contract-Test\": \"order_service\"\n },\n \"origin\": \"172.18.0.3\",\n \"url\": \"http://httpbin/get?customer_id={{customer_id}}&include_items=true&api_contract_validation=true\"\n}"
},
"assertions_results": [
{
"field": "status_code",
"expected": 200,
"actual": 200,
"passed": true,
"message": "OK"
},
{
"field": "body.args.order_id.equals",
"expected": null,
"actual": null,
"passed": true,
"message": "OK"
},
{
"field": "body.args.customer_id.equals",
"expected": "{{customer_id}}",
"actual": "{{customer_id}}",
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"order_service_contract": null
},
"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)}}"
}
}
}
},
{
"step_id": "step-11-validate-payment-service-api-contract",
"qualified_step_id": "complex-workflows-test::step-11-validate-payment-service-api-contract",
"step_name": "Validate payment service API contract",
"status": "success",
"duration_ms": 1,
"request_details": {
"method": "GET",
"url": "/get",
"headers": {
"X-Contract-Test": "payment_service",
"X-API-Version": "v1",
"Accept": "application/json"
},
"params": {
"transaction_id": null,
"customer_id": "{{customer_id}}",
"api_contract_validation": "true"
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/get",
"curl_command": "curl -X GET -H 'X-Contract-Test: payment_service' -H 'X-API-Version: v1' -H 'Accept: application/json' \"http://httpbin/get\"",
"raw_request": "GET /get HTTP/1.1\r\nHost: httpbin\r\nX-Contract-Test: payment_service\r\nX-API-Version: v1\r\nAccept: application/json\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": "485",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {
"api_contract_validation": "true",
"customer_id": "{{customer_id}}"
},
"headers": {
"Accept": "application/json",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Api-Version": "v1",
"X-Contract-Test": "payment_service"
},
"origin": "172.18.0.3",
"url": "http://httpbin/get?customer_id={{customer_id}}&api_contract_validation=true"
},
"size_bytes": 397,
"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: 485\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {\n \"api_contract_validation\": \"true\",\n \"customer_id\": \"{{customer_id}}\"\n },\n \"headers\": {\n \"Accept\": \"application/json\",\n \"Accept-Encoding\": \"gzip, compress, deflate, br\",\n \"Connection\": \"keep-alive\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Api-Version\": \"v1\",\n \"X-Contract-Test\": \"payment_service\"\n },\n \"origin\": \"172.18.0.3\",\n \"url\": \"http://httpbin/get?customer_id={{customer_id}}&api_contract_validation=true\"\n}"
},
"assertions_results": [
{
"field": "status_code",
"expected": 200,
"actual": 200,
"passed": true,
"message": "OK"
},
{
"field": "body.args.transaction_id.equals",
"expected": null,
"actual": null,
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"payment_service_contract": null
},
"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)}}"
}
}
}
},
{
"step_id": "step-12-test-inventory-service-communication",
"qualified_step_id": "complex-workflows-test::step-12-test-inventory-service-communication",
"step_name": "Test inventory service communication",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Service-Communication": "inventory_check",
"X-Source-Service": "order_service",
"X-Target-Service": "inventory_service"
},
"body": {
"service_request": "inventory_check",
"products": [
{
"product_id": "PROD-001",
"requested_quantity": 2
},
{
"product_id": "PROD-002",
"requested_quantity": 1
}
],
"order_id": null,
"reservation_timeout": 300
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Service-Communication: inventory_check' -H 'X-Source-Service: order_service' -H 'X-Target-Service: inventory_service' -d '{\"service_request\":\"inventory_check\",\"products\":[{\"product_id\":\"PROD-001\",\"requested_quantity\":2},{\"product_id\":\"PROD-002\",\"requested_quantity\":1}],\"order_id\":null,\"reservation_timeout\":300}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Service-Communication: inventory_check\r\nX-Source-Service: order_service\r\nX-Target-Service: inventory_service\r\nContent-Length: 190\r\n\r\n{\"service_request\":\"inventory_check\",\"products\":[{\"product_id\":\"PROD-001\",\"requested_quantity\":2},{\"product_id\":\"PROD-002\",\"requested_quantity\":1}],\"order_id\":null,\"reservation_timeout\":300}",
"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": "1072",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"service_request\":\"inventory_check\",\"products\":[{\"product_id\":\"PROD-001\",\"requested_quantity\":2},{\"product_id\":\"PROD-002\",\"requested_quantity\":1}],\"order_id\":null,\"reservation_timeout\":300}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "190",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service-Communication": "inventory_check",
"X-Source-Service": "order_service",
"X-Target-Service": "inventory_service"
},
"json": {
"order_id": null,
"products": [
{
"product_id": "PROD-001",
"requested_quantity": 2
},
{
"product_id": "PROD-002",
"requested_quantity": 1
}
],
"reservation_timeout": 300,
"service_request": "inventory_check"
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 853,
"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: 1072\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"service_request\\\":\\\"inventory_check\\\",\\\"products\\\":[{\\\"product_id\\\":\\\"PROD-001\\\",\\\"requested_quantity\\\":2},{\\\"product_id\\\":\\\"PROD-002\\\",\\\"requested_quantity\\\":1}],\\\"order_id\\\":null,\\\"reservation_timeout\\\":300}\",\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\": \"190\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Service-Communication\": \"inventory_check\",\n \"X-Source-Service\": \"order_service\",\n \"X-Target-Service\": \"inventory_service\"\n },\n \"json\": {\n \"order_id\": null,\n \"products\": [\n {\n \"product_id\": \"PROD-001\",\n \"requested_quantity\": 2\n },\n {\n \"product_id\": \"PROD-002\",\n \"requested_quantity\": 1\n }\n ],\n \"reservation_timeout\": 300,\n \"service_request\": \"inventory_check\"\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.service_request.equals",
"expected": "inventory_check",
"actual": "inventory_check",
"passed": true,
"message": "OK"
},
{
"field": "body.json.order_id.equals",
"expected": null,
"actual": null,
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"inventory_service_result": null
},
"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)}}"
}
}
}
},
{
"step_id": "step-13-test-notification-service-communication",
"qualified_step_id": "complex-workflows-test::step-13-test-notification-service-communication",
"step_name": "Test notification service communication",
"status": "success",
"duration_ms": 11,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Service-Communication": "send_notifications",
"X-Source-Service": "order_service",
"X-Target-Service": "notification_service"
},
"body": {
"service_request": "send_notifications",
"customer_id": "{{customer_id}}",
"order_id": null,
"notification_types": [
{
"email": "order_confirmation"
},
{
"sms": "order_status"
},
{
"push": "delivery_update"
}
],
"notification_preferences": {
"id": "{{customer_id}}",
"name": "Lynne Koepp",
"email": "Mariah.Conn@hotmail.com",
"phone": "658-677-5520 x8360",
"address": {
"street": "66585 Belmont Road",
"city": "New Masonmouth",
"state": "Colorado",
"zip": "43413",
"country": "Svalbard & Jan Mayen Islands"
}
}
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Service-Communication: send_notifications' -H 'X-Source-Service: order_service' -H 'X-Target-Service: notification_service' -d '{\"service_request\":\"send_notifications\",\"customer_id\":\"{{customer_id}}\",\"order_id\":null,\"notification_types\":[{\"email\":\"order_confirmation\"},{\"sms\":\"order_status\"},{\"push\":\"delivery_update\"}],\"notification_preferences\":{\"id\":\"{{customer_id}}\",\"name\":\"Lynne Koepp\",\"email\":\"Mariah.Conn@hotmail.com\",\"phone\":\"658-677-5520 x8360\",\"address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"}}}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Service-Communication: send_notifications\r\nX-Source-Service: order_service\r\nX-Target-Service: notification_service\r\nContent-Length: 468\r\n\r\n{\"service_request\":\"send_notifications\",\"customer_id\":\"{{customer_id}}\",\"order_id\":null,\"notification_types\":[{\"email\":\"order_confirmation\"},{\"sms\":\"order_status\"},{\"push\":\"delivery_update\"}],\"notification_preferences\":{\"id\":\"{{customer_id}}\",\"name\":\"Lynne Koepp\",\"email\":\"Mariah.Conn@hotmail.com\",\"phone\":\"658-677-5520 x8360\",\"address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"}}}",
"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": "1796",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"service_request\":\"send_notifications\",\"customer_id\":\"{{customer_id}}\",\"order_id\":null,\"notification_types\":[{\"email\":\"order_confirmation\"},{\"sms\":\"order_status\"},{\"push\":\"delivery_update\"}],\"notification_preferences\":{\"id\":\"{{customer_id}}\",\"name\":\"Lynne Koepp\",\"email\":\"Mariah.Conn@hotmail.com\",\"phone\":\"658-677-5520 x8360\",\"address\":{\"street\":\"66585 Belmont Road\",\"city\":\"New Masonmouth\",\"state\":\"Colorado\",\"zip\":\"43413\",\"country\":\"Svalbard & Jan Mayen Islands\"}}}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "468",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service-Communication": "send_notifications",
"X-Source-Service": "order_service",
"X-Target-Service": "notification_service"
},
"json": {
"customer_id": "{{customer_id}}",
"notification_preferences": {
"address": {
"city": "New Masonmouth",
"country": "Svalbard & Jan Mayen Islands",
"state": "Colorado",
"street": "66585 Belmont Road",
"zip": "43413"
},
"email": "Mariah.Conn@hotmail.com",
"id": "{{customer_id}}",
"name": "Lynne Koepp",
"phone": "658-677-5520 x8360"
},
"notification_types": [
{
"email": "order_confirmation"
},
{
"sms": "order_status"
},
{
"push": "delivery_update"
}
],
"order_id": null,
"service_request": "send_notifications"
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 1457,
"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: 1796\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"service_request\\\":\\\"send_notifications\\\",\\\"customer_id\\\":\\\"{{customer_id}}\\\",\\\"order_id\\\":null,\\\"notification_types\\\":[{\\\"email\\\":\\\"order_confirmation\\\"},{\\\"sms\\\":\\\"order_status\\\"},{\\\"push\\\":\\\"delivery_update\\\"}],\\\"notification_preferences\\\":{\\\"id\\\":\\\"{{customer_id}}\\\",\\\"name\\\":\\\"Lynne Koepp\\\",\\\"email\\\":\\\"Mariah.Conn@hotmail.com\\\",\\\"phone\\\":\\\"658-677-5520 x8360\\\",\\\"address\\\":{\\\"street\\\":\\\"66585 Belmont Road\\\",\\\"city\\\":\\\"New Masonmouth\\\",\\\"state\\\":\\\"Colorado\\\",\\\"zip\\\":\\\"43413\\\",\\\"country\\\":\\\"Svalbard & Jan Mayen Islands\\\"}}}\",\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\": \"468\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Service-Communication\": \"send_notifications\",\n \"X-Source-Service\": \"order_service\",\n \"X-Target-Service\": \"notification_service\"\n },\n \"json\": {\n \"customer_id\": \"{{customer_id}}\",\n \"notification_preferences\": {\n \"address\": {\n \"city\": \"New Masonmouth\",\n \"country\": \"Svalbard & Jan Mayen Islands\",\n \"state\": \"Colorado\",\n \"street\": \"66585 Belmont Road\",\n \"zip\": \"43413\"\n },\n \"email\": \"Mariah.Conn@hotmail.com\",\n \"id\": \"{{customer_id}}\",\n \"name\": \"Lynne Koepp\",\n \"phone\": \"658-677-5520 x8360\"\n },\n \"notification_types\": [\n {\n \"email\": \"order_confirmation\"\n },\n {\n \"sms\": \"order_status\"\n },\n {\n \"push\": \"delivery_update\"\n }\n ],\n \"order_id\": null,\n \"service_request\": \"send_notifications\"\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.service_request.equals",
"expected": "send_notifications",
"actual": "send_notifications",
"passed": true,
"message": "OK"
},
{
"field": "body.json.customer_id.equals",
"expected": "{{customer_id}}",
"actual": "{{customer_id}}",
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"notification_service_result": null
},
"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)}}"
}
}
}
},
{
"step_id": "step-14-initiate-order-fulfillment-process",
"qualified_step_id": "complex-workflows-test::step-14-initiate-order-fulfillment-process",
"step_name": "Initiate order fulfillment process",
"status": "success",
"duration_ms": 4,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Workflow": "order_fulfillment",
"X-Service": "fulfillment_service",
"X-Order-ID": null
},
"body": {
"operation": "initiate_fulfillment",
"order_id": null,
"customer_id": "{{customer_id}}",
"fulfillment_steps": [
{
"step": "inventory_allocation",
"status": "pending"
},
{
"step": "picking",
"status": "pending"
},
{
"step": "packing",
"status": "pending"
},
{
"step": "shipping_label",
"status": "pending"
},
{
"step": "dispatch",
"status": "pending"
}
],
"priority": "standard",
"fulfillment_center": "warehouse_1"
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Workflow: order_fulfillment' -H 'X-Service: fulfillment_service' -d '{\"operation\":\"initiate_fulfillment\",\"order_id\":null,\"customer_id\":\"{{customer_id}}\",\"fulfillment_steps\":[{\"step\":\"inventory_allocation\",\"status\":\"pending\"},{\"step\":\"picking\",\"status\":\"pending\"},{\"step\":\"packing\",\"status\":\"pending\"},{\"step\":\"shipping_label\",\"status\":\"pending\"},{\"step\":\"dispatch\",\"status\":\"pending\"}],\"priority\":\"standard\",\"fulfillment_center\":\"warehouse_1\"}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Workflow: order_fulfillment\r\nX-Service: fulfillment_service\r\nContent-Length: 374\r\n\r\n{\"operation\":\"initiate_fulfillment\",\"order_id\":null,\"customer_id\":\"{{customer_id}}\",\"fulfillment_steps\":[{\"step\":\"inventory_allocation\",\"status\":\"pending\"},{\"step\":\"picking\",\"status\":\"pending\"},{\"step\":\"packing\",\"status\":\"pending\"},{\"step\":\"shipping_label\",\"status\":\"pending\"},{\"step\":\"dispatch\",\"status\":\"pending\"}],\"priority\":\"standard\",\"fulfillment_center\":\"warehouse_1\"}",
"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": "1542",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"operation\":\"initiate_fulfillment\",\"order_id\":null,\"customer_id\":\"{{customer_id}}\",\"fulfillment_steps\":[{\"step\":\"inventory_allocation\",\"status\":\"pending\"},{\"step\":\"picking\",\"status\":\"pending\"},{\"step\":\"packing\",\"status\":\"pending\"},{\"step\":\"shipping_label\",\"status\":\"pending\"},{\"step\":\"dispatch\",\"status\":\"pending\"}],\"priority\":\"standard\",\"fulfillment_center\":\"warehouse_1\"}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "374",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Service": "fulfillment_service",
"X-Workflow": "order_fulfillment"
},
"json": {
"customer_id": "{{customer_id}}",
"fulfillment_center": "warehouse_1",
"fulfillment_steps": [
{
"status": "pending",
"step": "inventory_allocation"
},
{
"status": "pending",
"step": "picking"
},
{
"status": "pending",
"step": "packing"
},
{
"status": "pending",
"step": "shipping_label"
},
{
"status": "pending",
"step": "dispatch"
}
],
"operation": "initiate_fulfillment",
"order_id": null,
"priority": "standard"
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 1208,
"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: 1542\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"operation\\\":\\\"initiate_fulfillment\\\",\\\"order_id\\\":null,\\\"customer_id\\\":\\\"{{customer_id}}\\\",\\\"fulfillment_steps\\\":[{\\\"step\\\":\\\"inventory_allocation\\\",\\\"status\\\":\\\"pending\\\"},{\\\"step\\\":\\\"picking\\\",\\\"status\\\":\\\"pending\\\"},{\\\"step\\\":\\\"packing\\\",\\\"status\\\":\\\"pending\\\"},{\\\"step\\\":\\\"shipping_label\\\",\\\"status\\\":\\\"pending\\\"},{\\\"step\\\":\\\"dispatch\\\",\\\"status\\\":\\\"pending\\\"}],\\\"priority\\\":\\\"standard\\\",\\\"fulfillment_center\\\":\\\"warehouse_1\\\"}\",\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\": \"374\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Service\": \"fulfillment_service\",\n \"X-Workflow\": \"order_fulfillment\"\n },\n \"json\": {\n \"customer_id\": \"{{customer_id}}\",\n \"fulfillment_center\": \"warehouse_1\",\n \"fulfillment_steps\": [\n {\n \"status\": \"pending\",\n \"step\": \"inventory_allocation\"\n },\n {\n \"status\": \"pending\",\n \"step\": \"picking\"\n },\n {\n \"status\": \"pending\",\n \"step\": \"packing\"\n },\n {\n \"status\": \"pending\",\n \"step\": \"shipping_label\"\n },\n {\n \"status\": \"pending\",\n \"step\": \"dispatch\"\n }\n ],\n \"operation\": \"initiate_fulfillment\",\n \"order_id\": null,\n \"priority\": \"standard\"\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.operation.equals",
"expected": "initiate_fulfillment",
"actual": "initiate_fulfillment",
"passed": true,
"message": "OK"
},
{
"field": "body.json.order_id.equals",
"expected": null,
"actual": null,
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"fulfillment_result": null,
"fulfillment_id": null
},
"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)}}"
}
}
}
},
{
"step_id": "step-15-track-workflow-analytics-and-metrics",
"qualified_step_id": "complex-workflows-test::step-15-track-workflow-analytics-and-metrics",
"step_name": "Track workflow analytics and metrics",
"status": "success",
"duration_ms": 2,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Analytics": "workflow_tracking",
"X-Service": "analytics_service"
},
"body": {
"analytics_event": "complete_purchase_workflow",
"workflow_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e",
"customer_id": "{{customer_id}}",
"session_id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66",
"workflow_stages": {
"registration": null,
"browsing": null,
"product_details": null,
"cart_management": 3,
"promotions": null,
"shipping": null,
"payment": null,
"order_creation": null,
"fulfillment": null
},
"workflow_metrics": {
"total_duration": "estimated_300_seconds",
"conversion_rate": "100%",
"cart_abandonment": "false",
"payment_success": "true"
},
"business_metrics": {
"revenue": 594.96,
"items_sold": 3,
"discount_applied": 64.99,
"shipping_revenue": 9.99
}
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Analytics: workflow_tracking' -H 'X-Service: analytics_service' -d '{\"analytics_event\":\"complete_purchase_workflow\",\"workflow_id\":\"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e\",\"customer_id\":\"{{customer_id}}\",\"session_id\":\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\"workflow_stages\":{\"registration\":null,\"browsing\":null,\"product_details\":null,\"cart_management\":3,\"promotions\":null,\"shipping\":null,\"payment\":null,\"order_creation\":null,\"fulfillment\":null},\"workflow_metrics\":{\"total_duration\":\"estimated_300_seconds\",\"conversion_rate\":\"100%\",\"cart_abandonment\":\"false\",\"payment_success\":\"true\"},\"business_metrics\":{\"revenue\":594.96,\"items_sold\":3,\"discount_applied\":64.99,\"shipping_revenue\":9.99}}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Analytics: workflow_tracking\r\nX-Service: analytics_service\r\nContent-Length: 632\r\n\r\n{\"analytics_event\":\"complete_purchase_workflow\",\"workflow_id\":\"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e\",\"customer_id\":\"{{customer_id}}\",\"session_id\":\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\"workflow_stages\":{\"registration\":null,\"browsing\":null,\"product_details\":null,\"cart_management\":3,\"promotions\":null,\"shipping\":null,\"payment\":null,\"order_creation\":null,\"fulfillment\":null},\"workflow_metrics\":{\"total_duration\":\"estimated_300_seconds\",\"conversion_rate\":\"100%\",\"cart_abandonment\":\"false\",\"payment_success\":\"true\"},\"business_metrics\":{\"revenue\":594.96,\"items_sold\":3,\"discount_applied\":64.99,\"shipping_revenue\":9.99}}",
"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": "2049",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"analytics_event\":\"complete_purchase_workflow\",\"workflow_id\":\"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e\",\"customer_id\":\"{{customer_id}}\",\"session_id\":\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\"workflow_stages\":{\"registration\":null,\"browsing\":null,\"product_details\":null,\"cart_management\":3,\"promotions\":null,\"shipping\":null,\"payment\":null,\"order_creation\":null,\"fulfillment\":null},\"workflow_metrics\":{\"total_duration\":\"estimated_300_seconds\",\"conversion_rate\":\"100%\",\"cart_abandonment\":\"false\",\"payment_success\":\"true\"},\"business_metrics\":{\"revenue\":594.96,\"items_sold\":3,\"discount_applied\":64.99,\"shipping_revenue\":9.99}}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "632",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Analytics": "workflow_tracking",
"X-Service": "analytics_service"
},
"json": {
"analytics_event": "complete_purchase_workflow",
"business_metrics": {
"discount_applied": 64.99,
"items_sold": 3,
"revenue": 594.96,
"shipping_revenue": 9.99
},
"customer_id": "{{customer_id}}",
"session_id": "session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66",
"workflow_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e",
"workflow_metrics": {
"cart_abandonment": "false",
"conversion_rate": "100%",
"payment_success": "true",
"total_duration": "estimated_300_seconds"
},
"workflow_stages": {
"browsing": null,
"cart_management": 3,
"fulfillment": null,
"order_creation": null,
"payment": null,
"product_details": null,
"promotions": null,
"registration": null,
"shipping": null
}
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 1727,
"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: 2049\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"analytics_event\\\":\\\"complete_purchase_workflow\\\",\\\"workflow_id\\\":\\\"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e\\\",\\\"customer_id\\\":\\\"{{customer_id}}\\\",\\\"session_id\\\":\\\"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\\\",\\\"workflow_stages\\\":{\\\"registration\\\":null,\\\"browsing\\\":null,\\\"product_details\\\":null,\\\"cart_management\\\":3,\\\"promotions\\\":null,\\\"shipping\\\":null,\\\"payment\\\":null,\\\"order_creation\\\":null,\\\"fulfillment\\\":null},\\\"workflow_metrics\\\":{\\\"total_duration\\\":\\\"estimated_300_seconds\\\",\\\"conversion_rate\\\":\\\"100%\\\",\\\"cart_abandonment\\\":\\\"false\\\",\\\"payment_success\\\":\\\"true\\\"},\\\"business_metrics\\\":{\\\"revenue\\\":594.96,\\\"items_sold\\\":3,\\\"discount_applied\\\":64.99,\\\"shipping_revenue\\\":9.99}}\",\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\": \"632\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Analytics\": \"workflow_tracking\",\n \"X-Service\": \"analytics_service\"\n },\n \"json\": {\n \"analytics_event\": \"complete_purchase_workflow\",\n \"business_metrics\": {\n \"discount_applied\": 64.99,\n \"items_sold\": 3,\n \"revenue\": 594.96,\n \"shipping_revenue\": 9.99\n },\n \"customer_id\": \"{{customer_id}}\",\n \"session_id\": \"session-f330ec22-e3f1-4d4d-9339-30bcb86a1a66\",\n \"workflow_id\": \"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e\",\n \"workflow_metrics\": {\n \"cart_abandonment\": \"false\",\n \"conversion_rate\": \"100%\",\n \"payment_success\": \"true\",\n \"total_duration\": \"estimated_300_seconds\"\n },\n \"workflow_stages\": {\n \"browsing\": null,\n \"cart_management\": 3,\n \"fulfillment\": null,\n \"order_creation\": null,\n \"payment\": null,\n \"product_details\": null,\n \"promotions\": null,\n \"registration\": null,\n \"shipping\": null\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.analytics_event.equals",
"expected": "complete_purchase_workflow",
"actual": "complete_purchase_workflow",
"passed": true,
"message": "OK"
},
{
"field": "body.json.workflow_id.equals",
"expected": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e",
"actual": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e",
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"analytics_result": null,
"workflow_completion_status": null
},
"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)}}"
}
}
}
},
{
"step_id": "step-16-collect-complex-workflow-test-results",
"qualified_step_id": "complex-workflows-test::step-16-collect-complex-workflow-test-results",
"step_name": "Collect complex workflow test results",
"status": "success",
"duration_ms": 3,
"request_details": {
"method": "POST",
"url": "/post",
"headers": {
"Content-Type": "application/json",
"X-Summary": "complex_workflows_complete"
},
"body": {
"test_summary": "complex_workflows_ecommerce_contracts",
"workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e",
"ecommerce_workflow_results": {
"customer_registration": null,
"catalog_browsing": null,
"product_details": null,
"cart_management": "success",
"promotions_applied": null,
"shipping_calculated": null,
"payment_processed": null,
"order_created": null,
"fulfillment_initiated": null
},
"api_contract_validations": {
"user_service": null,
"order_service": null,
"payment_service": null
},
"microservices_communication": {
"inventory_service": null,
"notification_service": null
},
"business_outcomes": {
"customer_id": "{{customer_id}}",
"order_id": null,
"transaction_id": null,
"total_revenue": 594.96,
"items_purchased": 3,
"workflow_completion": null
},
"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"
],
"total_complex_workflow_tests": 13,
"end_to_end_success": true
},
"base_url": "http://httpbin",
"full_url": "http://httpbin/post",
"curl_command": "curl -X POST -H 'Content-Type: application/json' -H 'X-Summary: complex_workflows_complete' -d '{\"test_summary\":\"complex_workflows_ecommerce_contracts\",\"workflow_test_id\":\"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e\",\"ecommerce_workflow_results\":{\"customer_registration\":null,\"catalog_browsing\":null,\"product_details\":null,\"cart_management\":\"success\",\"promotions_applied\":null,\"shipping_calculated\":null,\"payment_processed\":null,\"order_created\":null,\"fulfillment_initiated\":null},\"api_contract_validations\":{\"user_service\":null,\"order_service\":null,\"payment_service\":null},\"microservices_communication\":{\"inventory_service\":null,\"notification_service\":null},\"business_outcomes\":{\"customer_id\":\"{{customer_id}}\",\"order_id\":null,\"transaction_id\":null,\"total_revenue\":594.96,\"items_purchased\":3,\"workflow_completion\":null},\"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\"],\"total_complex_workflow_tests\":13,\"end_to_end_success\":true}' \"http://httpbin/post\"",
"raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nX-Summary: complex_workflows_complete\r\nContent-Length: 1075\r\n\r\n{\"test_summary\":\"complex_workflows_ecommerce_contracts\",\"workflow_test_id\":\"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e\",\"ecommerce_workflow_results\":{\"customer_registration\":null,\"catalog_browsing\":null,\"product_details\":null,\"cart_management\":\"success\",\"promotions_applied\":null,\"shipping_calculated\":null,\"payment_processed\":null,\"order_created\":null,\"fulfillment_initiated\":null},\"api_contract_validations\":{\"user_service\":null,\"order_service\":null,\"payment_service\":null},\"microservices_communication\":{\"inventory_service\":null,\"notification_service\":null},\"business_outcomes\":{\"customer_id\":\"{{customer_id}}\",\"order_id\":null,\"transaction_id\":null,\"total_revenue\":594.96,\"items_purchased\":3,\"workflow_completion\":null},\"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\"],\"total_complex_workflow_tests\":13,\"end_to_end_success\":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": "3045",
"access-control-allow-origin": "*",
"access-control-allow-credentials": "true"
},
"body": {
"args": {},
"data": "{\"test_summary\":\"complex_workflows_ecommerce_contracts\",\"workflow_test_id\":\"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e\",\"ecommerce_workflow_results\":{\"customer_registration\":null,\"catalog_browsing\":null,\"product_details\":null,\"cart_management\":\"success\",\"promotions_applied\":null,\"shipping_calculated\":null,\"payment_processed\":null,\"order_created\":null,\"fulfillment_initiated\":null},\"api_contract_validations\":{\"user_service\":null,\"order_service\":null,\"payment_service\":null},\"microservices_communication\":{\"inventory_service\":null,\"notification_service\":null},\"business_outcomes\":{\"customer_id\":\"{{customer_id}}\",\"order_id\":null,\"transaction_id\":null,\"total_revenue\":594.96,\"items_purchased\":3,\"workflow_completion\":null},\"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\"],\"total_complex_workflow_tests\":13,\"end_to_end_success\":true}",
"files": {},
"form": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, compress, deflate, br",
"Connection": "keep-alive",
"Content-Length": "1075",
"Content-Type": "application/json",
"Host": "httpbin",
"User-Agent": "axios/1.12.1",
"X-Summary": "complex_workflows_complete"
},
"json": {
"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"
},
"origin": "172.18.0.3",
"url": "http://httpbin/post"
},
"size_bytes": 2609,
"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: 3045\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n \"args\": {},\n \"data\": \"{\\\"test_summary\\\":\\\"complex_workflows_ecommerce_contracts\\\",\\\"workflow_test_id\\\":\\\"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e\\\",\\\"ecommerce_workflow_results\\\":{\\\"customer_registration\\\":null,\\\"catalog_browsing\\\":null,\\\"product_details\\\":null,\\\"cart_management\\\":\\\"success\\\",\\\"promotions_applied\\\":null,\\\"shipping_calculated\\\":null,\\\"payment_processed\\\":null,\\\"order_created\\\":null,\\\"fulfillment_initiated\\\":null},\\\"api_contract_validations\\\":{\\\"user_service\\\":null,\\\"order_service\\\":null,\\\"payment_service\\\":null},\\\"microservices_communication\\\":{\\\"inventory_service\\\":null,\\\"notification_service\\\":null},\\\"business_outcomes\\\":{\\\"customer_id\\\":\\\"{{customer_id}}\\\",\\\"order_id\\\":null,\\\"transaction_id\\\":null,\\\"total_revenue\\\":594.96,\\\"items_purchased\\\":3,\\\"workflow_completion\\\":null},\\\"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\\\"],\\\"total_complex_workflow_tests\\\":13,\\\"end_to_end_success\\\":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\": \"1075\",\n \"Content-Type\": \"application/json\",\n \"Host\": \"httpbin\",\n \"User-Agent\": \"axios/1.12.1\",\n \"X-Summary\": \"complex_workflows_complete\"\n },\n \"json\": {\n \"api_contract_validations\": {\n \"order_service\": null,\n \"payment_service\": null,\n \"user_service\": null\n },\n \"business_outcomes\": {\n \"customer_id\": \"{{customer_id}}\",\n \"items_purchased\": 3,\n \"order_id\": null,\n \"total_revenue\": 594.96,\n \"transaction_id\": null,\n \"workflow_completion\": null\n },\n \"ecommerce_workflow_results\": {\n \"cart_management\": \"success\",\n \"catalog_browsing\": null,\n \"customer_registration\": null,\n \"fulfillment_initiated\": null,\n \"order_created\": null,\n \"payment_processed\": null,\n \"product_details\": null,\n \"promotions_applied\": null,\n \"shipping_calculated\": null\n },\n \"end_to_end_success\": true,\n \"microservices_communication\": {\n \"inventory_service\": null,\n \"notification_service\": null\n },\n \"test_summary\": \"complex_workflows_ecommerce_contracts\",\n \"total_complex_workflow_tests\": 13,\n \"workflow_patterns_tested\": [\n \"customer_lifecycle_management\",\n \"product_catalog_interaction\",\n \"cart_and_checkout_process\",\n \"payment_transaction_flow\",\n \"order_fulfillment_pipeline\",\n \"api_contract_validation\",\n \"microservices_integration\",\n \"end_to_end_business_process\",\n \"workflow_analytics_tracking\"\n ],\n \"workflow_test_id\": \"workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e\"\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.test_summary.equals",
"expected": "complex_workflows_ecommerce_contracts",
"actual": "complex_workflows_ecommerce_contracts",
"passed": true,
"message": "OK"
},
{
"field": "body.json.workflow_test_id.equals",
"expected": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e",
"actual": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e",
"passed": true,
"message": "OK"
},
{
"field": "body.json.total_complex_workflow_tests.equals",
"expected": 13,
"actual": 13,
"passed": true,
"message": "OK"
},
{
"field": "body.json.end_to_end_success.equals",
"expected": true,
"actual": true,
"passed": true,
"message": "OK"
}
],
"captured_variables": {
"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"
},
"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
},
"contract_validation_results": {
"order_service": null,
"payment_service": null,
"user_service": null
}
},
"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)}}"
}
}
}
}
],
"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)}}"
}
}
},
"suite_yaml_content": "suite_name: \"Complex Workflows - E-commerce and API Contracts Testing\"\nnode_id: \"complex-workflows-test\"\ndescription: \"Comprehensive testing of complex business workflows including complete e-commerce flows, API contract validation, microservices communication, and end-to-end scenarios\"\nbase_url: \"{{httpbin_url}}\"\n\nmetadata:\n priority: \"critical\"\n tags: [\"workflows\", \"e-commerce\", \"api-contracts\", \"end-to-end\", \"business-logic\", \"microservices\"]\n estimated_duration_ms: 35000\n\nvariables:\n workflow_test_id: \"workflow-{{$faker.string.uuid}}\"\n customer_id: \"{{$faker.number.int({min: 1000, max: 9999})}}\"\n session_id: \"session-{{$faker.string.uuid}}\"\n\n # E-commerce test data\n customer_data:\n id: \"{{customer_id}}\"\n name: \"{{$faker.person.fullName}}\"\n email: \"{{$faker.internet.email}}\"\n phone: \"{{$faker.phone.number}}\"\n address:\n street: \"{{$faker.location.streetAddress}}\"\n city: \"{{$faker.location.city}}\"\n state: \"{{$faker.location.state}}\"\n zip: \"{{$faker.location.zipCode}}\"\n country: \"{{$faker.location.country}}\"\n\n product_catalog:\n - id: \"PROD-001\"\n name: \"Premium Widget\"\n price: 299.99\n category: \"electronics\"\n stock: 50\n - id: \"PROD-002\"\n name: \"Basic Tool\"\n price: 49.99\n category: \"tools\"\n stock: 100\n - id: \"PROD-003\"\n name: \"Advanced Kit\"\n price: 599.99\n category: \"kits\"\n stock: 25\n\n payment_methods:\n - type: \"credit_card\"\n provider: \"visa\"\n last_four: \"1234\"\n - type: \"paypal\"\n email: \"{{customer_data.email}}\"\n - type: \"bank_transfer\"\n routing: \"123456789\"\n\nexports: [\"workflow_results\", \"ecommerce_data\", \"contract_validation_results\"]\n\nsteps:\n # 1. E-COMMERCE WORKFLOW - Customer Registration\n - name: \"Customer registration workflow\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Workflow: \"customer_registration\"\n X-Service: \"user_service\"\n X-API-Version: \"v1\"\n body:\n operation: \"register_customer\"\n customer_data: \"{{customer_data}}\"\n registration_source: \"web\"\n marketing_consent: true\n terms_accepted: true\n privacy_policy_accepted: true\n registration_timestamp: \"{{$faker.date.recent}}\"\n assert:\n status_code: 200\n body:\n json:\n operation: { equals: \"register_customer\" }\n customer_data: { exists: true, type: \"object\" }\n registration_source: { equals: \"web\" }\n capture:\n customer_registration_result: \"success\"\n registered_customer_id: \"{{customer_id}}\"\n\n # 2. E-COMMERCE WORKFLOW - Product Catalog Browsing\n - name: \"Browse product catalog\"\n request:\n method: \"GET\"\n url: \"/get\"\n headers:\n X-Workflow: \"product_browsing\"\n X-Service: \"catalog_service\"\n X-Customer-ID: \"{{registered_customer_id}}\"\n X-Session-ID: \"{{session_id}}\"\n params:\n category: \"electronics\"\n sort_by: \"price\"\n limit: \"10\"\n customer_id: \"{{registered_customer_id}}\"\n assert:\n status_code: 200\n body:\n args:\n category: { equals: \"electronics\" }\n customer_id: { equals: \"{{registered_customer_id}}\" }\n capture:\n catalog_browsing_result: \"success\"\n viewed_products: \"electronics_category\"\n\n # 3. E-COMMERCE WORKFLOW - Product Details and Reviews\n - name: \"Get product details with reviews\"\n request:\n method: \"GET\"\n url: \"/get\"\n headers:\n X-Workflow: \"product_details\"\n X-Service: \"product_service\"\n X-Product-ID: \"PROD-001\"\n params:\n product_id: \"PROD-001\"\n include_reviews: \"true\"\n include_recommendations: \"true\"\n customer_id: \"{{registered_customer_id}}\"\n assert:\n status_code: 200\n body:\n args:\n product_id: { equals: \"PROD-001\" }\n include_reviews: { equals: \"true\" }\n capture:\n product_details_result: \"success\"\n selected_product_id: \"args.product_id\"\n\n # 4. E-COMMERCE WORKFLOW - Add to Cart\n - name: \"Add products to shopping cart\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Workflow: \"add_to_cart\"\n X-Service: \"cart_service\"\n X-Customer-ID: \"{{registered_customer_id}}\"\n body:\n operation: \"add_to_cart\"\n customer_id: \"{{registered_customer_id}}\"\n session_id: \"{{session_id}}\"\n items:\n - product_id: \"PROD-001\"\n quantity: 2\n unit_price: 299.99\n - product_id: \"PROD-002\"\n quantity: 1\n unit_price: 49.99\n cart_timestamp: \"{{$faker.date.recent}}\"\n assert:\n status_code: 200\n body:\n json:\n operation: { equals: \"add_to_cart\" }\n customer_id: { equals: \"{{registered_customer_id}}\" }\n items: { length: 2 }\n capture:\n cart_total_items: 3\n cart_total_amount: 649.97\n cart_id: \"json.session_id\"\n\n # 5. E-COMMERCE WORKFLOW - Apply Promotions and Discounts\n - name: \"Apply promotional codes and discounts\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Workflow: \"apply_promotions\"\n X-Service: \"promotion_service\"\n X-Cart-ID: \"{{cart_id}}\"\n body:\n operation: \"apply_promotions\"\n cart_id: \"{{cart_id}}\"\n customer_id: \"{{registered_customer_id}}\"\n promotion_codes: [\"WELCOME10\", \"BULK5\"]\n customer_tier: \"regular\"\n loyalty_points: 250\n assert:\n status_code: 200\n body:\n json:\n operation: { equals: \"apply_promotions\" }\n cart_id: { equals: \"{{cart_id}}\" }\n capture:\n promotion_result: \"applied\"\n discounted_total: 584.97\n savings_amount: 64.99\n\n # 6. E-COMMERCE WORKFLOW - Shipping Options\n - name: \"Calculate shipping options\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Workflow: \"shipping_calculation\"\n X-Service: \"shipping_service\"\n body:\n operation: \"calculate_shipping\"\n cart_id: \"{{cart_id}}\"\n shipping_address: \"{{customer_data.address}}\"\n cart_weight: 2.5\n cart_dimensions:\n length: 12\n width: 8\n height: 6\n shipping_preferences:\n - type: \"standard\"\n cost: 9.99\n delivery_days: \"5-7\"\n - type: \"express\"\n cost: 19.99\n delivery_days: \"2-3\"\n - type: \"overnight\"\n cost: 39.99\n delivery_days: \"1\"\n assert:\n status_code: 200\n body:\n json:\n operation: { equals: \"calculate_shipping\" }\n cart_id: { equals: \"{{cart_id}}\" }\n capture:\n shipping_options_result: \"calculated\"\n selected_shipping_cost: 9.99\n total_with_shipping: 594.96\n\n # 7. E-COMMERCE WORKFLOW - Payment Processing\n - name: \"Process payment transaction\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Workflow: \"payment_processing\"\n X-Service: \"payment_service\"\n X-Transaction-Type: \"purchase\"\n body:\n operation: \"process_payment\"\n customer_id: \"{{registered_customer_id}}\"\n cart_id: \"{{cart_id}}\"\n payment_method: \"{{payment_methods[0]}}\"\n payment_amount: \"{{total_with_shipping}}\"\n currency: \"USD\"\n billing_address: \"{{customer_data.address}}\"\n transaction_metadata:\n session_id: \"{{session_id}}\"\n fraud_check: \"passed\"\n risk_score: \"low\"\n assert:\n status_code: 200\n body:\n json:\n operation: { equals: \"process_payment\" }\n customer_id: { equals: \"{{registered_customer_id}}\" }\n payment_amount: { equals: \"{{total_with_shipping}}\" }\n capture:\n payment_result: \"success\"\n transaction_id: \"json.customer_id\"\n payment_confirmation: \"confirmed\"\n\n # 8. E-COMMERCE WORKFLOW - Order Creation and Confirmation\n - name: \"Create order and send confirmation\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Workflow: \"order_creation\"\n X-Service: \"order_service\"\n X-Transaction-ID: \"{{transaction_id}}\"\n body:\n operation: \"create_order\"\n customer_id: \"{{registered_customer_id}}\"\n cart_id: \"{{cart_id}}\"\n transaction_id: \"{{transaction_id}}\"\n order_details:\n items_total: \"{{cart_total_amount}}\"\n discount_amount: \"{{savings_amount}}\"\n shipping_cost: \"{{selected_shipping_cost}}\"\n total_amount: \"{{total_with_shipping}}\"\n estimated_delivery: \"{{$faker.date.future}}\"\n fulfillment_center: \"warehouse_1\"\n order_timestamp: \"{{$faker.date.recent}}\"\n assert:\n status_code: 200\n body:\n json:\n operation: { equals: \"create_order\" }\n customer_id: { equals: \"{{registered_customer_id}}\" }\n transaction_id: { equals: \"{{transaction_id}}\" }\n capture:\n order_creation_result: \"success\"\n order_id: \"json.customer_id\"\n order_status: \"confirmed\"\n\n # 9. API CONTRACT VALIDATION - Service Integration Testing\n - name: \"Validate user service API contract\"\n request:\n method: \"GET\"\n url: \"/get\"\n headers:\n X-Contract-Test: \"user_service\"\n X-API-Version: \"v1\"\n Accept: \"application/json\"\n params:\n user_id: \"{{registered_customer_id}}\"\n include_profile: \"true\"\n api_contract_validation: \"true\"\n assert:\n status_code: 200\n headers:\n \"content-type\": { contains: \"application/json\" }\n body:\n args:\n user_id: { equals: \"{{registered_customer_id}}\" }\n include_profile: { equals: \"true\" }\n capture:\n user_service_contract: \"validated\"\n\n - name: \"Validate order service API contract\"\n request:\n method: \"GET\"\n url: \"/get\"\n headers:\n X-Contract-Test: \"order_service\"\n X-API-Version: \"v1\"\n Accept: \"application/json\"\n params:\n order_id: \"{{order_id}}\"\n customer_id: \"{{registered_customer_id}}\"\n include_items: \"true\"\n api_contract_validation: \"true\"\n assert:\n status_code: 200\n body:\n args:\n order_id: { equals: \"{{order_id}}\" }\n customer_id: { equals: \"{{registered_customer_id}}\" }\n capture:\n order_service_contract: \"validated\"\n\n - name: \"Validate payment service API contract\"\n request:\n method: \"GET\"\n url: \"/get\"\n headers:\n X-Contract-Test: \"payment_service\"\n X-API-Version: \"v1\"\n Accept: \"application/json\"\n params:\n transaction_id: \"{{transaction_id}}\"\n customer_id: \"{{registered_customer_id}}\"\n api_contract_validation: \"true\"\n assert:\n status_code: 200\n body:\n args:\n transaction_id: { equals: \"{{transaction_id}}\" }\n capture:\n payment_service_contract: \"validated\"\n\n # 10. MICROSERVICES COMMUNICATION - Service-to-Service Integration\n - name: \"Test inventory service communication\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Service-Communication: \"inventory_check\"\n X-Source-Service: \"order_service\"\n X-Target-Service: \"inventory_service\"\n body:\n service_request: \"inventory_check\"\n products:\n - product_id: \"PROD-001\"\n requested_quantity: 2\n - product_id: \"PROD-002\"\n requested_quantity: 1\n order_id: \"{{order_id}}\"\n reservation_timeout: 300\n assert:\n status_code: 200\n body:\n json:\n service_request: { equals: \"inventory_check\" }\n order_id: { equals: \"{{order_id}}\" }\n capture:\n inventory_service_result: \"stock_available\"\n\n - name: \"Test notification service communication\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Service-Communication: \"send_notifications\"\n X-Source-Service: \"order_service\"\n X-Target-Service: \"notification_service\"\n body:\n service_request: \"send_notifications\"\n customer_id: \"{{registered_customer_id}}\"\n order_id: \"{{order_id}}\"\n notification_types:\n - email: \"order_confirmation\"\n - sms: \"order_status\"\n - push: \"delivery_update\"\n notification_preferences: \"{{customer_data}}\"\n assert:\n status_code: 200\n body:\n json:\n service_request: { equals: \"send_notifications\" }\n customer_id: { equals: \"{{registered_customer_id}}\" }\n capture:\n notification_service_result: \"notifications_sent\"\n\n # 11. END-TO-END WORKFLOW - Order Fulfillment\n - name: \"Initiate order fulfillment process\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Workflow: \"order_fulfillment\"\n X-Service: \"fulfillment_service\"\n X-Order-ID: \"{{order_id}}\"\n body:\n operation: \"initiate_fulfillment\"\n order_id: \"{{order_id}}\"\n customer_id: \"{{registered_customer_id}}\"\n fulfillment_steps:\n - step: \"inventory_allocation\"\n status: \"pending\"\n - step: \"picking\"\n status: \"pending\"\n - step: \"packing\"\n status: \"pending\"\n - step: \"shipping_label\"\n status: \"pending\"\n - step: \"dispatch\"\n status: \"pending\"\n priority: \"standard\"\n fulfillment_center: \"warehouse_1\"\n assert:\n status_code: 200\n body:\n json:\n operation: { equals: \"initiate_fulfillment\" }\n order_id: { equals: \"{{order_id}}\" }\n capture:\n fulfillment_result: \"initiated\"\n fulfillment_id: \"json.order_id\"\n\n # 12. WORKFLOW MONITORING AND ANALYTICS\n - name: \"Track workflow analytics and metrics\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Analytics: \"workflow_tracking\"\n X-Service: \"analytics_service\"\n body:\n analytics_event: \"complete_purchase_workflow\"\n workflow_id: \"{{workflow_test_id}}\"\n customer_id: \"{{registered_customer_id}}\"\n session_id: \"{{session_id}}\"\n workflow_stages:\n registration: \"{{customer_registration_result}}\"\n browsing: \"{{catalog_browsing_result}}\"\n product_details: \"{{product_details_result}}\"\n cart_management: \"{{cart_total_items}}\"\n promotions: \"{{promotion_result}}\"\n shipping: \"{{shipping_options_result}}\"\n payment: \"{{payment_result}}\"\n order_creation: \"{{order_creation_result}}\"\n fulfillment: \"{{fulfillment_result}}\"\n workflow_metrics:\n total_duration: \"estimated_300_seconds\"\n conversion_rate: \"100%\"\n cart_abandonment: \"false\"\n payment_success: \"true\"\n business_metrics:\n revenue: \"{{total_with_shipping}}\"\n items_sold: \"{{cart_total_items}}\"\n discount_applied: \"{{savings_amount}}\"\n shipping_revenue: \"{{selected_shipping_cost}}\"\n assert:\n status_code: 200\n body:\n json:\n analytics_event: { equals: \"complete_purchase_workflow\" }\n workflow_id: { equals: \"{{workflow_test_id}}\" }\n capture:\n analytics_result: \"tracked\"\n workflow_completion_status: \"successful\"\n\n # 13. FINAL WORKFLOW SUMMARY AND VALIDATION\n - name: \"Collect complex workflow test results\"\n request:\n method: \"POST\"\n url: \"/post\"\n headers:\n Content-Type: \"application/json\"\n X-Summary: \"complex_workflows_complete\"\n body:\n test_summary: \"complex_workflows_ecommerce_contracts\"\n workflow_test_id: \"{{workflow_test_id}}\"\n ecommerce_workflow_results:\n customer_registration: \"{{customer_registration_result}}\"\n catalog_browsing: \"{{catalog_browsing_result}}\"\n product_details: \"{{product_details_result}}\"\n cart_management: \"success\"\n promotions_applied: \"{{promotion_result}}\"\n shipping_calculated: \"{{shipping_options_result}}\"\n payment_processed: \"{{payment_result}}\"\n order_created: \"{{order_creation_result}}\"\n fulfillment_initiated: \"{{fulfillment_result}}\"\n api_contract_validations:\n user_service: \"{{user_service_contract}}\"\n order_service: \"{{order_service_contract}}\"\n payment_service: \"{{payment_service_contract}}\"\n microservices_communication:\n inventory_service: \"{{inventory_service_result}}\"\n notification_service: \"{{notification_service_result}}\"\n business_outcomes:\n customer_id: \"{{registered_customer_id}}\"\n order_id: \"{{order_id}}\"\n transaction_id: \"{{transaction_id}}\"\n total_revenue: \"{{total_with_shipping}}\"\n items_purchased: \"{{cart_total_items}}\"\n workflow_completion: \"{{workflow_completion_status}}\"\n workflow_patterns_tested:\n - \"customer_lifecycle_management\"\n - \"product_catalog_interaction\"\n - \"cart_and_checkout_process\"\n - \"payment_transaction_flow\"\n - \"order_fulfillment_pipeline\"\n - \"api_contract_validation\"\n - \"microservices_integration\"\n - \"end_to_end_business_process\"\n - \"workflow_analytics_tracking\"\n total_complex_workflow_tests: 13\n end_to_end_success: true\n assert:\n status_code: 200\n body:\n json:\n test_summary: { equals: \"complex_workflows_ecommerce_contracts\" }\n workflow_test_id: { equals: \"{{workflow_test_id}}\" }\n total_complex_workflow_tests: { equals: 13 }\n end_to_end_success: { equals: true }\n capture:\n workflow_results: \"body.json\"\n ecommerce_data: \"body.json.ecommerce_workflow_results\"\n contract_validation_results: \"body.json.api_contract_validations\""
}