JSON data driven test: replace entire request

Hello,

I’d appreciate some help, please.

I am data driving a test using a JSON source file. Instead of replacing single variables at run time, is it possible to replace the entire request body with the one from the data file?

So, for example, if my data looked like the screenshot below, could I use the ‘message’ object as the entire request body?

image

Thanks in advance.

This tutorial from @vdespa might be something that will help describe how you can do it:

2 Likes

@dannydainton Danny, you (and @vdespa Valentin) are lifesavers! Thank you - that’s worked perfectly.

2 Likes