For Charger Manufacturers

Test Firmware Edge Cases Without Bricking Hardware

Simulate dangerous scenarios—overcurrent, ground faults, network failures—in minutes, not days. Test against any CSMS without $50k in physical chargers.

Physical Lab vs. Virtual Testing

Scenario
Physical Lab
Ground fault @ 200A
Dangerous ⚠️
Overcurrent spike
$8k damage
Network partition
Hard to simulate
1000 test iterations
72 hours
All scenarios: 8 minutes with Gridmock

Firmware Testing Shouldn't Require Physical Danger

Every firmware engineer knows: the edge cases you can't test in the lab are exactly the ones that fail in production.

Dangerous Scenarios

  • • Overcurrent testing risks $8k+ chargers
  • • Ground faults can injure technicians
  • • Thermal runaway needs isolation chamber
  • • Insulation breakdown is destructive

🐌Slow Iteration

  • • 1 test run = 45 min setup + teardown
  • • Can't test at 3 AM (lab closed)
  • • 1 charger = 1 test at a time
  • • Hardware resets take 5+ minutes

💰Expensive Failures

  • • OCA certification: €7,500 per attempt
  • • Failed cert = 3-month delay
  • • Production bugs = $50k+ recalls
  • • Physical chargers: $10k-$50k each

Real Cost: Failed OCA Certification

One firmware bug discovered during OCA certification costs you €7,500 + 3 months of delay. Testing against Gridmock's OCA compliance scenarios beforehand: $499/month.

15:1 ROI
One avoided failed certification pays for a year

Test Scenarios Impossible in Physical Labs

Gridmock simulates the CSMS side of dangerous or hard-to-reproduce scenarios

Electrical Fault Handling

  • Ground Fault: EV charger detects ground fault, sends error code, expects CSMS to log + alert
  • Overcurrent Protection: Charger hits current limit, must gracefully reduce power or stop
  • Emergency Stop: CSMS sends immediate stop, charger must respond in <100ms
  • Connector Lock Failure: Can't unlock cable, user trapped
📡

Network Failure Modes

  • Mid-Transaction Disconnect: Connection drops during active charging session
  • Intermittent Connection: Connect/disconnect every 30 seconds
  • CSMS Timeout: CSMS stops responding, charger must handle offline
  • Delayed Responses: 5-second lag on every CSMS response
📦

OTA Update Scenarios

  • Update During Session: CSMS triggers firmware update while car is charging
  • Corrupted Download: Firmware file MD5 mismatch, must reject
  • Download Interruption: Connection drops at 80% download
  • Rollback Test: New firmware fails, must revert to previous
🔐

Auth & Authorization

  • Expired RFID Card: User swipes card that was valid yesterday
  • Blocked User: CSMS returns "Blocked" status, must deny charging
  • Offline Auth Fallback: No connection, use local whitelist
  • Race Condition: User swipes card, unplugs, swipes again in 2 seconds

100+ pre-built scenarios covering OCA OCTT test cases, real-world failures, and manufacturer-specific edge cases.

Automated Firmware Testing in CI/CD

Test Every Firmware Commit Automatically

Integrate Gridmock into your CI/CD pipeline. Every git push triggers automated OCPP compliance tests against a virtual CSMS.

  • GitHub Actions, GitLab CI, Jenkins support
  • Run 50+ OCA test cases in parallel
  • Get pass/fail reports in pull requests
  • Catch regressions before they ship
.github/workflows/firmware-test.yml
name: Firmware OCPP Tests

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3

      - name: Flash firmware to test device
        run: ./scripts/flash.sh

      - name: Run OCPP compliance tests
        run: |
          gridmock test --firmware-endpoint \
            ws://test-device:8080/ocpp \
            --scenarios oca-compliance \
            --output junit.xml

      - name: Upload test results
        uses: actions/upload-artifact@v3

OCA Certification Prep

Run the exact same test cases used in official OCA OCTT certification—before paying €7,500

Without Gridmock

1
Submit firmware to OCA for testing: €7,500
2
Wait 4-6 weeks for test results
3
Discover failures in test case #14 and #27
4
Fix bugs, wait 3 months, pay another €7,500

With Gridmock

1
Run all 50+ OCA test cases locally: 8 minutes
2
See failures immediately with detailed logs
3
Fix bugs, re-run tests in CI/CD until all pass
4
Submit to OCA with confidence—pass first time
Gridmock Professional tier:
$499/month
One avoided failed certification = 15 months paid

Recommended: Professional Tier

Firmware testing requires fault injection scenarios and OCA compliance test suite

Professional

For charger manufacturers & firmware teams

$499/mo
or $4,990/year (save 17%)

Included Features

  • 2,000 concurrent virtual chargers
  • Fault injection scenarios
  • OCA compliance test suite
  • Full REST API + Webhooks
  • CI/CD integration (GitHub Actions, GitLab)

 

  • Message export (CSV/JSON)
  • 7 days message history
  • 10 team members
  • Priority email support (24h)
  • Scenario scheduling

Need more chargers or dedicated infrastructure? Contact sales for Enterprise

Test Smarter, Ship Faster

Gridmock helps charger manufacturers validate firmware without physical hardware risks. Now in early access.

Questions? Contact our solutions team