Skip to content

Commit cd7e7d4

Browse files
committed
docs: explain how to generate a scenario file automatically
1 parent b4b9df1 commit cd7e7d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ a `null`, value:
9090
If the scenario file is not being provided, the scale tests will try to auto-evaluate candidate documents. However, this
9191
is not reproducible, and should only be used for local testing.
9292

93+
It is possible to generate the content for a scenario file by setting the environment variable `GENERATE_SCENARIO=true`:
94+
95+
```bash
96+
env GENERATE_SCENARIO=true DATABASE_URL=postgresql://postgres:trustify@localhost:5432/trustify cargo run --release
97+
```
98+
9399
## Request timeouts
94100

95101
To prevent calls from failing due to timeouts, it is possible to use `REQUEST_TIMEOUT` with a humantime format

0 commit comments

Comments
 (0)