You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Since we have setup our sample-app natively, we need to update the mongoDB host on line 41, in `db/connection.js`, from `mongodb://mongoDb:27017/keploy` to `mongodb://127.0.0.1:27017/keploy`.**
64
+
> **Since we have setup our sample-app natively, we need to update the mongoDB host on line 41, in `db/connection.js`, from `mongodb://mongoDb:27017/Students` to `mongodb://127.0.0.1:27017/keploy`.**
65
65
66
66
### Capture the testcases
67
67
68
68
```bash
69
-
sudo -E env PATH=$PATHKeploy record -c 'npm run src/app.js'
69
+
sudo -E env PATH=$PATHkeploy record -c 'node src/app.js'
70
70
```
71
71
72
72
#### Let's generate the testcases.
73
73
Make API Calls using [Hoppscotch](https://hoppscotch.io), [Postman](https://postman.com) or cURL command. Keploy with capture those calls to generate the test-suites containing testcases and data mocks.
74
74
75
-
```bash
75
+
```bash
76
76
curl --request POST \
77
77
--url http://localhost:8000/students \
78
78
--header 'content-type: application/json' \
@@ -148,7 +148,7 @@ keploy record -c "docker run -p 8000:8000 --name nodeMongoApp --network keploy-n
148
148
#### Let's generate the testcases.
149
149
Make API Calls using [Hoppscotch](https://hoppscotch.io), [Postman](https://postman.com) or cURL command. Keploy with capture those calls to generate the test-suites containing testcases and data mocks.
0 commit comments