Testing the Login Endpoint
Learn how to test the login behavior.
Press Run to load Postman
Postman and login applications
Next, we need to boot up the login app using the following steps:
Click the “+” icon to open a new terminal.
Enter the command below in the newly created terminal:
cd with-passport-app-educative && npm run dev
If desired, copy the URL below and paste it into a browser to view the application.
Press + to interact
{{EDUCATIVE_LIVE_VM_URL}}:3000
Creating reusable variables
We need an active account before we can test the login endpoint. So first, we’ll create a new user using the sign-up endpoint and store the username
and password
for the new user as collection variables. Collection variables are global variables that can ...