Fix a Java Serialization request after recording
The JAR files required by a Java Serialization request may be declared at any time.
Here, the request selected in the Virtual User requires Java classes that are not available. This fact is revealed by several indicators:
- The request icon in the Virtual User.
- The request contains unexpected characters, instead of XML.
- A link (in blue) indicates that the Java Serialization libraries for this request are missing.
- To fix a Java Serialization request after recording
- Click on the link prompting you to declare the required Java Serialization libraries. You may also use Edit > Preferences > Project Settings > Libraries Manager > Java Serialization.
- Click on the + (plus) button to open the file explorer. Select the JAR file to declare.
- If the JAR file loads correctly, a dialog box confirms that the Java Serialization library has been successfully declared.
- The loaded JAR files appear in the list and a message informs you that the process was successfully completed. Once the request is correctly decoded into XML , it appears in XML format.
- If the request still has not been converted to XML format, it means that some required JAR files still have not been declared.
- Repeat the operation as many times as is necessary.