This function is not recorded during recording. We manually insert this function whenever there is a need of it. lr_advance_param works depends upon the settings we give in parameter list (ctrl+L). lr_advance_param is like update value on each occurrence. Whenever we want to update a parameter value in the same iteration we use lr_advance_param. For example when we want to use two parameters Google and Bing in one Iteration. Usually the Vugen takes the first value google and if we want to use the second value in the same iteration we use update value on each occurrence in the parameter settings. We can do the same using lr_advance_param function. Example: I have set following settings in Parameter Select Next Row: Sequential Update value on: Each Iteration If we want to take the next value in the pramater list we use lr_advance_param as shown below. Parameter Name: DomainName Google Bing Yahoo Ask Vugen S...
The web_set_max_html_param_len function sets the maximum length of any HTML string which VuGen can retrieve and save in a parameter. The default value for the maximum length of a parameter that can be captured during correlation is 256 characters. To retrieve a string longer than 256 characters, use web_set_max_html_param_len to increase the maximum valid length. An attempt to save a string whose length exceeds the maximum length will fail
Web Services: Web Services in loadrunner: We can do web services scripting in two ways: 1. By using Web Services Protocol. (Need additional License) 2. By using Web Protocol. Scripting Using Web Services Protocol: I have taken weather web service as example shown in this link. Steps: 1. First open the vugen and select Web Services protocol. 2. Click on Manage Services on top nav bar and Click on Import and give the WSDL URL which is usually ends with wsdl http://www.webservicex.net/globalweather.asmx?WSDL. Now Click on Add Web Service Call on top nav bar. Give the Input Arguments and Leave the out put arguments empty. And click on ok. As shown in the following image. It will create a script in loadrunner as shown below. You can perform the steps one by one in this way for all the web services ste...
Comments
Post a Comment