{"id":42279549,"url":"https://github.com/ehrbase/performance-test","last_synced_at":"2026-01-27T08:17:53.102Z","repository":{"id":37237548,"uuid":"470759913","full_name":"ehrbase/performance-test","owner":"ehrbase","description":"EHRbase Performance Tests","archived":false,"fork":false,"pushed_at":"2023-11-24T12:19:01.000Z","size":166736,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-05-08T18:15:35.511Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ehrbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-03-16T21:41:06.000Z","updated_at":"2023-05-24T09:35:48.000Z","dependencies_parsed_at":"2023-11-18T06:22:26.015Z","dependency_job_id":null,"html_url":"https://github.com/ehrbase/performance-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ehrbase/performance-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehrbase%2Fperformance-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehrbase%2Fperformance-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehrbase%2Fperformance-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehrbase%2Fperformance-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehrbase","download_url":"https://codeload.github.com/ehrbase/performance-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehrbase%2Fperformance-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28809460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-27T08:17:52.514Z","updated_at":"2026-01-27T08:17:53.092Z","avatar_url":"https://github.com/ehrbase.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EHRbase Performance Tests\n\n[![EHRbase Performance Tests](https://github.com/ehrbase/webtester/actions/workflows/load-tests.yml/badge.svg)](https://github.com/ehrbase/ehrbase-load-test/actions/workflows/load-tests.yml)\n\nLast execution report: https://ehrbase.github.io/ehrbase-load-test/\n\n# WebTester [![build](https://github.com/ehrbase/webtester/actions/workflows/build.yaml/badge.svg)](https://github.com/ehrbase/webtester/actions/workflows/build.yaml)\n\nWebTester in simple web application that wraps [Apache JMeter](https://jmeter.apache.org/) and provides a REST API to\nexecute performance tests on remote instances of [EHRbase](https://ehrbase.org/) without network/connectivity issue.\n\n## Getting start\n\n### Prerequisites\n\nThe only prerequisite is that you have [Docker](https://www.docker.com/products/docker-desktop) installed on your\nmachine.\n\n### Start the application\n\nFirst step is to start a container using `docker run` command:\n\n```shell\n$ docker run -p 8080:8080 --name webtester -d ehrbase/webtester:next\n```\n\nAfter downloading the Docker image, the result of the command above should look like:\n\n```\n  .   ____          _            __ _ _\n /\\\\ / ___'_ __ _ _(_)_ __  __ _ \\ \\ \\ \\\n( ( )\\___ | '_ | '_| | '_ \\/ _` | \\ \\ \\ \\\n \\\\/  ___)| |_)| | | | | || (_| |  ) ) ) )\n  '  |____| .__|_| |_|_| |_\\__, | / / / /\n =========|_|==============|___/=/_/_/_/\n :: Spring Boot ::                (v2.6.4)\n\n2022-03-17 07:43:00.621  INFO 1 --- [           main] o.e.webtester.WebTesterApplication       : Starting WebTesterApplication v1.0.0-SNAPSHOT using Java 11.0.14.1 on 8afb96f1b435 with PID 1 (/app.jar started by root in /)\n2022-03-17 07:43:00.624  INFO 1 --- [           main] o.e.webtester.WebTesterApplication       : No active profile set, falling back to 1 default profile: \"default\"\n2022-03-17 07:43:01.707  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]\n2022-03-17 07:43:01.707  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.58]\n2022-03-17 07:43:01.742  INFO 1 --- [           main] o.a.c.c.C.[.[localhost].[/webtester]     : Initializing Spring embedded WebApplicationContext\n2022-03-17 07:43:01.905  INFO 1 --- [           main] o.e.w.config.jmeter.JMeterConfiguration  : Initializing Apache JMeter 5.4.3\n2022-03-17 07:43:02.320  INFO 1 --- [           main] o.e.webtester.WebTesterApplication       : Started WebTesterApplication in 2.086 seconds (JVM running for 2.425)\n```\n\nAnd the WebTester application should be at [http://localhost:8080/webtester](http://localhost:8080/webtester).\n\nYou can now start to use the WebTester through\nthe [REST API](https://github.com/ehrbase/webtester/wiki/REST-API-Reference).\n\n## Building from source code\n\n### Prerequisites\n\n- Java 11\n- Apache Maven\n\n### Build the application\n\n```shell\n$ mvn clean install\n```\n\n## Data Loading\n\nThe WebTester can also fill the DB with dummy data. For this you need to configure. \n\n| Name                         | Description                     | Default Value                              |\n|------------------------------|---------------------------------|--------------------------------------------|\n| `loader.enabled`             | Set to true to enable it.       | false                                      |\n| `spring.datasource.url`      | JDBC URL of the database.       | `jdbc:postgresql://localhost:5432/ehrbase` |\n| `spring.datasource.username` | Login username of the database. | `ehrbase`                                  |\n| `spring.datasource.password` | Login password of the database. | `ehrbase`                                  |\n\nFor the API Call see [REST API](https://github.com/ehrbase/webtester/wiki/Test-Data-Loader)\n\n## Credentials\n\nDefault credentials for basic authentication are:\n\n- Username: webtester\n- Password: Dctm1234\n\n## Contributing\n\n### Codestyle/Formatting\nJava sourcecode is using [palantir-java-format](https://github.com/palantir/palantir-java-format) codestyle.\nThe formatting is checked and applied using the [spotless-maven-plugin](https://github.com/diffplug/spotless/tree/main/plugin-maven).\nTo apply the codestyle run the `com.diffplug.spotless:spotless-maven-plugin:apply` maven goal in the root directory of the project.\nTo check if the code conforms to the codestyle run the `com.diffplug.spotless:spotless-maven-plugin:check` maven goal in the root directory of the project.\n\nTo make sure all code conforms to the codestyle, the \"check-codestyle\" check is run on all pull requests.\nPull requests not passing this check shall not be merged.\n\nIf you wish to automatically apply the formatting on commit for *.java files, a simple pre-commit hook script \"pre-commit.sh\" is available in the root directory of this repository.\nTo enable the hook you can either copy the script to or create a symlink for it at `.git/hooks/pre-commit`.\nThe git hook will run the \"apply\" goal for the whole project, but formatting changes will only be staged for already staged files, to avoid including unrelated changes.\n\nIn case there is a section of code that you carefully formatted in a special way the formatting can be turned off for that section like this:\n```\neverything here will be reformatted..\n\n// @formatter:off\n\n    This is not affected by spotless-plugin reformatting...\n            And will stay as is it is!\n\n// @formatter:on\n\neverything here will be reformatted..\n```\nPlease be aware that `@formatter:off/on` should only be used on rare occasions to increase readability of complex code and shall be looked at critically when reviewing merge requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehrbase%2Fperformance-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehrbase%2Fperformance-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehrbase%2Fperformance-test/lists"}