-
Problem report
-
Resolution: Fixed
-
Trivial
-
4.0.45rc1, 5.0.32rc1, 6.0.15rc1, 6.2.9rc1, 6.4.0rc3
-
Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023), Sprint 107 (Dec 2023), S2401
-
0.5
Problem description: Trailing and lieading spaces are not trimmed in Name => Value pair fields in Web scenario and Web scenario step configuration forms. List of such fields:
Web scenario => Variables (trailing/leading spaces not trimmed in Value field)
Web scenario => Headers
Web scenario step => Query fields
Web scenario step => Post fields
Web scenario step => Variables (trailing/leading spaces not trimmed in Value field)
Web scenario step => Headers
Steps to reproduce:
- Open the list of web scenarios of any host
- Click on the "Create web scenario" button
- Fill in Web scenario name and add values with trailing and leading spaces in the following fields:
Web scenario => Variables => Name
Web scenario => Variables => Value
Web scenario => Headers => Name
Web scenario => Headers => Value - Open "Steps" tab and press "Add" button in "Steps" field
- In the opened dialog populate Step name and URL and add values with trailing and leading spaces in the following fields:
Web scenario step => Query fields => Name
Web scenario step => Query fields => Value
Web scenario step => Post fields => Name
Web scenario step => Post fields => Value
Web scenario step => Variables => Name
Web scenario step => Variables => Value
Web scenario step => Headers => Name
Web scenario step => Headers => Value - Save step configuration
- Save Web scenario configuration
- Open created web scenario and check trailing and leading spaces in all of the above mentioned fields.
Result: trailing and leading spaces were trimmed only in Variables => Name field in Web scenario and Web scenario step configuration forms
Expected: suggestion is to trim trailing and leading spaces in all of the above mentioned fields.