Search code examples
jmeteronedrive

how to upload the result CSV file to one drive from JMETER tool


we have a requirement to upload the result file (CSV) from Jmeter to one drive . Is there a way to do that from jmeter ?


Solution

  • You can use OneDrive REST API in order to manipulate the files in OneDrive directly from JMeter's HTTP Request samplers

    Check out Upload or replace the contents of a DriveItem article to learn more about properly forming a PUT request which will upload the file of your choice to the OneDrive storage

    Check out REST API Testing - How to Do it Right article for general concept of invoking REST API requests from JMeter.