Need help with StresStimulus? Start here.
Load testing using a predefined set of requests.
Unregistered User Posts: 514
2/3/2012
|
I'm looking for a way to load test our API using a predefined collection of one time use POST payloads. Is this doable from your product?
|
|
0
link
|
Vadim @StresStimulus Administrator Posts: 583
2/3/2012
|
You can generate post requests using a predefined set of POST payloads if you are using v 1.5 or later. To do so: 1. Store the POST payloads in a one-column csv file and import it as a dataset.
![](http://www.stresstimulus.com/forum/images/n/EF59AF8619E227052DFF2922A90F5B5C.gif) 2. Create a test case with a single POST request to the server with any payload. 3. Using parameterization editor control, replace the recorded payload with the dataset value, using “sequential” databinding method.
![](http://www.stresstimulus.com/forum/images/n/AA5DDB4FD27FB32D2DB1228D2D8170FC.gif)
After that configure your load the way you need. StresStimulus will simulate a sequence of requests using each of your predefined payloads once.
|
|
0
link
|
Copyright © 2024 Stimulus Technology