diff --git a/README.md b/README.md index c56c8754..a587975b 100644 --- a/README.md +++ b/README.md @@ -95,8 +95,12 @@ or to *build.gradle*: git clone https://github.com/keploy/samples-java ``` -### Start PostgreSQL instance +## Agent-jar +Download the latest version (1.2.8) of agent jar from [here](https://central.sonatype.com/artifact/io.keploy/agent/1.2.8) and add this jar to main directory. + +### Start PostgreSQL instance +Download docker dekstop from [here](https://docs.docker.com/get-docker/). ```bash docker-compose up -d ``` @@ -109,7 +113,13 @@ mvn clean install -Dmaven.test.skip=true ### Set KEPLOY_MODE to record -- To record testcases use `KEPLOY_MODE` env variable and set the same to `record` mode. +- To record testcases use `KEPLOY_MODE` and `DENOISE` as env variables. Set `KEPLOY` to `record` mode and mark `DENOISE` as `true`. Also add + +`-javaagent:path of agent jar` like this 👇. + + +![Edit_configurations](/src/main/resources/Edit-configurations.png "Edit configurations") + ## Generate testcases diff --git a/src/main/resources/Edit-configurations.png b/src/main/resources/Edit-configurations.png new file mode 100644 index 00000000..cc70a9ce Binary files /dev/null and b/src/main/resources/Edit-configurations.png differ