I’m testing a web application that usually sends some fairly large XML structures to the app’s web services when communicating back to the web server. Of course, I need to vary the test data – replacing some elements with data from a data source – for each iteration of the test run. Is there a syntax for putting tokens into the recorded XML parameters so that the web performance test will replace the data from a database, another data source, or a Context Parameter during test runs?
I’m testing a web application that usually sends some fairly large XML structures to
Share
This is very simple to accomplish, using double curly brackets around the data source name as in the following example:
You can use a context parameter in the parameter as follows:
This also works with non-XML form post parameters.