baechu123
8 years agoOccasional Contributor
Dynamically attach file in SOAPUI Pro
Hello, I'm currently in the process of migrating jmeter scr Hello, I'm currently in the process of migrating jmeter scripts to soapUI. In jmeter, you just have to put the file path of the fi...
- 8 years agoYou can define two custom properties at test case level.
DIRECTORY_NAME - provide the directory where the file is present; use "/" as path separator even on windows.
FILE_NAME - provide name of the file.
The above can be done thru script as well in case you are getting the value automatically.
For the request step, there are two columns it requires to be filled
1. Name - ${#TestCase#DIRECTORY_NAME}/${#TestCase#FILE_NAME}
2. ContentID - ${#TestCase#FILENAME}
Then, I believe, you are done.