Registration

Dear SAP Community Member,
In order to fully benefit from what the SAP Community has to offer, please register at:
http://scn.sap.com
Thank you,
The SAP Community team.
Skip to end of metadata
Go to start of metadata

HowTo edit a HTTP based EEM Script


This tutorial will show the procedure how to transform a HTTP based recording to an EEM Script with the help of the EEM Editor. It will therefore introduce some features and a basic usage of EEM Editor needed for that task.

Prerequisites

This HowTo requires a prepared HTTP scenario recording as descibed here.

Downloading the EEM Editor

  • Download the EEM Editor as a zip-file from Download Area
  • Extract the EEM Editor and start the application.

Getting a EEM Script running.

  • Right-click to EEMNavigator window and select New -> Project. and pass the following dialog for project creation.
  • Right-click an the newly created project and select Import Recording and navigate to the log folder of the SAPClientPlugin. Import the BusinessTeansaction.XML of your recording.
    *Double-click on the new created EEM Script Icon in the project to open the Script in the EEM Editor. A new window appears, showing the related HTTP requests grouped by script steps.
  • Get the mouse focus on the EEM Script window to activate the "greyed" script related buttons on the top of the Editor.
  • Press the Run Script button to execute the script in the EEM Editor. A new window with the execution status including performance appears.
  • Press the Script Configuration button and check the HTTP settings / proxy if service.sap.com is not reachable from local editor.

Setting a response check

  • Click on Add Textcheck button. Enter a String seen on service.sap.com to the searchfield. For example "Imprint" or "Service Marketplace". Press Search.
  • Mark some checkboxes of the Req# colomn to insert a responce check for these values. Press OK to save the selection and to insert the checks finally.
  • Save the EEM Script and repeat execution.

Uploading to Repository

  • Execute the script once again to ensure the defined response checks are valid.
  • Right-click on the EEM Script icon in the EEMNavigator and select the option Export to EEMAdmin repository.
  • If you don't have provided credentals for your Solution Manager yet the next dialog will provide a link to the EEM Editor Configuration. Provide Host, client of SolMan as well as a user with role Z_EEM_Admin.
  • Your EEM script is now stored in the central repository!
  • No labels