File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ There are many placeholder types (see [placeholder types](#placeholder-types) se
4545- data from [Stores](./stores.md), including data [captured](./data_capture.md) previously
4646- generating random values, such as UUIDs, numbers, strings etc.
4747- generating [fake data](fake_data.md), such as names, addresses, phone numbers etc.
48+ - properties of the Imposter system, such as the server port or server URL
4849
4950# # Placeholder types
5051
@@ -274,6 +275,17 @@ The placeholder `${stores.testStore.person}` refers to an item named 'person' in
274275
275276> Learn more about [stores](./stores.md).
276277
278+ # ## System and server values
279+
280+ These expressions provide access to Imposter system values, such as the listen port or the server URL.
281+
282+ Valid system/server properties :
283+
284+ | Syntax | Example | Example value |
285+ |----------------------|-------------------------|---------------------------|
286+ | `system.server.port` | `${system.server.port}` | `"8080"` |
287+ | `system.server.url` | `${system.server.url}` | `"http://localhost:8080"` |
288+
277289---
278290
279291# # Script-driven templates
You can’t perform that action at this time.
0 commit comments