Search code examples
tsung

Tsung : upload scenario with variables


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?


Solution

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