Extracting information during test run

This brings us to one more scenario to explore. Sometimes, it is useful to parse the response to get the required information rather than sending it as a column of the input data. The parsed response can be any textual format. These include JSON, HTML, TXT, XML, CSS, and so on. This can further help you make your test plans more robust. In our preceding test plan, we could have leveraged this feature and parsed the response to get the required account number for users, rather than sending it along as input parameters. Once parsed and obtained, we can save and use the account number for other requests down the chain. Let's go ahead and record a new test plan as we did before. Save it under a new name. ...

Get Performance Testing with JMeter 3 - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.