Tuesday, July 14, 2015

Working with Multiple Actions

This Post will explain how to create block and to work with multiple actions.

We had received a request to carryout performance testing on a Russian marketing site, where users search for some Center information like shown in below snapshot.



While recording we found out that the Search strings actually recorded in junk characters, hence we couldn’t parametrize these Junk Char to randomize the search operations, Loadrunner couldn’t support parametrization for the junk characters.

"Name=region", "Value=ВолгогÑ\x80адÑ\x81каÑ\x8F облаÑ\x81Ñ‚ÑŒ

Either we should carryout the test with single query which would send only single string for search every time Or we can create multiple actions to perform search by creating multiple scripts with multiple search strings.

Solution we preferred:

1. We recorded multiple actions with multiple search strings on application.
2. We created a block in Run Time Settings under RUNLOGIC and assigned % that has to be run during the load test.

Refer Below snap shot for more details:



The Total % of block must be 100. For each action we can define our own % depending on volume you are retrieving from DB by running search operations.