Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

1.9 KB
Raw Blame
{
  "services": {
    "router": "http://127.0.0.1:8080",
    "modular_pm": "http://127.0.0.1:8081/v2"
  },
  "target_headers": {
    "router": {},
    "modular_pm": {}
  },
  "merchant": {
    "api_key": "merchant_api_key_here",
    "publishable_key": "pk_test_here",
    "profile_id": "pro_here"
  },
  "load": {
    "total_rps": 10,
    "duration_seconds": 60,
    "request_timeout_ms": 40000,
    "think_time_ms": 0,
    "pre_allocated_vus_multiplier": 0.5,
    "max_vus_multiplier": 2
  },
  "payment": {
    "amount": 1000,
    "currency": "USD",
    "session_expiry": 900,
    "card": {
      "card_number": "4242424242424242",
      "card_exp_month": "10",
      "card_exp_year": "35",
      "card_holder_name": "Load Test",
      "card_cvc": "123"
    },
    "card_pool": [],
    "metadata_update": {
      "card_exp_month": "11",
      "card_exp_year": "36",
      "card_holder_name": "Updated Load Test"
    }
  },
  "sdk": {
    "wallets": []
  },
  "scenarios": [
    {
      "name": "guest",
      "merchant_path": "modular",
      "scenario": "guest",
      "weight": 43
    },
    {
      "name": "cit_off",
      "merchant_path": "modular",
      "scenario": "cit_off_session",
      "weight": 43
    },
    {
      "name": "meta_chg",
      "merchant_path": "modular",
      "scenario": "cit_metadata_changed",
      "weight": 0
    },
    {
      "name": "sdk",
      "merchant_path": "modular",
      "scenario": "sdk_checkout",
      "weight": 14
    },
    {
      "name": "mit",
      "merchant_path": "modular",
      "scenario": "mit",
      "weight": 0
    },
    {
      "name": "saved_card",
      "merchant_path": "modular",
      "scenario": "saved_card_checkout",
      "weight": 0
    }
  ],
  "thresholds": {
    "payment_confirm_ms_nomod_guest": [
      "p(90)<500"
    ],
    "payment_confirm_ms_mod_cit_off": [
      "p(90)<800"
    ],
    "payment_confirm_ms_nomod_mit": [
      "p(90)<800"
    ]
  }
}