================================================ API ENDPOINT TEST REPORT (HTTPS) Server: testmarketplace.aibit.services Protocol: HTTPS Test Date: Fri Apr 10 06:24:40 AM UTC 2026 ================================================ === JOBS ENDPOINTS === ---------------------------------------- Endpoint: GET /api/jobs Description: List all jobs Status: ✓ PASS HTTP Code: 200 Response Time: 0.275132s Response Body (first 500 chars): {"success":true,"data":[{"_id":"6981f56823b252b43ae52691","title":"SEO, GEO & Digital Marketing Executive","department":"Marketing","location":"GIFT University, Gujranwala, Pakistan","employmentType":"Full-time","description":"Drive organic growth by optimizing websites and content for search engines and generative engines using data-driven SEO, GEO, and digital marketing strategies.","responsibilities":["Plan and execute SEO, GEO, and digital marketing strategies","Perform keyword research, com ---------------------------------------- Endpoint: GET /api/jobs/invalid-id Description: Get job by ID (invalid) Status: ✗ FAIL HTTP Code: 500 Response Time: 0.021745s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"invalid-id\" (type string) at path \"_id\" for model \"Job\""} ---------------------------------------- Endpoint: POST /api/jobs Description: Create job Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.019934s Response Body (first 500 chars): {"success":false,"error":"Validation failed","errors":{"formErrors":[],"fieldErrors":{"department":["Required"],"location":["Required"],"employmentType":["Required"],"applicationUrl":["Required"],"status":["Required"]}}} ---------------------------------------- Endpoint: PUT /api/jobs/test-id Description: Update job Status: ✗ FAIL HTTP Code: 500 Response Time: 0.020824s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"test-id\" (type string) at path \"_id\" for model \"Job\""} ---------------------------------------- Endpoint: DELETE /api/jobs/test-id Description: Delete job Status: ✗ FAIL HTTP Code: 500 Response Time: 0.019281s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"test-id\" (type string) at path \"_id\" for model \"Job\""} === APPLICATIONS ENDPOINTS === ---------------------------------------- Endpoint: GET /api/applications Description: List all applications Status: ✓ PASS HTTP Code: 200 Response Time: 0.544978s Response Body (first 500 chars): {"success":true,"data":[{"_id":"698cb95b23b252b43ae526c1","fullName":"Rafia Nazir","email":"rafianazeer721@gmail.com","phone":"03354405001","jobId":{"_id":"6981f42123b252b43ae52689","title":"UI/UX Designer","department":"Design","location":"GIFT University, Gujranwala, Pakistan","employmentType":"Full-time"},"role":"UI/UX Designer","location":"GIFT University, Gujranwala, Pakistan","resumeUrl":"https://res.cloudinary.com/doiygrgk0/image/upload/v1770830171/aibit_soft/resumes/resume-1770830168704- ---------------------------------------- Endpoint: GET /api/applications/invalid-id Description: Get application by ID Status: ✗ FAIL HTTP Code: 500 Response Time: 0.016273s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"invalid-id\" (type string) at path \"_id\" for model \"Application\""} ---------------------------------------- Endpoint: POST /api/applications Description: Create application Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.017489s Response Body (first 500 chars): {"success":false,"error":"Missing required fields: fullName, email, role, and location are required"} ---------------------------------------- Endpoint: PUT /api/applications/test-id Description: Update application Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.016089s Response Body (first 500 chars): {"success":false,"error":"Validation failed","errors":{"formErrors":[],"fieldErrors":{"status":["Invalid enum value. Expected 'New' | 'Reviewed' | 'Interview' | 'Rejected', received 'reviewed'"]}}} ---------------------------------------- Endpoint: DELETE /api/applications/test-id Description: Delete application Status: ✗ FAIL HTTP Code: 500 Response Time: 0.025474s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"test-id\" (type string) at path \"_id\" for model \"Application\""} === USER RESUMES ENDPOINTS === ---------------------------------------- Endpoint: GET /api/user-resumes Description: List all user resumes Status: ✓ PASS HTTP Code: 200 Response Time: 1.058539s Response Body (first 500 chars): {"success":true,"data":[{"_id":"691adbe181d2fa9a3b25bd88","fullName":"jonny","email":"abdullahwarraich0048@gmail.com","phoneNumber":"03361400373","cvURL":"https://res.cloudinary.com/doiygrgk0/raw/upload/fl_attachment:false/v1763367904/user-resumes/ubuqani7c2dewax4uwvs","coverNote":"nothing","jobId":null,"positionTitle":"Senior Front End Developer","createdAt":"2025-11-17T08:25:05.279Z","updatedAt":"2025-11-17T08:25:05.279Z","__v":0},{"_id":"6916d47765dbc7dc0e14dde6","fullName":"Abdul wahab","ema ---------------------------------------- Endpoint: POST /api/user-resumes Description: Create user resume Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.011638s Response Body (first 500 chars): {"success":false,"error":"CV file is required"} === TEAM MEMBERS ENDPOINTS === ---------------------------------------- Endpoint: GET /api/team-members Description: List all team members Status: ✓ PASS HTTP Code: 200 Response Time: 1.616670s Response Body (first 500 chars): {"success":true,"data":[{"_id":"691c331b2cd4ab62eb3cb14e","name":"Dr. Khawaja jahanzeb","role":"Business and HR Manager","phd":"7+ years Experience","img":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgEBIAEgAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCASgBLwDAREAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhM ---------------------------------------- Endpoint: GET /api/team-members/invalid-id Description: Get team member by ID Status: ✗ FAIL HTTP Code: 500 Response Time: 0.012756s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"invalid-id\" (type string) at path \"_id\" for model \"TeamMember\""} ---------------------------------------- Endpoint: POST /api/team-members Description: Create team member Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.013365s Response Body (first 500 chars): {"success":false,"error":"Validation failed","errors":{"formErrors":[],"fieldErrors":{"img":["Required"],"category":["Required"]}}} ---------------------------------------- Endpoint: POST /api/team-members/seed Description: Seed team members Status: ✓ PASS HTTP Code: 200 Response Time: 6.311641s Response Body (first 500 chars): {"success":true,"data":{"message":"Team members seeded successfully","results":[{"action":"updated","member":"Naseer Akhtar","id":"6911d9db1ec2410853b8bd39"},{"action":"updated","member":"Dr. Ziad Nayyer","id":"6911d9db1ec2410853b8bd3c"},{"action":"updated","member":"Dr. Faheem","id":"6911d9db1ec2410853b8bd3f"},{"action":"updated","member":"Zaheer Ahmad","id":"6911d9dc1ec2410853b8bd42"},{"action":"updated","member":"Muhammad Waseem","id":"6911d9dc1ec2410853b8bd45"},{"action":"updated","member":" ---------------------------------------- Endpoint: PUT /api/team-members/test-id Description: Update team member Status: ✗ FAIL HTTP Code: 500 Response Time: 0.017935s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"test-id\" (type string) at path \"_id\" for model \"TeamMember\""} ---------------------------------------- Endpoint: DELETE /api/team-members/test-id Description: Delete team member Status: ✗ FAIL HTTP Code: 500 Response Time: 0.014318s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"test-id\" (type string) at path \"_id\" for model \"TeamMember\""} === BLOGS ENDPOINTS === ---------------------------------------- Endpoint: GET /api/blogs Description: List all blogs Status: ✓ PASS HTTP Code: 200 Response Time: 0.279922s Response Body (first 500 chars): {"success":true,"data":[{"_id":"696b434ff8803ef1b0e041aa","category":"tech","__v":0,"components":[],"createdAt":"2026-01-17T08:07:43.595Z","heroSection":{"title":"Hero"},"status":"Draft","updatedAt":"2026-04-09T14:49:16.868Z"},{"_id":"69130b7160ac830969554a37","category":"Blogs-IT-Staff","__v":0,"components":[{"componentType":"FinalThought","componentName":"Aibit","data":{"title":"Aibitttt","cta":{"title":"ok","description":"ok","buttons":[{"text":"next page ","href":"/next","variant":"outline"} ---------------------------------------- Endpoint: GET /api/blogs/category/tech Description: Get blogs by category Status: ✓ PASS HTTP Code: 200 Response Time: 0.276008s Response Body (first 500 chars): {"success":true,"data":{"_id":"696b434ff8803ef1b0e041aa","category":"tech","__v":0,"components":[],"createdAt":"2026-01-17T08:07:43.595Z","heroSection":{"title":"Hero"},"status":"Draft","updatedAt":"2026-04-09T14:49:16.868Z"}} ---------------------------------------- Endpoint: GET /api/blogs/category/Blogs-IT-Staff Description: Get blogs by category (existing) Status: ✓ PASS HTTP Code: 200 Response Time: 0.276745s Response Body (first 500 chars): {"success":true,"data":{"_id":"69130b7160ac830969554a37","category":"Blogs-IT-Staff","__v":0,"components":[{"componentType":"FinalThought","componentName":"Aibit","data":{"title":"Aibitttt","cta":{"title":"ok","description":"ok","buttons":[{"text":"next page ","href":"/next","variant":"outline"}]}},"order":0,"enabled":true,"_id":"69130cda2c4427fb8d66810d","createdAt":"2025-11-11T10:15:54.014Z","updatedAt":"2025-11-11T10:15:54.014Z"}],"createdAt":"2025-11-11T10:09:53.689Z","description":"ok","sta ---------------------------------------- Endpoint: GET /api/blogs/invalid-id Description: Get blog by ID Status: ✗ FAIL HTTP Code: 500 Response Time: 0.024253s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"invalid-id\" (type string) at path \"_id\" for model \"Blog\""} ---------------------------------------- Endpoint: POST /api/blogs Description: Create blog Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.017438s Response Body (first 500 chars): {"success":false,"error":"Validation failed","errors":{"formErrors":[],"fieldErrors":{"category":["Required"]}}} ---------------------------------------- Endpoint: PUT /api/blogs/test-id Description: Update blog Status: ✗ FAIL HTTP Code: 500 Response Time: 0.016034s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"test-id\" (type string) at path \"_id\" for model \"Blog\""} ---------------------------------------- Endpoint: PUT /api/blogs/category/tech/hero Description: Update hero section Status: ✓ PASS HTTP Code: 200 Response Time: 0.279477s Response Body (first 500 chars): {"success":true,"data":{"_id":"696b434ff8803ef1b0e041aa","category":"tech","__v":0,"components":[],"createdAt":"2026-01-17T08:07:43.595Z","heroSection":{"title":"Hero"},"status":"Draft","updatedAt":"2026-04-10T06:24:52.006Z"}} ---------------------------------------- Endpoint: PUT /api/blogs/category/tech/component/test-component-id Description: Update component Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.281237s Response Body (first 500 chars): {"success":false,"error":"Component not found"} ---------------------------------------- Endpoint: PUT /api/blogs/category/tech Description: Update blog by category Status: ✓ PASS HTTP Code: 200 Response Time: 0.279790s Response Body (first 500 chars): {"success":true,"data":{"_id":"696b434ff8803ef1b0e041aa","category":"tech","__v":0,"components":[],"createdAt":"2026-01-17T08:07:43.595Z","heroSection":{"title":"Hero"},"status":"Draft","updatedAt":"2026-04-10T06:24:52.620Z"}} ---------------------------------------- Endpoint: DELETE /api/blogs/test-id Description: Delete blog Status: ✗ FAIL HTTP Code: 500 Response Time: 0.014519s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"test-id\" (type string) at path \"_id\" for model \"Blog\""} === BLOG STATIC DATA ENDPOINTS === ---------------------------------------- Endpoint: GET /api/blog-static-data/tech Description: Get static data by category Status: ✓ PASS HTTP Code: 200 Response Time: 0.015779s Response Body (first 500 chars): {"success":true,"data":{"category":"tech","message":"Static data file not found, use frontend config","data":null}} ---------------------------------------- Endpoint: GET /api/blog-static-data/Blogs-IT-Staff Description: Get static data by category (existing) Status: ✓ PASS HTTP Code: 200 Response Time: 0.015197s Response Body (first 500 chars): {"success":true,"data":{"category":"Blogs-IT-Staff","message":"Static data file not found, use frontend config","data":null}} === ZOOM MEETING ENDPOINTS === ---------------------------------------- Endpoint: GET /api/ Description: List all zoom meetings (root) Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.016361s Response Body (first 500 chars): {"success":false,"error":"Route GET /api/ not found"} ---------------------------------------- Endpoint: GET /api/invalid-id Description: Get zoom meeting by ID Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.011068s Response Body (first 500 chars): {"success":false,"error":"Route GET /api/invalid-id not found"} ---------------------------------------- Endpoint: GET /api/zoom/invalid-zoom-id Description: Get zoom meeting by Zoom ID Status: ✗ FAIL HTTP Code: 500 Response Time: 0.026078s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"invalid-zoom-id\" (type string) at path \"_id\" for model \"ZoomMeeting\""} ---------------------------------------- Endpoint: POST /api/schedule-zoom Description: Schedule zoom meeting Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.015930s Response Body (first 500 chars): {"success":false,"error":"Validation failed: title: Required; date: Required; time: Required; duration: Required; timezone: Required; participants: Required","errors":{"formErrors":[],"fieldErrors":{"title":["Required"],"date":["Required"],"time":["Required"],"duration":["Required"],"timezone":["Required"],"participants":["Required"]}}} ---------------------------------------- Endpoint: POST /api/create-meeting Description: Create zoom meeting Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.018458s Response Body (first 500 chars): {"ok":false,"error":"Validation failed: preferredMeetingTime: Required","errors":{"formErrors":[],"fieldErrors":{"preferredMeetingTime":["Required"]}}} ---------------------------------------- Endpoint: POST /api/ Description: Create zoom meeting (root) Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.015456s Response Body (first 500 chars): {"success":false,"error":"Route POST /api/ not found"} ---------------------------------------- Endpoint: PUT /api/test-id/cancel Description: Cancel zoom meeting Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.021314s Response Body (first 500 chars): {"success":false,"error":"Route PUT /api/test-id/cancel not found"} ---------------------------------------- Endpoint: PUT /api/test-id Description: Update zoom meeting Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.023529s Response Body (first 500 chars): {"success":false,"error":"Route PUT /api/test-id not found"} ---------------------------------------- Endpoint: DELETE /api/test-id Description: Delete zoom meeting Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.020305s Response Body (first 500 chars): {"success":false,"error":"Route DELETE /api/test-id not found"} === GOOGLE MEET ENDPOINTS === ---------------------------------------- Endpoint: GET /api/google-meet Description: List all Google Meet meetings Status: ✓ PASS HTTP Code: 200 Response Time: 0.285095s Response Body (first 500 chars): {"success":true,"data":[{"_id":"696f7ffe05fd339a2047334c","eventId":"mtl43j081rj2c0h4b8tfuau4r4","calendarId":"primary","title":"Discussion about project","description":"Discussion about project\nRequested by: Yasir Iqbal (yasiriq360@gmail.com)\n \n Meeting Host: aibitsofts@gmail.com\n Company Contact: contact@aibitsol.com\n Timezone: Mountain Time (MT)\n \n Meeting Participants:\n • aibitsofts@gmail.com (Host)\n• yasiriq360@gmail.com\n• contact@aibitsol.com\n \n \n \n \n \n\n ---------------------------------------- Endpoint: GET /api/google-meet/invalid-id Description: Get Google Meet by ID Status: ✗ FAIL HTTP Code: 500 Response Time: 0.014575s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"invalid-id\" (type string) at path \"_id\" for model \"GoogleMeet\""} ---------------------------------------- Endpoint: GET /api/google-meet/event/invalid-event-id Description: Get Google Meet by Event ID Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.274033s Response Body (first 500 chars): {"success":false,"error":"Meeting not found"} ---------------------------------------- Endpoint: POST /api/google-meet/schedule-google-meet Description: Schedule Google Meet Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.030099s Response Body (first 500 chars): {"success":false,"error":"Validation failed: title: Required; date: Required; time: Required; duration: Required; timezone: Required; participants: Required","errors":{"formErrors":[],"fieldErrors":{"title":["Required"],"date":["Required"],"time":["Required"],"duration":["Required"],"timezone":["Required"],"participants":["Required"]}}} ---------------------------------------- Endpoint: POST /api/google-meet/create-google-meet Description: Create Google Meet Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.015704s Response Body (first 500 chars): {"ok":false,"error":"Validation failed: preferredMeetingTime: Required","errors":{"formErrors":[],"fieldErrors":{"preferredMeetingTime":["Required"]}}} ---------------------------------------- Endpoint: POST /api/google-meet Description: Create Google Meet (root) Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.013562s Response Body (first 500 chars): {"ok":false,"error":"Validation failed: preferredMeetingTime: Required","errors":{"formErrors":[],"fieldErrors":{"preferredMeetingTime":["Required"]}}} ---------------------------------------- Endpoint: PUT /api/google-meet/test-id/cancel Description: Cancel Google Meet Status: ✗ FAIL HTTP Code: 500 Response Time: 0.022668s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"test-id\" (type string) at path \"_id\" for model \"GoogleMeet\""} ---------------------------------------- Endpoint: PUT /api/google-meet/test-id Description: Update Google Meet Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.017712s Response Body (first 500 chars): {"success":false,"error":"Validation failed","errors":{"formErrors":[],"fieldErrors":{"status":["Invalid enum value. Expected 'Scheduled' | 'Completed' | 'Cancelled' | 'In Progress', received 'cancelled'"]}}} ---------------------------------------- Endpoint: DELETE /api/google-meet/test-id Description: Delete Google Meet Status: ✗ FAIL HTTP Code: 500 Response Time: 0.019829s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"test-id\" (type string) at path \"_id\" for model \"GoogleMeet\""} === TEMPLATES ENDPOINTS === ---------------------------------------- Endpoint: GET /api/templates Description: List all templates Status: ✓ PASS HTTP Code: 200 Response Time: 0.275424s Response Body (first 500 chars): {"success":true,"data":[{"_id":"69c660d3f0b052507d9b15d2","title":"Youtube - Wideo Player","description":"

Testing Hello

","homePageImageUrl":"https://res.cloudinary.com/doiygrgk0/image/upload/v1774608596/aibit_soft/template-previews/template-1774608589385-298888470_wagull.png","liveProjectUrl":"https://www.youtube.com","features":[{"category":"Video Player","items":["Feature-1","Feature-2"]}],"techStacks":[{"category":"Backend","items":["NodeJS"]}],"createdAt":"2026-03-27T10:49:55.0 ---------------------------------------- Endpoint: GET /api/templates/invalid-id Description: Get template by ID Status: ✗ FAIL HTTP Code: 500 Response Time: 0.017723s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"invalid-id\" (type string) at path \"_id\" for model \"Template\""} ---------------------------------------- Endpoint: POST /api/templates Description: Create template Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.012803s Response Body (first 500 chars): {"success":false,"error":"Preview image is required"} ---------------------------------------- Endpoint: DELETE /api/templates/test-id Description: Delete template Status: ✗ FAIL HTTP Code: 500 Response Time: 0.015301s Response Body (first 500 chars): {"success":false,"error":"Cast to ObjectId failed for value \"test-id\" (type string) at path \"_id\" for model \"Template\""} === INTERVIEW EMAIL ENDPOINTS === ---------------------------------------- Endpoint: POST /api/interviews/send-email Description: Send interview email Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.013726s Response Body (first 500 chars): {"success":false,"error":"Missing required fields: candidateName, candidateEmail, role, interviewDate, interviewType, interviewer"} === CONTACT FORM ENDPOINTS === ---------------------------------------- Endpoint: POST /api/contact Description: Submit contact form Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.012523s Response Body (first 500 chars): {"ok":false,"error":"Validation failed: phone: Phone number is required; services: Please select at least one service","errors":{"formErrors":[],"fieldErrors":{"phone":["Phone number is required"],"services":["Please select at least one service"]}}} === PROPOSAL FORM ENDPOINTS === ---------------------------------------- Endpoint: POST /api/proposal Description: Submit proposal form Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.011751s Response Body (first 500 chars): {"ok":false,"error":"Validation failed: name: Name must be at least 2 characters; phone: Phone number is required; services: Please select at least one service","errors":{"formErrors":[],"fieldErrors":{"name":["Name must be at least 2 characters"],"phone":["Phone number is required"],"services":["Please select at least one service"]}}} === BOOK EXPERT FORM ENDPOINTS === ---------------------------------------- Endpoint: POST /api/book-expert Description: Submit book expert form Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.011755s Response Body (first 500 chars): {"ok":false,"error":"Validation failed: phone: Phone number is required; services: Please select at least one service; preferredTime: Preferred time is required","errors":{"formErrors":[],"fieldErrors":{"phone":["Phone number is required"],"services":["Please select at least one service"],"preferredTime":["Preferred time is required"]}}} === PARTNER FORM ENDPOINTS === ---------------------------------------- Endpoint: POST /api/partner Description: Submit partner form Status: ⚠ EXPECTED (Client Error) HTTP Code: 400 Response Time: 0.018785s Response Body (first 500 chars): {"ok":false,"error":"Validation failed: name: Name must be at least 2 characters; phone: Phone number is required; partnershipType: Partnership type is required","errors":{"formErrors":[],"fieldErrors":{"name":["Name must be at least 2 characters"],"phone":["Phone number is required"],"partnershipType":["Partnership type is required"]}}} === USER ENDPOINTS === ---------------------------------------- Endpoint: POST /api/users/login Description: Save user login Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.011800s Response Body (first 500 chars): {"success":false,"error":"Route POST /api/users/login not found"} ---------------------------------------- Endpoint: GET /api/users/email/test@test.com Description: Get user by email Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.013019s Response Body (first 500 chars): {"success":false,"error":"Route GET /api/users/email/test@test.com not found"} ---------------------------------------- Endpoint: GET /api/users/email/aibitsofts@gmail.com Description: Get user by email (existing) Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.022267s Response Body (first 500 chars): {"success":false,"error":"Route GET /api/users/email/aibitsofts@gmail.com not found"} ---------------------------------------- Endpoint: GET /api/users/me Description: Get current user Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.015864s Response Body (first 500 chars): {"success":false,"error":"Route GET /api/users/me not found"} === AUTH ENDPOINTS === ---------------------------------------- Endpoint: GET /auth/google/debug Description: Debug OAuth configuration Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.012388s Response Body (first 500 chars): {"success":false,"error":"Route GET /auth/google/debug not found"} ---------------------------------------- Endpoint: GET /auth/google Description: Initiate Google OAuth (redirects) Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.013645s Response Body (first 500 chars): {"success":false,"error":"Route GET /auth/google not found"} ---------------------------------------- Endpoint: GET /auth/google/callback?code=test Description: Google OAuth callback Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.014052s Response Body (first 500 chars): {"success":false,"error":"Route GET /auth/google/callback not found"} === ROOT ENDPOINT === ---------------------------------------- Endpoint: GET /api Description: Root API endpoint Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.012784s Response Body (first 500 chars): {"success":false,"error":"Route GET /api not found"} === ADDITIONAL EDGE CASES === ---------------------------------------- Endpoint: GET / Description: Root path Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.014477s Response Body (first 500 chars): {"success":false,"error":"Route GET / not found"} ---------------------------------------- Endpoint: GET /api/ Description: API root with trailing slash Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.013183s Response Body (first 500 chars): {"success":false,"error":"Route GET /api/ not found"} ---------------------------------------- Endpoint: GET /api/jobs/ Description: Jobs with trailing slash Status: ✓ PASS HTTP Code: 200 Response Time: 0.273441s Response Body (first 500 chars): {"success":true,"data":[{"_id":"6981f56823b252b43ae52691","title":"SEO, GEO & Digital Marketing Executive","department":"Marketing","location":"GIFT University, Gujranwala, Pakistan","employmentType":"Full-time","description":"Drive organic growth by optimizing websites and content for search engines and generative engines using data-driven SEO, GEO, and digital marketing strategies.","responsibilities":["Plan and execute SEO, GEO, and digital marketing strategies","Perform keyword research, com ---------------------------------------- Endpoint: GET /api/invalid-route Description: Invalid route Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.015535s Response Body (first 500 chars): {"success":false,"error":"Route GET /api/invalid-route not found"} ---------------------------------------- Endpoint: GET /.well-known/acme-challenge/test Description: ACME challenge path Status: ⚠ EXPECTED (Client Error) HTTP Code: 404 Response Time: 0.011482s Response Body (first 500 chars): {"success":false,"error":"Route GET /.well-known/acme-challenge/test not found"} ================================================ TEST SUMMARY ================================================ Total Endpoints Tested: 70 Report saved to: api-test-report-testmarketplace-https-20260410-062440.txt ================================================