JavaScript Expressions Integration Test

/app/tests/javascript-expressions-test.yaml

high
4 Steps
Duration: 9ms
Success Rate: 100%
Successful Steps
4
100% success rate
Failed Steps
0
0% of total
⏭️
Skipped Steps
0
0% of total
🔗
HTTP Requests
4
100% requests
🔄
Iterações
0
0 steps com iterações

📊 Execution Timeline

# Status Step Name Type Duration Started At Details
1
Test basic JavaScript arithmetic
POST /post
request
2ms 19/10/2025, 10:28:37
✅ Request completed successfully
2
Test JavaScript string manipulation
POST /post
request
2ms 19/10/2025, 10:28:37
✅ Request completed successfully
3
Test JavaScript with captured variables
POST /post
request
2ms 19/10/2025, 10:28:37
✅ Request completed successfully
4
Test JavaScript arrays and objects
POST /post
request
2ms 19/10/2025, 10:28:37
✅ Request completed successfully

🌐 HTTP Requests Debug Info

Test basic JavaScript arithmetic

Step #1

2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -d '{"calculated_value":50,"timestamp":1760869717656,"random_between":34}' "http://httpbin/post"

📤 Request

Method: POST
URL: http://httpbin/post
Base URL: http://httpbin
Request Headers
Content-Type: application/json
Request Body
{
  "calculated_value": 50,
  "timestamp": 1760869717656,
  "random_between": 34
}

📥 Response

