Need help with StresStimulus? Start here.
Test multiform payload in StresStimulus
Unregistered User Posts: 475
9/15/2020
|
I have a question about the Web API Test Builder in the StresStimulus http://support.stresstimulus.com/display/doc50/Creating+Sessions+with+Web+API+Test+Builder Is there a way to create a multiform payload post with file upload?
|
|
0
link
|
George @StresStimulus Administrator Posts: 510
9/15/2020
|
Typically file uploads are implemented by using multipart/form-data content-type type. If you have a detailed specification of your file-upload POST request, then the upload POST request can likely be entered to the Web API Test Builder. After that, you can convert it to a test case as described http://support.stresstimulus.com/display/doc52/Adding+Deleting+and+Changing+Sessions. If you need to parameterize the Web API request to upload different files, you should be able to do it as described http://support.stresstimulus.com/display/doc52/Uploading+Files Also, if you can upload the file from the browser, then it may be easier to record the upload file scenario. In the end, you will get the same result. If you don’t have UI interface for file upload and want to test the Postman request, you can record requests from postman and then create a test case from those requests. The steps are described http://support.stresstimulus.com/display/doc53/Creating+Sessions+with+Postman
|
|
0
link
|
Copyright © 2023 Stimulus Technology