Business Example
As a product modeler, you want to test your new price model implemented in CHP_##_CLOUD_SERVICE_V01 with description "Charge Plan Usages" which includes three usage charges.
Insomnia Core
Insomnia Core is an open-source web service testing application, which could be used to automate the setup of master data in SAP Convergent Charging and simulate the charging process for a charge plan to perform price model testing using the Soap-based web services SAP Convergent Charging offers. The web services mentioned above will be imported into Insomnia Core and executed from there.
The main window of insomnia core is divided into three major areas of interest:
- The request list area on the left
- The request area in the middle
- The response area to the right

Each entry in the request list represents a predefined service request that can be sent to SAP Convergent Charging. When you choose an entry in the request list, the request area will update and reflect the message payload of that request. Once a request has been sent and a response has been received, it is displayed in the response area on the right of the screen.
All requests in the list are assigned to a workspace, which is called My Workspace. You can create more workspaces if you like.
The service requests make use of variables. The values of these variables are stored in what is called an "environment" in Insomnia Core. Variables are replaced with their associated values when the request is sent. They allow each participant to use her/his own group number where applicable when executing the services. You can access the environment by pressing CTRL + E when the Insomnia Core application is in focus.
Environments are organized in a hierarchy. All variables defined for this course are placed in the so called Base Environment, which is accessible across all workspaces of Insomnia Core. The variables are defined in the json format.




