Customize a User Path
User Path content
The basic components of a User Path are the pages, which are themselves made up of requests. For more information about these components, see Web pages and Requests.
For a more complex behavior, NeoLoad allows adding control components such as loops, conditions, Transactions, and so on, see Logical actions.
Edit a User Path
Add an element
To add an element such as a loop or a simple Transaction to a Container, use the right-click pop-up menu and select Insert as child. The menu displays the child elements compatible with the selected parent element.
To add one element directly after another, use the right-click pop-up menu and select Insert after. The menu displays the elements that may be inserted at the specified location.
An alternative is simply to drag and drop the element from the Actions pane located beneath the Users Paths tree. For more information about dragging and dropping in the Users Paths tree, see Move elements.
Delete an element
To delete an element, use the right-click pop-up menu and select Delete or use the Remove button in the button array to the right of the User Paths tree.
Confirmation is required prior to any deletion.
Move elements
To move an element:
- Use the button array to the right of the User Path tree. You may move the selected element up or down the tree using the Up and Down buttons in the button array. Use the > button to place the selected element in last position in the first container encountered above the selected element. Use the < button to place the selected element immediately after its parent.
- Drag and drop. When dropping, there are three target zones: the top zone indicates that the moved element will be inserted above the target element; the middle zone indicates that the moved element will be inserted inside the target element; and the bottom zone indicates that the moved element will be inserted below the target element.
When over the middle zone, the target element is only highlighted if insertion is allowed. In the case of the top or bottom zone, a hyphen is displayed to show that the insertion is allowed.
- Warning: A page is a container, since it can contain other pages (frames or iframes). Be careful not to place one page inside another accidentally. Make sure the hyphen is displayed before dropping a page.
Confirmation of a move is required when the time delay between drag and drop is very short in order to avoid any accidental moves. When the delay is longer, NeoLoad assumes the move is deliberate and does not ask for confirmation.
Context menu
Right-click an element of the User Path to display a context menu for the selected element.
Description of the menus common to all elements:
- Enabled. Switches the selected item from enabled state to deactivated. Only enabled items are used for tests.
- Insert after. Inserts a new element immediately after the selected element.
- Insert as child. Inserts a new element into the selected container or Transaction.
- Shared. Shares a Transaction element so that it can be re-used in several User Paths. See Shared Transactions.
- Flag requests... Opens the Flag Requests dialog to search for requests in the current Virtual User. See Flags.
- Cut. Places the element on the clipboard. Once pasted, the element is removed.
- Copy. Places a copy of element on the clipboard.
- Paste after. Inserts the clipboard contents after the selected element.
- Paste as child. Inserts the clipboard contents into the selected container or Transaction.
- Delete. Permanently deletes the selected element after confirmation.
- Duplicate. Makes a copy of the selected element.
- Select in Check User Path dialog box. Opens the Check User Path dialog with the current User Path preselected and displays the selected element.
This option is only available if the current User Path has been previously validated. See Check a User Path.- Select in results panel. Displays the Values tab in the Results section and selects the element in the results table.
This option is only available if the element was played back during the test corresponding to the current results. See Values.- Expand all. Recursively expands all the tree nodes below the selected node.
- Collapse all. Recursively collapses all the tree nodes below the selected node.
The following elements have additional menu items:
- User Path.
- Check this User Path. Opens the Check User Path dialog with the current User Path preselected. See User Path Update.
- Search for Dynamic Parameters. Starts a search for dynamic parameters. See Frameworks.
- Search and Replace. Launches the Search and Replace wizard. See Search and Replace.
- Advanced / Update with a recent recording. Allows merging the selected User Path with a newer recording. See User Path Update wizard.
- Advanced / Rename pages. Allows changing the page naming policy and applying that policy to the selected User Path pages for bulk re-naming. See Page naming.
- Advanced / Apply recording filters. Applies the recording filter to omit requests already recorded after the filter was modified. For more information about URL include and omit filters, see HTTP Recorder.
- Advanced / Create a Population per User Path. Creates one population per User Path for all User Paths or for a selection of User Paths.
- Advanced / Create a Transaction per page. Creates one Transaction for each page of the User Path with the same name as the page.
- Requests.
- Add the server to the omit list. Allows omitting the server from the request in subsequent recordings. NeoLoad generates a regular expression for the appropriate server and adds it to the omit list. For more information about URL include and omit filters, see HTTP Recorder.
Afterward, we may use the Advanced > Apply recording filter menu option for the current User Path to remove all the requests using the same server as the selected request.- Split into several calls. Only applies to Adobe Flex/AMF requests containing several service calls. This allows splitting a request containing multiple calls into several requests each containing a single service call.
Home