Skip to content

Commit

Permalink
chore: remove extra spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
nehagup committed Jan 13, 2025
1 parent fcbd867 commit b40a90e
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions versioned_docs/version-2.0.0/running-keploy/keploy-karaf.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: keploy-karaf-example
title: Keploy Karaf Example
title: Setting Up Keploy Agent in Apache Karaf for Local Development
sidebar_label: Keploy Karaf Example
description: This section documents how to run keploy with Karaf
tags:
Expand All @@ -12,12 +12,6 @@ keywords:
- running-guide
---

# Setting Up Keploy Agent in Apache Karaf for Local Development

Follow these steps to set up and run the Keploy agent in Apache Karaf for your local development environment.

---

## Step 1: Download Required JARs

Use `wget` to download the necessary JAR files:
Expand All @@ -32,8 +26,6 @@ wget https://keploy-enterprise.s3.us-west-2.amazonaws.com/agent-jars/java-agent-
wget https://keploy-enterprise.s3.us-west-2.amazonaws.com/agent-jars/org.jacoco.agent-0.8.12-runtime.jar
```

---

## Step 2: Configure Apache Karaf

### Update `JAVA_OPTS` for linux/mac in `setenv` File
Expand Down Expand Up @@ -82,8 +74,6 @@ wget https://keploy-enterprise.s3.us-west-2.amazonaws.com/agent-jars/org.jacoco.
io.keploy.*
```

---

## Step 3: Start Apache Karaf and Export Environment Variables

1. Start Apache Karaf by navigating to the `bin` directory and running:
Expand All @@ -108,8 +98,6 @@ wget https://keploy-enterprise.s3.us-west-2.amazonaws.com/agent-jars/org.jacoco.

Replace the `APP_PATH` value with the absolute path to your application's target folder.

---

## Step 4: Import Postman Collection

1. Ensure you have a Postman collection ready for your application.
Expand All @@ -121,8 +109,6 @@ wget https://keploy-enterprise.s3.us-west-2.amazonaws.com/agent-jars/org.jacoco.

Replace `/path/to/YourPostmanCollection.json` with the actual path to your Postman collection.

---

## Step 5: Run Keploy Tests

Use the following command to run the imported tests:
Expand Down

0 comments on commit b40a90e

Please sign in to comment.