11---
22id : keploy-karaf-example
3- title : Keploy Karaf Example
3+ title : Setting Up Keploy Agent in Apache Karaf for Local Development
44sidebar_label : Keploy Karaf Example
55description : This section documents how to run keploy with Karaf
66tags :
@@ -12,12 +12,6 @@ keywords:
1212 - running-guide
1313---
1414
15- # Setting Up Keploy Agent in Apache Karaf for Local Development
16-
17- Follow these steps to set up and run the Keploy agent in Apache Karaf for your local development environment.
18-
19- ---
20-
2115## Step 1: Download Required JARs
2216
2317Use ` wget ` to download the necessary JAR files:
@@ -32,8 +26,6 @@ wget https://keploy-enterprise.s3.us-west-2.amazonaws.com/agent-jars/java-agent-
3226wget https://keploy-enterprise.s3.us-west-2.amazonaws.com/agent-jars/org.jacoco.agent-0.8.12-runtime.jar
3327```
3428
35- ---
36-
3729## Step 2: Configure Apache Karaf
3830
3931### Update ` JAVA_OPTS ` for linux/mac in ` setenv ` File
@@ -82,8 +74,6 @@ wget https://keploy-enterprise.s3.us-west-2.amazonaws.com/agent-jars/org.jacoco.
8274 io.keploy.*
8375 ```
8476
85- ---
86-
8777## Step 3: Start Apache Karaf and Export Environment Variables
8878
89791 . Start Apache Karaf by navigating to the ` bin ` directory and running:
@@ -108,8 +98,6 @@ wget https://keploy-enterprise.s3.us-west-2.amazonaws.com/agent-jars/org.jacoco.
10898
10999 Replace the ` APP_PATH ` value with the absolute path to your application's target folder.
110100
111- ---
112-
113101## Step 4: Import Postman Collection
114102
1151031 . Ensure you have a Postman collection ready for your application.
@@ -121,8 +109,6 @@ wget https://keploy-enterprise.s3.us-west-2.amazonaws.com/agent-jars/org.jacoco.
121109
122110 Replace ` /path/to/YourPostmanCollection.json ` with the actual path to your Postman collection.
123111
124- ---
125-
126112## Step 5: Run Keploy Tests
127113
128114Use the following command to run the imported tests:
0 commit comments