Skip to content

Commit 4cc1f1c

Browse files
authored
Update keploy-karaf.md
Signed-off-by: Sarthak Shyngle <[email protected]>
1 parent b683ad2 commit 4cc1f1c

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

versioned_docs/version-2.0.0/running-keploy/keploy-karaf.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -82,20 +82,14 @@ Replace the placeholder values with actual paths and keys as needed.
8282

8383
## Step 4: Record Test Cases
8484

85-
1. Restart Apache Karaf by setting the environment variable `KEPLOY_MODE` to `RECORD`:
86-
87-
```bash
88-
./karaf
89-
```
90-
91-
2. Record test cases using the following command:
85+
1. Record test cases using the following command:
9286

9387
```bash
9488
keploy record --base-url="http://localhost:8181"
9589
```
9690

97-
3. Make a series of API calls to your application's endpoints.
98-
4. After completing the API calls, press `Ctrl+C` in the session where you are running the Keploy binary to stop recording.
91+
2. Make a series of API calls to your application's endpoints.
92+
3. After completing the API calls, press `Ctrl+C` in the session where you are running the Keploy binary to stop recording.
9993

10094
## Step 5: Or Use Import Postman Collection
10195

@@ -110,14 +104,7 @@ Replace the placeholder values with actual paths and keys as needed.
110104

111105
## Step 6: Run Keploy Tests
112106

113-
1. Restart Apache Karaf by setting the environment variable `KEPLOY_MODE` to `test`:
114-
115-
```bash
116-
export KEPLOY_MODE="test"
117-
./karaf
118-
```
119-
120-
2. Use the following command to run the imported tests:
107+
1. Use the following command to run the imported tests:
121108

122109
```bash
123110
keploy test --base-path="http://localhost:8181"

0 commit comments

Comments
 (0)