
How DevNex built, tested, and launched a multi-role, AI-integrated travel platform for northern Pakistan with zero critical defects and 95ms average response time under load.
Project
Smart Tour - AI Travel Platform
Live URL
smarttour-v2.vercel.appTech Stack
Next.js 14, Supabase, Tailwind, AI
Delivered By
DevNex Innovation
DevNex designed, built, and QA-tested Smart Tour a full stack AI-powered travel planning platform for northern Pakistan tourism across three comprehensive testing phases. Black Box Testing validated all 8 core user journeys with a 100% pass rate. API Testing via Postman confirmed all 4 production endpoints returned HTTP 200 OK with sub 340ms response times. Load Testing via k6 demonstrated the system handles 10 concurrent users at 95.63ms average response time well below the industry benchmark of 200ms.
Smart Tour is a full stack SaaS web application purpose-built for northern Pakistan tourism. The platform serves three distinct user roles through purpose-built portals: Traveler, Tour Company, and Administrator. It integrates real-time AI, live weather data, safety mapping, and a complete booking management system.
| Testing Phase | KPI Target | Category |
|---|---|---|
| Black Box Testing | 100% pass rate across all core user journeys | Functional |
| API Testing | HTTP 200 OK on all endpoints, response time under 500ms | Reliability |
| Load Testing | Avg response time under 200ms with 10 concurrent users | Performance |
| Security | Protected routes must reject unauthenticated access correctly | Security |
Ensuring traveler, company, and admin roles could not access each other's dashboards.
✓ Solution: Supabase RLS policies with a SECURITY DEFINER helper.
Validating OpenWeatherMap, Mapbox GL JS, and Hugging Face in production.
✓ Solution: Isolated per-integration test cases confirming stable API health.
Simulating 10 VUs risked exposing session leakage across protected routes.
✓ Solution: k6 multi-URL load test confirmed consistent HTTP 302 redirects safely.
No staging environment meant testing against the live Vercel deployment.
✓ Solution: Pre-test production hardening (rotating keys, sanitizing environment).
Validate every critical end-user journey simulating real user behavior from registration through core features.
Verify HTTP endpoint behavior independently of the frontend UI.
Simulate concurrent traffic to identify performance bottlenecks and stability issues.
DevNex builds full-stack AI-powered SaaS platforms with end-to-end QA baked into the development process.
Book a Free Call