This post will show how to iterate through an XML response that has an array of items. This will use several UFT nodes that most people do not use normally. The system will use the sample Fight API tool to assist in demonstrating how to iterate an array, make conditions based on iterations of array, and count responses. This test will ask for all flights from London and Paris on a date. Then the response will be iterated and count all the flights for one of the airlines (“AA”).
In one of my automation engineer positions, I found that we needed to run the exact same tests in multiple different environments. Part of the process (documented here) involved passing parameters from ALM to UFT. In that article, I did not go into detail about how to set up UFT to accept and use the parameters. This article gives those details.
IP spoofing is the solution when performance testing requires multiple virtual users to use multiple IP addresses from a single host machine (load generator) to keep the web server from blocking those virtual users. Also IP spoofing is needed when the hardware configuration under test balances load across a “farm” of several (web or database) servers. IP spoofing enables each load generator to “spoof” the server into thinking it is using many different IP addresses.