Use the Free-format Request Editor similarly to the Parameterization Editor. To edit data, select a value (a) that should be replaced and right -click . Then select a source variable in the Variable Picker (b). The color-coded read-only variable control (c) will be inserted. it has the following format (c):
{{<variable>}}<value>
where:
<variable>
is the name of the variable selected in the variable picker;
<value>
is the recorded value.
When you finish editing, click Save (d).
Info |
---|
title | Concatenating variables |
---|
|
To concatenate two variables, after inserting the first variable, place the cursor at the end of the first variable control, right-click and select the second variable in the Variable Picker. The second variable control will be inserted. |
Tip |
---|
title | Parameterizing WCF binary requests: |
---|
|
- You can parameterize textual tokens embedded into binary requests, such as AMF requests used in Flash and AIR applications. A token can be surrounded by a binary unreadable message. Just select the recorded token, right-click and in the variable picker, select a variable to replace the token.
- WCF binary requests can be parameterized as easily as regular text encoded requests because StresStimulus decodes them and displays them as text. The message "Format: WCF binary" will appear on the toolbar.
|
Tip |
---|
title | Parameterizing RESTful requests: |
---|
|
To parameterize a RESTful GET request (without a query string), replace any sub-string of the URL with a variable. For example, if you recorded the request http://example.com/resources/item01 , then you can replace the "item01 " with a dataset value or extractor. |