Tsung : upload scenario with variables

198 Views Asked by At

I need some help with Tsung.

I would like to write a scenario in which a form is submitted. This form is used to upload a PDF document on the server. In addition, I need to "variabilize" some others fields like the document reference.

The Tsung documentation says to use the contents_from_file attribute. The inconvenience with that is I can't "variabilize".

What is the solution?

1

There are 1 best solutions below

1
On BEST ANSWER

You can use the susbtitution variable process inside the file defined in the contents_from_file attribute.