Some parts of HTTP requests are represented in name/value pairs. For example:

  • The query string of a GET request's Uri
  • The body of a POST request with a Content-type application/x-www-form-urlencoded

These name/value pairs are typically URL-Encoded when sending the request to a server. URL-Encoding means that every non-alphanumeric character is converted to a concentration of '%' followed by 2 digit hex number corresponding to its ASCII code.

However, some web servers recognize URL-Encoding for certain characters.

Overriding default behavior

By default, when parameterizing a recorded value, StresStimulus will automatically apply Url-Encoding, where it detects it is necessary. However, in some situations, the webserver won't accept the encoding and return an error response. In that case, here are the steps to manually disable Url-Encoding for a parameter:

  • Select the session object in the test case tree and set the Url encoding mode to Parameter-Level. This will enable individual parameter-level control of URL-Encoding

  • Then select the child parameters and set the Url-Encode the parameter value? to Yes/No to enable/disable automatic Url-Encoding for a parameter.

  • No labels