{"id":19840717,"url":"https://github.com/graphhopper/graphhopper-load-test-fake-backend","last_synced_at":"2026-05-11T13:10:21.577Z","repository":{"id":43881059,"uuid":"254400774","full_name":"graphhopper/graphhopper-load-test-fake-backend","owner":"graphhopper","description":"Always the same JSON response to load test the load balancer","archived":false,"fork":false,"pushed_at":"2022-02-14T16:22:49.000Z","size":31,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-11T11:36:51.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graphhopper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-09T14:54:46.000Z","updated_at":"2022-02-14T16:22:52.000Z","dependencies_parsed_at":"2022-08-29T22:31:46.225Z","dependency_job_id":null,"html_url":"https://github.com/graphhopper/graphhopper-load-test-fake-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphhopper%2Fgraphhopper-load-test-fake-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphhopper%2Fgraphhopper-load-test-fake-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphhopper%2Fgraphhopper-load-test-fake-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphhopper%2Fgraphhopper-load-test-fake-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphhopper","download_url":"https://codeload.github.com/graphhopper/graphhopper-load-test-fake-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241210035,"owners_count":19927771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-12T12:27:56.140Z","updated_at":"2026-05-11T13:10:16.548Z","avatar_url":"https://github.com/graphhopper.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"This server mocks some of the back end servers to load test our load balancer without the need for expensive backend servers.\nWe have two implementations currently: Java and Node.js.\n\n## Java\n\nCurrently only the async vrp endpoint is mocked: https://docs.graphhopper.com/#operation/asyncVRP\n\n### Build\n\n```\nmvn clean package\n```\n\n### Run with Java\n\n```bash\njava -jar target/fake-server.jar [-conf vertx.json]\n```\n\n### Run with Docker\n\n```bash\ndocker run -p 8080:8080 graphhopper/graphhopper-load-test-fake-backend\n```\n\n### Run with Docker Compose\n\n```bash\ndocker-compose up\n```\n\n### Example Configuration\n\nDefault port 8080 can be overwritten in the configuration:\n\n```json\n{\n  \"http.port\" : 4321\n}\n```\n\n## Node.js\n\nTo run the server in Node.js, run the following:\n\n    docker run -d --rm --network host --name vrp-fake -v \"$PWD\"/node:/usr/src/app -w /usr/src/app node:8 node server.js [port]\n\nThis will run a Node 8 Docker container, pass in the `node/server.js` file and run that on the selected port.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphhopper%2Fgraphhopper-load-test-fake-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphhopper%2Fgraphhopper-load-test-fake-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphhopper%2Fgraphhopper-load-test-fake-backend/lists"}