Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions general/api-testing1/test-suite-editor/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,14 @@ Extracts a value from `target` using `jsonpath` as a JSONPath query. If there is

Similar to `__jsonpath` but returns **all results from the JSONPath** and not only one as happens when using `__jsonpath.`

### `__xpath(target,xpath)`

Extracts a value from `target` using `xpath` as an XPath query. If there is no match, an empty string will be returned.

* `${__xpath('<root><key>val</key></root>','//key/text()')} // returns 'val'`
* `${__xpath(target,xpath)} // returns 'val' assuming target is '<root><key>val</key></root>' and xpath is '//key/text()'`
* `${__xpath('<root><key>val</key></root>','//missing/text()')} // returns ''`

### `__jsonpath_keys(target,jsonpath)`

Returns the keys of the extracted value from `target` queried by `jsonpath` in an array. Works similar to [Object.keys](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys).
Expand Down
1 change: 1 addition & 0 deletions quick-guide/quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ Want to make Loadmill’s AI match your team’s language?
1. Go to **Settings → Algorithm → AI Prompts**.
2. Customize how Loadmill:
* Describes steps (tone, style, emojis, business terms)
* Groups related steps using AI
* Explains failures (e.g., known API errors)
* Suggests next steps in a flow

Expand Down