Skip to content

Commit

Permalink
Doc run load test (#70)
Browse files Browse the repository at this point in the history
Create tid (#68), Refactoring code, more multi-threading. Hight creation throughput, Move to JDK 17, Migrating to 8.2.5 API, Connection SelfManage, SelfManage+Identity + Saas
  • Loading branch information
pierre-yves-monnet authored Aug 14, 2024
1 parent e669fe0 commit 1168d5d
Show file tree
Hide file tree
Showing 42 changed files with 1,809 additions and 547 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# docker build -t zeebe-cherry-officepdf:1.0.0 .
# docker build -t pierre-yves-monnet/processautomator:1.5.0 .
# JDK 17: openjdk:17-alpine
# JDK 21: alpine/java:21-jdk
FROM openjdk:17-alpine
EXPOSE 9081
COPY target/process-execution-automator-*-exec.jar /app.jar
Expand Down
62 changes: 52 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ The flow scenario has a duration and objective to verify.

You can specify objectives: produce 1000 Process Instances, end 500 process instances, and produce 300 tasks in a user task.

The method to conduct a [Load Test](doc/howRunLoadTest/README.md) is available here.


Visit [Load Test Scenario](doc/loadtestscenario/README.md) and the [Load test Tutorial](doc/loadtestscenario/Tutorial.md)

## Scenario
Expand All @@ -106,7 +109,7 @@ The scenario does not contain any server information. It has only the server.
Process-Automator references a list of servers in the configuration in multiple ways:
* serverConnection : String, containing a list of connections separated by ;
* serverList: List of records.
* camunda7 : information to connnect a Camunda 7 server
* camunda7 : information to connect a Camunda 7 server
* camunda8 : information to connect a Camunda 8 server
* camunda8Saas: information to connect a Camunda 8 Saas server

Expand Down Expand Up @@ -185,6 +188,7 @@ The application runs only these role. Doing that, in a cluster, it's possible to

## server connection


### String connection

The string contains a list of connections, separate by a semi-colon (":").
Expand Down Expand Up @@ -215,18 +219,21 @@ The following parameters depend on the type.

**CAMUNDA_8_SAAS**

* zeebeCloudRegion,
* zeebeCloudClusterId,
* zeebeCloudClientId,
* zeebeCloudOAuthUrl,
* zeebeCloudAudience,
* zeebeSaasRegion,
* zeebeSaasClusterId,
* zeebeSaasClientId,
* clientSecret,
* OperateUserName,
* OperateUserPassword,
* OperateUrl,
* zeebeAudience
* OperateClientId,
* OperateClientPassword,
* TaskClientId
TaskClientSecret
* ExecutionThreads,
* MaxJobActive




**Example**

````yaml
Expand Down Expand Up @@ -323,4 +330,39 @@ mvn springboot:build-image
The docker image is build using the Dockerfile present on the root level.
Push the image to ghcr.io/camunda-community-hub/process-execution-automator:
Push the image to
```
ghcr.io/camunda-community-hub/process-execution-automator:
```
## Detail
Run command
````
mvn clean install
````
Now, create a docker image
````
docker build -t pierre-yves-monnet/processautomator:1.5.2 .
````
Push the image to the Camunda hub (you must be login first to the docker registry)
````
docker tag pierre-yves-monnet/processautomator:1.5.2 ghcr.io/camunda-community-hub/process-execution-automator:1.5.2
docker push ghcr.io/camunda-community-hub/process-execution-automator:1.5.2
````
Tag as the latest:
````
docker tag pierre-yves-monnet/processautomator:1.5.2 ghcr.io/camunda-community-hub/process-execution-automator:latest
docker push ghcr.io/camunda-community-hub/process-execution-automator:latest
````
Check on
https://github.com/camunda-community-hub/process-execution-automator/pkgs/container/process-execution-automator
635 changes: 635 additions & 0 deletions doc/howRunLoadTest/README.md

Large diffs are not rendered by default.

Binary file added doc/howRunLoadTest/images/LowGrpc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1168d5d

Please sign in to comment.