Test Go Proxy
Test the new Go proxy ( https://go.proxy.lucidtracker.app) before switching production
Admin Testing Only: This page tests the new Go proxy without affecting production. Enter your Lucid credentials to verify the proxy works correctly.
Single Test
Run a single test to verify basic functionality
Token Caching Test (Production Simulation)
Test token reuse efficiency - tokens expire after ~5 minutes
🎯 Production Behavior: This test simulates production by logging in once, saving the token, and reusing it for subsequent requests until it expires (~5 min). This dramatically reduces API load and avoids rate limiting!
Stress Test (Reliability Analysis)
Run multiple consecutive tests to measure reliability and success rates
⚠️ Rate Limiting: Lucid's API rate limits rapid logins. Use a 2-5 second delay between tests to avoid ResourceExhausted errors.
Understanding Token Caching
🔑 Why Token Caching Matters: Lucid's tokens expire after ~5 minutes, but during that window, you can make unlimited requests without re-authenticating.
⚡ Performance Impact: Token caching can make requests 50-80% faster and completely eliminates rate limiting issues since you're not logging in repeatedly.
🎯 Production Strategy:
- Cache tokens per user in your database or session
- Store token + expiry timestamp
- Check expiry before each request
- Automatically refresh when within 30s of expiry
- Handle 401 errors with graceful re-authentication