Open JoeTomkinson opened 1 year ago
@JoeTomkinson... For the scenario of uploading a file have you tried the scenario locally with JMeter?
@JoeTomkinson... For the scenario of uploading a file have you tried the scenario locally with JMeter?
yes, it is possible to do this locally with JMeter - Our scenario is based around IoT devices that send in CSV files as form-data as part of their HTTP Request over our Application Gateway, so for us to volume test the rest of our solution, we need to also send in versions of these CSV files.
I can't see anyway currently to do this with 'Azure Load Testing' I thought at first that we could upload the csv and somehow reference it as an absolute url path; but that isn't something we can do with this resource yet as far as I am aware.
Screenshots above are just a snippets from JMeter showing the 'use multi-part/form-data' checkbox and with a file added.
@JoeTomkinson... you may upload the file along with the JMX test plan and in the file path under the file upload tab in the Jmeter test plan you can just specify the file name. Can you run it and confirm if it is working for you?
JMeter (as does PostMan) allows us to attach files to our load test requests as part of a multiform/form-data parameter with a path to the file we want to send.
The only other alternative that I see to perform load testing that has a requirement to also send a csv file attached as form-data is to spin up a VM install JMeter and start to scale it to handle volume demand.
AB#1673195