Variabilize the scenario
- To variabilize the scenario
- In NeoLoad, click Edit > Variables.
- Click on the New variable button.
- Select List in the list of variable types.
- Enter "Contacts" in the Name field.
- Double-click on the Add a column button.
- Rename the columns as follows: "FirstName", "LastName", "BusinessPhone".
- Double-click on the Add a value button.
- Fill in the rows as follows:
- First row: FirstName: John, LastName: DOE, BusinessPhone: 0011221100
- Second row: FirstName: Jack, LastName: SPARROW, BusinessPhone: 6666006666
- Third row: FirstName: Bruce, LastName: SCOTT, BusinessPhone: 1524323256
The input is case-sensitive. Failure to input the correct case may cause the Oracle Forms application to block the creation of the entry in the database.
- In the Value change policy section, select For each Virtual User.
- In the Variable scope section, select Local, each Virtual User instance iterates on each value.
- Click OK once, and then again .
- In the Virtual Users tree, expand the Container AddressCreator_Create then the page named address_book_first_name_0:value=dfirst. Click on the request with the same name.
- In the request XML editor, replace "DFirst" with "${Contacts.FirstName}". Then click Apply.
- Repeat the operation for the request named address_book_last_name_0:value=dlast, this time replacing "DLAST" with "${Contacts.LastName}".
- Repeat the operation again for the request named address_book_business_phone_0:value=002233445... replacing "002233445566" with "${Contacts.BusinessPhone}".
Home