Previous Topic: Import Test CasesNext Topic: Accessing Files in Another Project


Response (.rsp) Documents

When you record from a website or interact with a server, the responses are saved to a response document so the information is available later.

The response documents are created and maintained automatically, with no effort on your part, and saved as files with the test case file name and an .rsp extension. Like test case files, the response documents are XML files.

A response document maintains the HTTP response for the following items:

For example, if you ran the HTTP-based steps using the Interactive Test Run (ITR) utility, the saved response document contains the entire DOM tree for the result of each HTTP-based step in the test. You can use this response information to validate data, create simple filters, or create simple assertions.

For more information about using the HTTP responses to create filters, see Filters.

For more information about using the HTTP response to create assertions, see Assertions.

Not all steps have results that are amenable to storage in a response document.

If you copy a test case file to another location, copy the associated response document also so that you do not lose the saved responses.

Response documents are optional, in that they are not necessary to run tests. They exist to give you the ability to view results, view DOM Tree, view the JDBC table, and more.

When you use the replay function, information is read from the response document.