Status Code: 200
Duration: 2ms
Size: 476 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: 591
access-control-allow-origin: *
access-control-allow-credentials: true
Response Body
{
  "args": {},
  "data": "{\"calculated_value\":50,\"timestamp\":1760869717656,\"random_between\":34}",
  "files": {},
  "form": {},
  "headers": {
    "Accept": "application/json, text/plain, */*",
    "Accept-Encoding": "gzip, compress, deflate, br",
    "Connection": "keep-alive",
    "Content-Length": "69",
    "Content-Type": "application/json",
    "Host": "httpbin",
    "User-Agent": "axios/1.12.1"
  },
  "json": {
    "calculated_value": 50,
    "random_between": 34,
    "timestamp": 1760869717656
  },
  "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.calculated_value.equals

PASSED
✓ Match
Condição
body.json.calculated_value.equals equals 50
Assertion passou conforme esperado
Valor recebido: 50

body.json.timestamp.type

PASSED
✓ Match
Condição
body.json.timestamp.type equals number
Assertion passou conforme esperado
Valor recebido: number
Captured Variables
{
  "js_calculated": 50,
  "js_timestamp": 1760869717656
}
Available Variables
{
  "api_base_url": "http://localhost:8080",
  "base_number": 10,
  "auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
  "auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
  "auth_flows_test.user_permissions": [
    "read",
    "write"
  ],
  "auth_flows_test.auth_flow_results": {
    "jwt_authentication": {
      "status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
      "tokens_issued": 2,
      "profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
    },
    "oauth2_authentication": {
      "status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
      "authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
      "token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
    },
    "security_validation": {
      "expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
      "revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
      "permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
    },
    "session_management": {
      "logout_success": "{{js: Boolean(variables.complete_logout)}}",
      "cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
    }
  },
  "complex-workflows-test.workflow_results": {
    "api_contract_validations": {
      "order_service": null,
      "payment_service": null,
      "user_service": null
    },
    "business_outcomes": {
      "customer_id": "{{customer_id}}",
      "items_purchased": 3,
      "order_id": null,
      "total_revenue": 594.96,
      "transaction_id": null,
      "workflow_completion": null
    },
    "ecommerce_workflow_results": {
      "cart_management": "success",
      "catalog_browsing": null,
      "customer_registration": null,
      "fulfillment_initiated": null,
      "order_created": null,
      "payment_processed": null,
      "product_details": null,
      "promotions_applied": null,
      "shipping_calculated": null
    },
    "end_to_end_success": true,
    "microservices_communication": {
      "inventory_service": null,
      "notification_service": null
    },
    "test_summary": "complex_workflows_ecommerce_contracts",
    "total_complex_workflow_tests": 13,
    "workflow_patterns_tested": [
      "customer_lifecycle_management",
      "product_catalog_interaction",
      "cart_and_checkout_process",
      "payment_transaction_flow",
      "order_fulfillment_pipeline",
      "api_contract_validation",
      "microservices_integration",
      "end_to_end_business_process",
      "workflow_analytics_tracking"
    ],
    "workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
  },
  "complex-workflows-test.ecommerce_data": {
    "cart_management": "success",
    "catalog_browsing": null,
    "customer_registration": null,
    "fulfillment_initiated": null,
    "order_created": null,
    "payment_processed": null,
    "product_details": null,
    "promotions_applied": null,
    "shipping_calculated": null
  },
  "complex-workflows-test.contract_validation_results": {
    "order_service": null,
    "payment_service": null,
    "user_service": null
  },
  "auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
  "input-capture-test.normalized_email": "John.Doe@Example.COM",
  "input-capture-test.email_domain": "John.Doe@Example.COM",
  "input-capture-test.full_name": "John Michael Doe",
  "dependency-setup.auth_token": "test_user",
  "dependency-setup.session_id": "172.18.0.3",
  "dependency-setup.config_id": "v2",
  "dependency-setup.setup_timestamp": true,
  "comprehensive_basic.captured_echo_data": {
    "action": "create_resource",
    "metadata": {
      "api_version": "v2.1",
      "test_mode": true,
      "timestamp": "2024-01-01T00:00:00Z"
    },
    "user_id": 12345,
    "username": "flow_test_user"
  },
  "comprehensive_basic.generated_uuid": "httpbin",
  "comprehensive_basic.final_status": "completed"
}

Test JavaScript string manipulation

Step #2

2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -d '{"uppercase_suite":"JAVASCRIPT-EXPRESSIONS","reversed_name":"tseTwolF","formatted_date":"2025-10-19"}' "http://httpbin/post"

📤 Request

Method: POST
URL: http://httpbin/post
Base URL: http://httpbin
Request Headers
Content-Type: application/json
Request Body
{
  "uppercase_suite": "JAVASCRIPT-EXPRESSIONS",
  "reversed_name": "tseTwolF",
  "formatted_date": "2025-10-19"
}

📥 Response

Status Code: 200
Duration: 2ms
Size: 547 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: 662
access-control-allow-origin: *
access-control-allow-credentials: true
Response Body
{
  "args": {},
  "data": "{\"uppercase_suite\":\"JAVASCRIPT-EXPRESSIONS\",\"reversed_name\":\"tseTwolF\",\"formatted_date\":\"2025-10-19\"}",
  "files": {},
  "form": {},
  "headers": {
    "Accept": "application/json, text/plain, */*",
    "Accept-Encoding": "gzip, compress, deflate, br",
    "Connection": "keep-alive",
    "Content-Length": "101",
    "Content-Type": "application/json",
    "Host": "httpbin",
    "User-Agent": "axios/1.12.1"
  },
  "json": {
    "formatted_date": "2025-10-19",
    "reversed_name": "tseTwolF",
    "uppercase_suite": "JAVASCRIPT-EXPRESSIONS"
  },
  "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.uppercase_suite.equals

PASSED
✓ Match
Condição
body.json.uppercase_suite.equals equals JAVASCRIPT-EXPRESSIONS
Assertion passou conforme esperado
Valor recebido: JAVASCRIPT-EXPRESSIONS

body.json.reversed_name.equals

PASSED
✓ Match
Condição
body.json.reversed_name.equals equals tseTwolF
Assertion passou conforme esperado
Valor recebido: tseTwolF
Available Variables
{
  "api_base_url": "http://localhost:8080",
  "base_number": 10,
  "auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
  "auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
  "auth_flows_test.user_permissions": [
    "read",
    "write"
  ],
  "auth_flows_test.auth_flow_results": {
    "jwt_authentication": {
      "status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
      "tokens_issued": 2,
      "profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
    },
    "oauth2_authentication": {
      "status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
      "authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
      "token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
    },
    "security_validation": {
      "expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
      "revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
      "permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
    },
    "session_management": {
      "logout_success": "{{js: Boolean(variables.complete_logout)}}",
      "cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
    }
  },
  "complex-workflows-test.workflow_results": {
    "api_contract_validations": {
      "order_service": null,
      "payment_service": null,
      "user_service": null
    },
    "business_outcomes": {
      "customer_id": "{{customer_id}}",
      "items_purchased": 3,
      "order_id": null,
      "total_revenue": 594.96,
      "transaction_id": null,
      "workflow_completion": null
    },
    "ecommerce_workflow_results": {
      "cart_management": "success",
      "catalog_browsing": null,
      "customer_registration": null,
      "fulfillment_initiated": null,
      "order_created": null,
      "payment_processed": null,
      "product_details": null,
      "promotions_applied": null,
      "shipping_calculated": null
    },
    "end_to_end_success": true,
    "microservices_communication": {
      "inventory_service": null,
      "notification_service": null
    },
    "test_summary": "complex_workflows_ecommerce_contracts",
    "total_complex_workflow_tests": 13,
    "workflow_patterns_tested": [
      "customer_lifecycle_management",
      "product_catalog_interaction",
      "cart_and_checkout_process",
      "payment_transaction_flow",
      "order_fulfillment_pipeline",
      "api_contract_validation",
      "microservices_integration",
      "end_to_end_business_process",
      "workflow_analytics_tracking"
    ],
    "workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
  },
  "complex-workflows-test.ecommerce_data": {
    "cart_management": "success",
    "catalog_browsing": null,
    "customer_registration": null,
    "fulfillment_initiated": null,
    "order_created": null,
    "payment_processed": null,
    "product_details": null,
    "promotions_applied": null,
    "shipping_calculated": null
  },
  "complex-workflows-test.contract_validation_results": {
    "order_service": null,
    "payment_service": null,
    "user_service": null
  },
  "auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
  "input-capture-test.normalized_email": "John.Doe@Example.COM",
  "input-capture-test.email_domain": "John.Doe@Example.COM",
  "input-capture-test.full_name": "John Michael Doe",
  "dependency-setup.auth_token": "test_user",
  "dependency-setup.session_id": "172.18.0.3",
  "dependency-setup.config_id": "v2",
  "dependency-setup.setup_timestamp": true,
  "comprehensive_basic.captured_echo_data": {
    "action": "create_resource",
    "metadata": {
      "api_version": "v2.1",
      "test_mode": true,
      "timestamp": "2024-01-01T00:00:00Z"
    },
    "user_id": 12345,
    "username": "flow_test_user"
  },
  "comprehensive_basic.generated_uuid": "httpbin",
  "comprehensive_basic.final_status": "completed"
}

Test JavaScript with captured variables

Step #3

2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -d '{"double_calculated":100,"time_diff":5,"complex_calc":"high"}' "http://httpbin/post"

📤 Request

Method: POST
URL: http://httpbin/post
Base URL: http://httpbin
Request Headers
Content-Type: application/json
Request Body
{
  "double_calculated": 100,
  "time_diff": 5,
  "complex_calc": "high"
}

📥 Response

Status Code: 200
Duration: 2ms
Size: 462 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: 577
access-control-allow-origin: *
access-control-allow-credentials: true
Response Body
{
  "args": {},
  "data": "{\"double_calculated\":100,\"time_diff\":5,\"complex_calc\":\"high\"}",
  "files": {},
  "form": {},
  "headers": {
    "Accept": "application/json, text/plain, */*",
    "Accept-Encoding": "gzip, compress, deflate, br",
    "Connection": "keep-alive",
    "Content-Length": "61",
    "Content-Type": "application/json",
    "Host": "httpbin",
    "User-Agent": "axios/1.12.1"
  },
  "json": {
    "complex_calc": "high",
    "double_calculated": 100,
    "time_diff": 5
  },
  "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.double_calculated.equals

PASSED
✓ Match
Condição
body.json.double_calculated.equals equals 100
Assertion passou conforme esperado
Valor recebido: 100

body.json.complex_calc.equals

PASSED
✓ Match
Condição
body.json.complex_calc.equals equals high
Assertion passou conforme esperado
Valor recebido: high
Available Variables
{
  "api_base_url": "http://localhost:8080",
  "base_number": 10,
  "auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
  "auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
  "auth_flows_test.user_permissions": [
    "read",
    "write"
  ],
  "auth_flows_test.auth_flow_results": {
    "jwt_authentication": {
      "status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
      "tokens_issued": 2,
      "profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
    },
    "oauth2_authentication": {
      "status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
      "authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
      "token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
    },
    "security_validation": {
      "expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
      "revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
      "permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
    },
    "session_management": {
      "logout_success": "{{js: Boolean(variables.complete_logout)}}",
      "cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
    }
  },
  "complex-workflows-test.workflow_results": {
    "api_contract_validations": {
      "order_service": null,
      "payment_service": null,
      "user_service": null
    },
    "business_outcomes": {
      "customer_id": "{{customer_id}}",
      "items_purchased": 3,
      "order_id": null,
      "total_revenue": 594.96,
      "transaction_id": null,
      "workflow_completion": null
    },
    "ecommerce_workflow_results": {
      "cart_management": "success",
      "catalog_browsing": null,
      "customer_registration": null,
      "fulfillment_initiated": null,
      "order_created": null,
      "payment_processed": null,
      "product_details": null,
      "promotions_applied": null,
      "shipping_calculated": null
    },
    "end_to_end_success": true,
    "microservices_communication": {
      "inventory_service": null,
      "notification_service": null
    },
    "test_summary": "complex_workflows_ecommerce_contracts",
    "total_complex_workflow_tests": 13,
    "workflow_patterns_tested": [
      "customer_lifecycle_management",
      "product_catalog_interaction",
      "cart_and_checkout_process",
      "payment_transaction_flow",
      "order_fulfillment_pipeline",
      "api_contract_validation",
      "microservices_integration",
      "end_to_end_business_process",
      "workflow_analytics_tracking"
    ],
    "workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
  },
  "complex-workflows-test.ecommerce_data": {
    "cart_management": "success",
    "catalog_browsing": null,
    "customer_registration": null,
    "fulfillment_initiated": null,
    "order_created": null,
    "payment_processed": null,
    "product_details": null,
    "promotions_applied": null,
    "shipping_calculated": null
  },
  "complex-workflows-test.contract_validation_results": {
    "order_service": null,
    "payment_service": null,
    "user_service": null
  },
  "auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
  "input-capture-test.normalized_email": "John.Doe@Example.COM",
  "input-capture-test.email_domain": "John.Doe@Example.COM",
  "input-capture-test.full_name": "John Michael Doe",
  "dependency-setup.auth_token": "test_user",
  "dependency-setup.session_id": "172.18.0.3",
  "dependency-setup.config_id": "v2",
  "dependency-setup.setup_timestamp": true,
  "comprehensive_basic.captured_echo_data": {
    "action": "create_resource",
    "metadata": {
      "api_version": "v2.1",
      "test_mode": true,
      "timestamp": "2024-01-01T00:00:00Z"
    },
    "user_id": 12345,
    "username": "flow_test_user"
  },
  "comprehensive_basic.generated_uuid": "httpbin",
  "comprehensive_basic.final_status": "completed"
}

Test JavaScript arrays and objects

Step #4

2ms
cURL Command
curl -X POST -H 'Content-Type: application/json' -d '{"array_sum":15,"object_keys":3,"conditional_value":"greater"}' "http://httpbin/post"

📤 Request

Method: POST
URL: http://httpbin/post
Base URL: http://httpbin
Request Headers
Content-Type: application/json
Request Body
{
  "array_sum": 15,
  "object_keys": 3,
  "conditional_value": "greater"
}

📥 Response

Status Code: 200
Duration: 2ms
Size: 464 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: 579
access-control-allow-origin: *
access-control-allow-credentials: true
Response Body
{
  "args": {},
  "data": "{\"array_sum\":15,\"object_keys\":3,\"conditional_value\":\"greater\"}",
  "files": {},
  "form": {},
  "headers": {
    "Accept": "application/json, text/plain, */*",
    "Accept-Encoding": "gzip, compress, deflate, br",
    "Connection": "keep-alive",
    "Content-Length": "62",
    "Content-Type": "application/json",
    "Host": "httpbin",
    "User-Agent": "axios/1.12.1"
  },
  "json": {
    "array_sum": 15,
    "conditional_value": "greater",
    "object_keys": 3
  },
  "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.array_sum.equals

PASSED
✓ Match
Condição
body.json.array_sum.equals equals 15
Assertion passou conforme esperado
Valor recebido: 15

body.json.object_keys.equals

PASSED
✓ Match
Condição
body.json.object_keys.equals equals 3
Assertion passou conforme esperado
Valor recebido: 3

body.json.conditional_value.equals

PASSED
✓ Match
Condição
body.json.conditional_value.equals equals greater
Assertion passou conforme esperado
Valor recebido: greater
Available Variables
{
  "api_base_url": "http://localhost:8080",
  "base_number": 10,
  "auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
  "auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
  "auth_flows_test.user_permissions": [
    "read",
    "write"
  ],
  "auth_flows_test.auth_flow_results": {
    "jwt_authentication": {
      "status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
      "tokens_issued": 2,
      "profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
    },
    "oauth2_authentication": {
      "status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
      "authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
      "token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
    },
    "security_validation": {
      "expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
      "revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
      "permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
    },
    "session_management": {
      "logout_success": "{{js: Boolean(variables.complete_logout)}}",
      "cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
    }
  },
  "complex-workflows-test.workflow_results": {
    "api_contract_validations": {
      "order_service": null,
      "payment_service": null,
      "user_service": null
    },
    "business_outcomes": {
      "customer_id": "{{customer_id}}",
      "items_purchased": 3,
      "order_id": null,
      "total_revenue": 594.96,
      "transaction_id": null,
      "workflow_completion": null
    },
    "ecommerce_workflow_results": {
      "cart_management": "success",
      "catalog_browsing": null,
      "customer_registration": null,
      "fulfillment_initiated": null,
      "order_created": null,
      "payment_processed": null,
      "product_details": null,
      "promotions_applied": null,
      "shipping_calculated": null
    },
    "end_to_end_success": true,
    "microservices_communication": {
      "inventory_service": null,
      "notification_service": null
    },
    "test_summary": "complex_workflows_ecommerce_contracts",
    "total_complex_workflow_tests": 13,
    "workflow_patterns_tested": [
      "customer_lifecycle_management",
      "product_catalog_interaction",
      "cart_and_checkout_process",
      "payment_transaction_flow",
      "order_fulfillment_pipeline",
      "api_contract_validation",
      "microservices_integration",
      "end_to_end_business_process",
      "workflow_analytics_tracking"
    ],
    "workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
  },
  "complex-workflows-test.ecommerce_data": {
    "cart_management": "success",
    "catalog_browsing": null,
    "customer_registration": null,
    "fulfillment_initiated": null,
    "order_created": null,
    "payment_processed": null,
    "product_details": null,
    "promotions_applied": null,
    "shipping_calculated": null
  },
  "complex-workflows-test.contract_validation_results": {
    "order_service": null,
    "payment_service": null,
    "user_service": null
  },
  "auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
  "input-capture-test.normalized_email": "John.Doe@Example.COM",
  "input-capture-test.email_domain": "John.Doe@Example.COM",
  "input-capture-test.full_name": "John Michael Doe",
  "dependency-setup.auth_token": "test_user",
  "dependency-setup.session_id": "172.18.0.3",
  "dependency-setup.config_id": "v2",
  "dependency-setup.setup_timestamp": true,
  "comprehensive_basic.captured_echo_data": {
    "action": "create_resource",
    "metadata": {
      "api_version": "v2.1",
      "test_mode": true,
      "timestamp": "2024-01-01T00:00:00Z"
    },
    "user_id": 12345,
    "username": "flow_test_user"
  },
  "comprehensive_basic.generated_uuid": "httpbin",
  "comprehensive_basic.final_status": "completed"
}

📄 Raw Suite Data

Complete Suite Data
{
  "node_id": "javascript-expressions",
  "suite_name": "JavaScript Expressions Integration Test",
  "file_path": "/app/tests/javascript-expressions-test.yaml",
  "priority": "high",
  "start_time": "2025-10-19T10:28:37.655Z",
  "end_time": "2025-10-19T10:28:37.664Z",
  "duration_ms": 9,
  "status": "success",
  "steps_executed": 4,
  "steps_successful": 4,
  "steps_failed": 0,
  "success_rate": 100,
  "steps_results": [
    {
      "step_id": "step-1-test-basic-javascript-arithmetic",
      "qualified_step_id": "javascript-expressions::step-1-test-basic-javascript-arithmetic",
      "step_name": "Test basic JavaScript arithmetic",
      "status": "success",
      "duration_ms": 2,
      "request_details": {
        "method": "POST",
        "url": "/post",
        "headers": {
          "Content-Type": "application/json"
        },
        "body": {
          "calculated_value": 50,
          "timestamp": 1760869717656,
          "random_between": 34
        },
        "base_url": "http://httpbin",
        "full_url": "http://httpbin/post",
        "curl_command": "curl -X POST -H 'Content-Type: application/json' -d '{\"calculated_value\":50,\"timestamp\":1760869717656,\"random_between\":34}' \"http://httpbin/post\"",
        "raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nContent-Length: 69\r\n\r\n{\"calculated_value\":50,\"timestamp\":1760869717656,\"random_between\":34}",
        "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": "591",
          "access-control-allow-origin": "*",
          "access-control-allow-credentials": "true"
        },
        "body": {
          "args": {},
          "data": "{\"calculated_value\":50,\"timestamp\":1760869717656,\"random_between\":34}",
          "files": {},
          "form": {},
          "headers": {
            "Accept": "application/json, text/plain, */*",
            "Accept-Encoding": "gzip, compress, deflate, br",
            "Connection": "keep-alive",
            "Content-Length": "69",
            "Content-Type": "application/json",
            "Host": "httpbin",
            "User-Agent": "axios/1.12.1"
          },
          "json": {
            "calculated_value": 50,
            "random_between": 34,
            "timestamp": 1760869717656
          },
          "origin": "172.18.0.3",
          "url": "http://httpbin/post"
        },
        "size_bytes": 476,
        "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: 591\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n  \"args\": {},\n  \"data\": \"{\\\"calculated_value\\\":50,\\\"timestamp\\\":1760869717656,\\\"random_between\\\":34}\",\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\": \"69\",\n    \"Content-Type\": \"application/json\",\n    \"Host\": \"httpbin\",\n    \"User-Agent\": \"axios/1.12.1\"\n  },\n  \"json\": {\n    \"calculated_value\": 50,\n    \"random_between\": 34,\n    \"timestamp\": 1760869717656\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.calculated_value.equals",
          "expected": 50,
          "actual": 50,
          "passed": true,
          "message": "OK"
        },
        {
          "field": "body.json.timestamp.type",
          "expected": "number",
          "actual": "number",
          "passed": true,
          "message": "OK"
        }
      ],
      "captured_variables": {
        "js_calculated": 50,
        "js_timestamp": 1760869717656
      },
      "available_variables": {
        "api_base_url": "http://localhost:8080",
        "base_number": 10,
        "auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
        "auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
        "auth_flows_test.user_permissions": [
          "read",
          "write"
        ],
        "auth_flows_test.auth_flow_results": {
          "jwt_authentication": {
            "status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
            "tokens_issued": 2,
            "profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
          },
          "oauth2_authentication": {
            "status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
            "authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
            "token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
          },
          "security_validation": {
            "expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
            "revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
            "permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
          },
          "session_management": {
            "logout_success": "{{js: Boolean(variables.complete_logout)}}",
            "cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
          }
        },
        "complex-workflows-test.workflow_results": {
          "api_contract_validations": {
            "order_service": null,
            "payment_service": null,
            "user_service": null
          },
          "business_outcomes": {
            "customer_id": "{{customer_id}}",
            "items_purchased": 3,
            "order_id": null,
            "total_revenue": 594.96,
            "transaction_id": null,
            "workflow_completion": null
          },
          "ecommerce_workflow_results": {
            "cart_management": "success",
            "catalog_browsing": null,
            "customer_registration": null,
            "fulfillment_initiated": null,
            "order_created": null,
            "payment_processed": null,
            "product_details": null,
            "promotions_applied": null,
            "shipping_calculated": null
          },
          "end_to_end_success": true,
          "microservices_communication": {
            "inventory_service": null,
            "notification_service": null
          },
          "test_summary": "complex_workflows_ecommerce_contracts",
          "total_complex_workflow_tests": 13,
          "workflow_patterns_tested": [
            "customer_lifecycle_management",
            "product_catalog_interaction",
            "cart_and_checkout_process",
            "payment_transaction_flow",
            "order_fulfillment_pipeline",
            "api_contract_validation",
            "microservices_integration",
            "end_to_end_business_process",
            "workflow_analytics_tracking"
          ],
          "workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
        },
        "complex-workflows-test.ecommerce_data": {
          "cart_management": "success",
          "catalog_browsing": null,
          "customer_registration": null,
          "fulfillment_initiated": null,
          "order_created": null,
          "payment_processed": null,
          "product_details": null,
          "promotions_applied": null,
          "shipping_calculated": null
        },
        "complex-workflows-test.contract_validation_results": {
          "order_service": null,
          "payment_service": null,
          "user_service": null
        },
        "auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
        "input-capture-test.normalized_email": "John.Doe@Example.COM",
        "input-capture-test.email_domain": "John.Doe@Example.COM",
        "input-capture-test.full_name": "John Michael Doe",
        "dependency-setup.auth_token": "test_user",
        "dependency-setup.session_id": "172.18.0.3",
        "dependency-setup.config_id": "v2",
        "dependency-setup.setup_timestamp": true,
        "comprehensive_basic.captured_echo_data": {
          "action": "create_resource",
          "metadata": {
            "api_version": "v2.1",
            "test_mode": true,
            "timestamp": "2024-01-01T00:00:00Z"
          },
          "user_id": 12345,
          "username": "flow_test_user"
        },
        "comprehensive_basic.generated_uuid": "httpbin",
        "comprehensive_basic.final_status": "completed"
      }
    },
    {
      "step_id": "step-2-test-javascript-string-manipulation",
      "qualified_step_id": "javascript-expressions::step-2-test-javascript-string-manipulation",
      "step_name": "Test JavaScript string manipulation",
      "status": "success",
      "duration_ms": 2,
      "request_details": {
        "method": "POST",
        "url": "/post",
        "headers": {
          "Content-Type": "application/json"
        },
        "body": {
          "uppercase_suite": "JAVASCRIPT-EXPRESSIONS",
          "reversed_name": "tseTwolF",
          "formatted_date": "2025-10-19"
        },
        "base_url": "http://httpbin",
        "full_url": "http://httpbin/post",
        "curl_command": "curl -X POST -H 'Content-Type: application/json' -d '{\"uppercase_suite\":\"JAVASCRIPT-EXPRESSIONS\",\"reversed_name\":\"tseTwolF\",\"formatted_date\":\"2025-10-19\"}' \"http://httpbin/post\"",
        "raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nContent-Length: 101\r\n\r\n{\"uppercase_suite\":\"JAVASCRIPT-EXPRESSIONS\",\"reversed_name\":\"tseTwolF\",\"formatted_date\":\"2025-10-19\"}",
        "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": "662",
          "access-control-allow-origin": "*",
          "access-control-allow-credentials": "true"
        },
        "body": {
          "args": {},
          "data": "{\"uppercase_suite\":\"JAVASCRIPT-EXPRESSIONS\",\"reversed_name\":\"tseTwolF\",\"formatted_date\":\"2025-10-19\"}",
          "files": {},
          "form": {},
          "headers": {
            "Accept": "application/json, text/plain, */*",
            "Accept-Encoding": "gzip, compress, deflate, br",
            "Connection": "keep-alive",
            "Content-Length": "101",
            "Content-Type": "application/json",
            "Host": "httpbin",
            "User-Agent": "axios/1.12.1"
          },
          "json": {
            "formatted_date": "2025-10-19",
            "reversed_name": "tseTwolF",
            "uppercase_suite": "JAVASCRIPT-EXPRESSIONS"
          },
          "origin": "172.18.0.3",
          "url": "http://httpbin/post"
        },
        "size_bytes": 547,
        "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: 662\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n  \"args\": {},\n  \"data\": \"{\\\"uppercase_suite\\\":\\\"JAVASCRIPT-EXPRESSIONS\\\",\\\"reversed_name\\\":\\\"tseTwolF\\\",\\\"formatted_date\\\":\\\"2025-10-19\\\"}\",\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\": \"101\",\n    \"Content-Type\": \"application/json\",\n    \"Host\": \"httpbin\",\n    \"User-Agent\": \"axios/1.12.1\"\n  },\n  \"json\": {\n    \"formatted_date\": \"2025-10-19\",\n    \"reversed_name\": \"tseTwolF\",\n    \"uppercase_suite\": \"JAVASCRIPT-EXPRESSIONS\"\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.uppercase_suite.equals",
          "expected": "JAVASCRIPT-EXPRESSIONS",
          "actual": "JAVASCRIPT-EXPRESSIONS",
          "passed": true,
          "message": "OK"
        },
        {
          "field": "body.json.reversed_name.equals",
          "expected": "tseTwolF",
          "actual": "tseTwolF",
          "passed": true,
          "message": "OK"
        }
      ],
      "captured_variables": {},
      "available_variables": {
        "api_base_url": "http://localhost:8080",
        "base_number": 10,
        "auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
        "auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
        "auth_flows_test.user_permissions": [
          "read",
          "write"
        ],
        "auth_flows_test.auth_flow_results": {
          "jwt_authentication": {
            "status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
            "tokens_issued": 2,
            "profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
          },
          "oauth2_authentication": {
            "status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
            "authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
            "token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
          },
          "security_validation": {
            "expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
            "revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
            "permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
          },
          "session_management": {
            "logout_success": "{{js: Boolean(variables.complete_logout)}}",
            "cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
          }
        },
        "complex-workflows-test.workflow_results": {
          "api_contract_validations": {
            "order_service": null,
            "payment_service": null,
            "user_service": null
          },
          "business_outcomes": {
            "customer_id": "{{customer_id}}",
            "items_purchased": 3,
            "order_id": null,
            "total_revenue": 594.96,
            "transaction_id": null,
            "workflow_completion": null
          },
          "ecommerce_workflow_results": {
            "cart_management": "success",
            "catalog_browsing": null,
            "customer_registration": null,
            "fulfillment_initiated": null,
            "order_created": null,
            "payment_processed": null,
            "product_details": null,
            "promotions_applied": null,
            "shipping_calculated": null
          },
          "end_to_end_success": true,
          "microservices_communication": {
            "inventory_service": null,
            "notification_service": null
          },
          "test_summary": "complex_workflows_ecommerce_contracts",
          "total_complex_workflow_tests": 13,
          "workflow_patterns_tested": [
            "customer_lifecycle_management",
            "product_catalog_interaction",
            "cart_and_checkout_process",
            "payment_transaction_flow",
            "order_fulfillment_pipeline",
            "api_contract_validation",
            "microservices_integration",
            "end_to_end_business_process",
            "workflow_analytics_tracking"
          ],
          "workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
        },
        "complex-workflows-test.ecommerce_data": {
          "cart_management": "success",
          "catalog_browsing": null,
          "customer_registration": null,
          "fulfillment_initiated": null,
          "order_created": null,
          "payment_processed": null,
          "product_details": null,
          "promotions_applied": null,
          "shipping_calculated": null
        },
        "complex-workflows-test.contract_validation_results": {
          "order_service": null,
          "payment_service": null,
          "user_service": null
        },
        "auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
        "input-capture-test.normalized_email": "John.Doe@Example.COM",
        "input-capture-test.email_domain": "John.Doe@Example.COM",
        "input-capture-test.full_name": "John Michael Doe",
        "dependency-setup.auth_token": "test_user",
        "dependency-setup.session_id": "172.18.0.3",
        "dependency-setup.config_id": "v2",
        "dependency-setup.setup_timestamp": true,
        "comprehensive_basic.captured_echo_data": {
          "action": "create_resource",
          "metadata": {
            "api_version": "v2.1",
            "test_mode": true,
            "timestamp": "2024-01-01T00:00:00Z"
          },
          "user_id": 12345,
          "username": "flow_test_user"
        },
        "comprehensive_basic.generated_uuid": "httpbin",
        "comprehensive_basic.final_status": "completed"
      }
    },
    {
      "step_id": "step-3-test-javascript-with-captured-variables",
      "qualified_step_id": "javascript-expressions::step-3-test-javascript-with-captured-variables",
      "step_name": "Test JavaScript with captured variables",
      "status": "success",
      "duration_ms": 2,
      "request_details": {
        "method": "POST",
        "url": "/post",
        "headers": {
          "Content-Type": "application/json"
        },
        "body": {
          "double_calculated": 100,
          "time_diff": 5,
          "complex_calc": "high"
        },
        "base_url": "http://httpbin",
        "full_url": "http://httpbin/post",
        "curl_command": "curl -X POST -H 'Content-Type: application/json' -d '{\"double_calculated\":100,\"time_diff\":5,\"complex_calc\":\"high\"}' \"http://httpbin/post\"",
        "raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nContent-Length: 61\r\n\r\n{\"double_calculated\":100,\"time_diff\":5,\"complex_calc\":\"high\"}",
        "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": "577",
          "access-control-allow-origin": "*",
          "access-control-allow-credentials": "true"
        },
        "body": {
          "args": {},
          "data": "{\"double_calculated\":100,\"time_diff\":5,\"complex_calc\":\"high\"}",
          "files": {},
          "form": {},
          "headers": {
            "Accept": "application/json, text/plain, */*",
            "Accept-Encoding": "gzip, compress, deflate, br",
            "Connection": "keep-alive",
            "Content-Length": "61",
            "Content-Type": "application/json",
            "Host": "httpbin",
            "User-Agent": "axios/1.12.1"
          },
          "json": {
            "complex_calc": "high",
            "double_calculated": 100,
            "time_diff": 5
          },
          "origin": "172.18.0.3",
          "url": "http://httpbin/post"
        },
        "size_bytes": 462,
        "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: 577\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n  \"args\": {},\n  \"data\": \"{\\\"double_calculated\\\":100,\\\"time_diff\\\":5,\\\"complex_calc\\\":\\\"high\\\"}\",\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\": \"61\",\n    \"Content-Type\": \"application/json\",\n    \"Host\": \"httpbin\",\n    \"User-Agent\": \"axios/1.12.1\"\n  },\n  \"json\": {\n    \"complex_calc\": \"high\",\n    \"double_calculated\": 100,\n    \"time_diff\": 5\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.double_calculated.equals",
          "expected": 100,
          "actual": 100,
          "passed": true,
          "message": "OK"
        },
        {
          "field": "body.json.complex_calc.equals",
          "expected": "high",
          "actual": "high",
          "passed": true,
          "message": "OK"
        }
      ],
      "captured_variables": {},
      "available_variables": {
        "api_base_url": "http://localhost:8080",
        "base_number": 10,
        "auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
        "auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
        "auth_flows_test.user_permissions": [
          "read",
          "write"
        ],
        "auth_flows_test.auth_flow_results": {
          "jwt_authentication": {
            "status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
            "tokens_issued": 2,
            "profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
          },
          "oauth2_authentication": {
            "status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
            "authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
            "token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
          },
          "security_validation": {
            "expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
            "revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
            "permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
          },
          "session_management": {
            "logout_success": "{{js: Boolean(variables.complete_logout)}}",
            "cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
          }
        },
        "complex-workflows-test.workflow_results": {
          "api_contract_validations": {
            "order_service": null,
            "payment_service": null,
            "user_service": null
          },
          "business_outcomes": {
            "customer_id": "{{customer_id}}",
            "items_purchased": 3,
            "order_id": null,
            "total_revenue": 594.96,
            "transaction_id": null,
            "workflow_completion": null
          },
          "ecommerce_workflow_results": {
            "cart_management": "success",
            "catalog_browsing": null,
            "customer_registration": null,
            "fulfillment_initiated": null,
            "order_created": null,
            "payment_processed": null,
            "product_details": null,
            "promotions_applied": null,
            "shipping_calculated": null
          },
          "end_to_end_success": true,
          "microservices_communication": {
            "inventory_service": null,
            "notification_service": null
          },
          "test_summary": "complex_workflows_ecommerce_contracts",
          "total_complex_workflow_tests": 13,
          "workflow_patterns_tested": [
            "customer_lifecycle_management",
            "product_catalog_interaction",
            "cart_and_checkout_process",
            "payment_transaction_flow",
            "order_fulfillment_pipeline",
            "api_contract_validation",
            "microservices_integration",
            "end_to_end_business_process",
            "workflow_analytics_tracking"
          ],
          "workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
        },
        "complex-workflows-test.ecommerce_data": {
          "cart_management": "success",
          "catalog_browsing": null,
          "customer_registration": null,
          "fulfillment_initiated": null,
          "order_created": null,
          "payment_processed": null,
          "product_details": null,
          "promotions_applied": null,
          "shipping_calculated": null
        },
        "complex-workflows-test.contract_validation_results": {
          "order_service": null,
          "payment_service": null,
          "user_service": null
        },
        "auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
        "input-capture-test.normalized_email": "John.Doe@Example.COM",
        "input-capture-test.email_domain": "John.Doe@Example.COM",
        "input-capture-test.full_name": "John Michael Doe",
        "dependency-setup.auth_token": "test_user",
        "dependency-setup.session_id": "172.18.0.3",
        "dependency-setup.config_id": "v2",
        "dependency-setup.setup_timestamp": true,
        "comprehensive_basic.captured_echo_data": {
          "action": "create_resource",
          "metadata": {
            "api_version": "v2.1",
            "test_mode": true,
            "timestamp": "2024-01-01T00:00:00Z"
          },
          "user_id": 12345,
          "username": "flow_test_user"
        },
        "comprehensive_basic.generated_uuid": "httpbin",
        "comprehensive_basic.final_status": "completed"
      }
    },
    {
      "step_id": "step-4-test-javascript-arrays-and-objects",
      "qualified_step_id": "javascript-expressions::step-4-test-javascript-arrays-and-objects",
      "step_name": "Test JavaScript arrays and objects",
      "status": "success",
      "duration_ms": 2,
      "request_details": {
        "method": "POST",
        "url": "/post",
        "headers": {
          "Content-Type": "application/json"
        },
        "body": {
          "array_sum": 15,
          "object_keys": 3,
          "conditional_value": "greater"
        },
        "base_url": "http://httpbin",
        "full_url": "http://httpbin/post",
        "curl_command": "curl -X POST -H 'Content-Type: application/json' -d '{\"array_sum\":15,\"object_keys\":3,\"conditional_value\":\"greater\"}' \"http://httpbin/post\"",
        "raw_request": "POST /post HTTP/1.1\r\nHost: httpbin\r\nContent-Type: application/json\r\nContent-Length: 62\r\n\r\n{\"array_sum\":15,\"object_keys\":3,\"conditional_value\":\"greater\"}",
        "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": "579",
          "access-control-allow-origin": "*",
          "access-control-allow-credentials": "true"
        },
        "body": {
          "args": {},
          "data": "{\"array_sum\":15,\"object_keys\":3,\"conditional_value\":\"greater\"}",
          "files": {},
          "form": {},
          "headers": {
            "Accept": "application/json, text/plain, */*",
            "Accept-Encoding": "gzip, compress, deflate, br",
            "Connection": "keep-alive",
            "Content-Length": "62",
            "Content-Type": "application/json",
            "Host": "httpbin",
            "User-Agent": "axios/1.12.1"
          },
          "json": {
            "array_sum": 15,
            "conditional_value": "greater",
            "object_keys": 3
          },
          "origin": "172.18.0.3",
          "url": "http://httpbin/post"
        },
        "size_bytes": 464,
        "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: 579\r\naccess-control-allow-origin: *\r\naccess-control-allow-credentials: true\r\n\r\n{\n  \"args\": {},\n  \"data\": \"{\\\"array_sum\\\":15,\\\"object_keys\\\":3,\\\"conditional_value\\\":\\\"greater\\\"}\",\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\": \"62\",\n    \"Content-Type\": \"application/json\",\n    \"Host\": \"httpbin\",\n    \"User-Agent\": \"axios/1.12.1\"\n  },\n  \"json\": {\n    \"array_sum\": 15,\n    \"conditional_value\": \"greater\",\n    \"object_keys\": 3\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.array_sum.equals",
          "expected": 15,
          "actual": 15,
          "passed": true,
          "message": "OK"
        },
        {
          "field": "body.json.object_keys.equals",
          "expected": 3,
          "actual": 3,
          "passed": true,
          "message": "OK"
        },
        {
          "field": "body.json.conditional_value.equals",
          "expected": "greater",
          "actual": "greater",
          "passed": true,
          "message": "OK"
        }
      ],
      "captured_variables": {},
      "available_variables": {
        "api_base_url": "http://localhost:8080",
        "base_number": 10,
        "auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
        "auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
        "auth_flows_test.user_permissions": [
          "read",
          "write"
        ],
        "auth_flows_test.auth_flow_results": {
          "jwt_authentication": {
            "status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
            "tokens_issued": 2,
            "profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
          },
          "oauth2_authentication": {
            "status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
            "authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
            "token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
          },
          "security_validation": {
            "expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
            "revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
            "permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
          },
          "session_management": {
            "logout_success": "{{js: Boolean(variables.complete_logout)}}",
            "cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
          }
        },
        "complex-workflows-test.workflow_results": {
          "api_contract_validations": {
            "order_service": null,
            "payment_service": null,
            "user_service": null
          },
          "business_outcomes": {
            "customer_id": "{{customer_id}}",
            "items_purchased": 3,
            "order_id": null,
            "total_revenue": 594.96,
            "transaction_id": null,
            "workflow_completion": null
          },
          "ecommerce_workflow_results": {
            "cart_management": "success",
            "catalog_browsing": null,
            "customer_registration": null,
            "fulfillment_initiated": null,
            "order_created": null,
            "payment_processed": null,
            "product_details": null,
            "promotions_applied": null,
            "shipping_calculated": null
          },
          "end_to_end_success": true,
          "microservices_communication": {
            "inventory_service": null,
            "notification_service": null
          },
          "test_summary": "complex_workflows_ecommerce_contracts",
          "total_complex_workflow_tests": 13,
          "workflow_patterns_tested": [
            "customer_lifecycle_management",
            "product_catalog_interaction",
            "cart_and_checkout_process",
            "payment_transaction_flow",
            "order_fulfillment_pipeline",
            "api_contract_validation",
            "microservices_integration",
            "end_to_end_business_process",
            "workflow_analytics_tracking"
          ],
          "workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
        },
        "complex-workflows-test.ecommerce_data": {
          "cart_management": "success",
          "catalog_browsing": null,
          "customer_registration": null,
          "fulfillment_initiated": null,
          "order_created": null,
          "payment_processed": null,
          "product_details": null,
          "promotions_applied": null,
          "shipping_calculated": null
        },
        "complex-workflows-test.contract_validation_results": {
          "order_service": null,
          "payment_service": null,
          "user_service": null
        },
        "auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
        "input-capture-test.normalized_email": "John.Doe@Example.COM",
        "input-capture-test.email_domain": "John.Doe@Example.COM",
        "input-capture-test.full_name": "John Michael Doe",
        "dependency-setup.auth_token": "test_user",
        "dependency-setup.session_id": "172.18.0.3",
        "dependency-setup.config_id": "v2",
        "dependency-setup.setup_timestamp": true,
        "comprehensive_basic.captured_echo_data": {
          "action": "create_resource",
          "metadata": {
            "api_version": "v2.1",
            "test_mode": true,
            "timestamp": "2024-01-01T00:00:00Z"
          },
          "user_id": 12345,
          "username": "flow_test_user"
        },
        "comprehensive_basic.generated_uuid": "httpbin",
        "comprehensive_basic.final_status": "completed"
      }
    }
  ],
  "variables_captured": {},
  "available_variables": {
    "api_base_url": "http://localhost:8080",
    "base_number": 10,
    "auth_flows_test.jwt_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.mock_payload",
    "auth_flows_test.oauth2_access_token": "oauth2_access_token_xyz",
    "auth_flows_test.user_permissions": [
      "read",
      "write"
    ],
    "auth_flows_test.auth_flow_results": {
      "jwt_authentication": {
        "status": "{{jwt_login_success && jwt_valid && jwt_refresh_success ? 'success' : 'partial'}}",
        "tokens_issued": 2,
        "profile_access": "{{js: Boolean(variables.profile_fetch_success)}}"
      },
      "oauth2_authentication": {
        "status": "{{oauth2_token_exchange_success && oauth2_resource_access ? 'success' : 'partial'}}",
        "authorization_code_flow": "{{js: Boolean(variables.oauth2_auth_started)}}",
        "token_management": "{{js: Boolean(variables.oauth2_token_revoked)}}"
      },
      "security_validation": {
        "expired_tokens": "{{js: Boolean(variables.jwt_expired_handled)}}",
        "revoked_tokens": "{{js: Boolean(variables.revoked_token_rejected)}}",
        "permissions": "{{js: Boolean(variables.admin_permission_granted || variables.admin_permission_denied)}}"
      },
      "session_management": {
        "logout_success": "{{js: Boolean(variables.complete_logout)}}",
        "cleanup_complete": "{{js: Boolean(variables.all_tokens_revoked)}}"
      }
    },
    "complex-workflows-test.workflow_results": {
      "api_contract_validations": {
        "order_service": null,
        "payment_service": null,
        "user_service": null
      },
      "business_outcomes": {
        "customer_id": "{{customer_id}}",
        "items_purchased": 3,
        "order_id": null,
        "total_revenue": 594.96,
        "transaction_id": null,
        "workflow_completion": null
      },
      "ecommerce_workflow_results": {
        "cart_management": "success",
        "catalog_browsing": null,
        "customer_registration": null,
        "fulfillment_initiated": null,
        "order_created": null,
        "payment_processed": null,
        "product_details": null,
        "promotions_applied": null,
        "shipping_calculated": null
      },
      "end_to_end_success": true,
      "microservices_communication": {
        "inventory_service": null,
        "notification_service": null
      },
      "test_summary": "complex_workflows_ecommerce_contracts",
      "total_complex_workflow_tests": 13,
      "workflow_patterns_tested": [
        "customer_lifecycle_management",
        "product_catalog_interaction",
        "cart_and_checkout_process",
        "payment_transaction_flow",
        "order_fulfillment_pipeline",
        "api_contract_validation",
        "microservices_integration",
        "end_to_end_business_process",
        "workflow_analytics_tracking"
      ],
      "workflow_test_id": "workflow-ce7a02af-3257-4a3b-b77e-2dad7569115e"
    },
    "complex-workflows-test.ecommerce_data": {
      "cart_management": "success",
      "catalog_browsing": null,
      "customer_registration": null,
      "fulfillment_initiated": null,
      "order_created": null,
      "payment_processed": null,
      "product_details": null,
      "promotions_applied": null,
      "shipping_calculated": null
    },
    "complex-workflows-test.contract_validation_results": {
      "order_service": null,
      "payment_service": null,
      "user_service": null
    },
    "auth.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30",
    "input-capture-test.normalized_email": "John.Doe@Example.COM",
    "input-capture-test.email_domain": "John.Doe@Example.COM",
    "input-capture-test.full_name": "John Michael Doe",
    "dependency-setup.auth_token": "test_user",
    "dependency-setup.session_id": "172.18.0.3",
    "dependency-setup.config_id": "v2",
    "dependency-setup.setup_timestamp": true,
    "comprehensive_basic.captured_echo_data": {
      "action": "create_resource",
      "metadata": {
        "api_version": "v2.1",
        "test_mode": true,
        "timestamp": "2024-01-01T00:00:00Z"
      },
      "user_id": 12345,
      "username": "flow_test_user"
    },
    "comprehensive_basic.generated_uuid": "httpbin",
    "comprehensive_basic.final_status": "completed"
  },
  "suite_yaml_content": "node_id: \"javascript-expressions\"\nsuite_name: \"JavaScript Expressions Integration Test\"\ndescription: \"Tests JavaScript expressions for dynamic data generation and calculations\"\nbase_url: \"{{httpbin_url}}\"\n\nmetadata:\n  priority: \"high\"\n  tags: [\"javascript\", \"expressions\", \"dynamic\", \"calculations\"]\n  estimated_duration_ms: 4000\n\nvariables:\n  base_number: 10\n  multiplier: 5\n\nsteps:\n  - name: \"Test basic JavaScript arithmetic\"\n    request:\n      method: \"POST\"\n      url: \"/post\"\n      headers:\n        Content-Type: \"application/json\"\n      body:\n        calculated_value: \"{{$js.result = base_number * multiplier; return result}}\"\n        timestamp: \"{{$js.return Date.now()}}\"\n        random_between: \"{{$js.return Math.floor(Math.random() * 100) + 1}}\"\n    assert:\n      status_code: 200\n      body:\n        json:\n          calculated_value:\n            equals: 50\n          timestamp:\n            type: number\n    capture:\n      js_calculated: \"body.json.calculated_value\"\n      js_timestamp: \"body.json.timestamp\"\n\n  - name: \"Test JavaScript string manipulation\"\n    request:\n      method: \"POST\"\n      url: \"/post\"\n      headers:\n        Content-Type: \"application/json\"\n      body:\n        uppercase_suite: \"{{$js.return 'javascript-expressions'.toUpperCase()}}\"\n        reversed_name: \"{{$js.return 'FlowTest'.split('').reverse().join('')}}\"\n        formatted_date: \"{{$js.return new Date().toISOString().split('T')[0]}}\"\n    assert:\n      status_code: 200\n      body:\n        json:\n          uppercase_suite:\n            equals: \"JAVASCRIPT-EXPRESSIONS\"\n          reversed_name:\n            equals: \"tseTwolF\"\n\n  - name: \"Test JavaScript with captured variables\"\n    request:\n      method: \"POST\"\n      url: \"/post\"\n      headers:\n        Content-Type: \"application/json\"\n      body:\n        double_calculated: \"{{$js.return js_calculated * 2}}\"\n        time_diff: \"{{$js.return Date.now() - js_timestamp}}\"\n        complex_calc: \"{{$js.const val = js_calculated; return val > 40 ? 'high' : 'low'}}\"\n    assert:\n      status_code: 200\n      body:\n        json:\n          double_calculated:\n            equals: 100\n          complex_calc:\n            equals: \"high\"\n\n  - name: \"Test JavaScript arrays and objects\"\n    request:\n      method: \"POST\"\n      url: \"/post\"\n      headers:\n        Content-Type: \"application/json\"\n      body:\n        array_sum: \"{{$js.const arr = [1,2,3,4,5]; return arr.reduce((a,b) => a+b, 0)}}\"\n        object_keys: \"{{$js.const obj = {a:1, b:2, c:3}; return Object.keys(obj).length}}\"\n        conditional_value: \"{{$js.return base_number > 5 ? 'greater' : 'less'}}\"\n    assert:\n      status_code: 200\n      body:\n        json:\n          array_sum:\n            equals: 15\n          object_keys:\n            equals: 3\n          conditional_value:\n            equals: \"greater\"\n\nexports:\n  - js_calculated\n  - js_timestamp"
}
Flow Test Engine
Report generated on 10/19/2025, 10:28:45 AM
© 2025 Flow Test Engine. Dynamic Reporting System.