RestFixture LET for text / plain

Is there a way to parse plain text in restFixture? If so, a simple example would be greatly appreciated.

Example: if the answer contains (x = abc) as plain text, I would like to manipulate the text and set it to a variable using let verb.

+3
source share
1 answer

Found the answer myself:

You can use the javascript adapter for this.

Ex: let | varname | js | response.body | |

Link: https://github.com/smartrics/RestFixture/issues/26

Thank!

+2
source

All Articles