Record Java Serialization requests
To record Java Serialization requests, see Record a test scenario.
Specific Frameworks such as Spring Remoting (Spring HTTP Invoker) make is possible to transport customized Java objects encapsulated in the HTTP protocol. If the Java object classes are missing, the request binary data cannot be decoded for conversion to XML. The following procedure explains how to solve the problem of missing Java classes.
For Java Serialization, an object is said to be serializable when it implements the java.io.Serializable interface or the java.io.Externalizable interface.
For NeoLoad to be able to decode the Java Serialization requests and responses, the following items are required: the JARs for the Framework used to transport the customized Java objects, the customized Java objects exchanged between the server and the client, and the other referenced classes.
- To record a Java Serialization request
- When you close the browser, the Post-Recording Wizard is displayed.
- Select the JAR for the Framework used to transport the customized Java objects.
- Select the JAR files containing the missing serializable Java classes.
- Repeat the operation as many times as is necessary.
- When all the required JAR files have been declared, a confirmation screen is displayed.
For more information about the next steps in the wizard, see Post-recording wizard.
Home