Generate Script from Trace Wizard

You can generate a custom virtual user script from a TCP or UDP recording using the Generate Script from Trace wizard.

  1. Open [General.EpP] [General.Studio]and display the Project tree.
  2. Right-click the Recordings folder and select the TCP or UDP recording from which you want to generate the script and then click Generate script(s), OR with a recording selected in the Project tree, click Generate script(s) on the recording view. The Generate Script from Trace wizard opens to the Choose a protocol panel.
  3. The Choose Protocol panel from the Generate Script from Trace Wizard in[General.EpP%] [General.Studio%]

  4. Choose the protocol of the trace and click Next. The Which conversation should be included in the script panel opens.
  5. The Which conversation should be included in the script panel from the Generate Script from Trace wizard

  6. Select the conversation for which you want to generate the script and click Next. The Next button becomes available when you select a conversation. The Which endpoint should the script behave as? panel opens. You can specify which peer the script behaves as in each conversation. Endpoint A is selected (highlighted) in the sample panel below.
  7. The Which conversation should be included in the script panel from the Generate Script from Trace wizard

  8. Select the endpoint you want the script to behave as for each conversation and click Next. If you are creating a script for a TCP recording, the Set TCP Script generation options panel opens. You have two options here:
    • Verify the initial bytes of received data.
    • Match a unique patter of bytes to signal the end of a received data sequence.

    Set TCP Script Generation options panel in the Generate Script from Trace panel in[General.EpP%] [General.Studio%]

  9. Specify how you want to generate your TCP script and click Next.
  10. Click Generate to generate your script. The Generating Script panel opens showing you the progress of the script generation. When the script generation is complete, the panel displays the message "The Script has been generated" at the top. You can display the script by clicking View generated script. Dismiss the Generate Script from Trace wizard by clicking Close.
  11. The Script has been generated panel in the Generate Script from Trace wizard

 

This topic was last updated on January 13, 2022, at 02:42:23 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant