In this article you will learn how to reset the test environment while a fiscal service is running.
This article deals with resetting the test environment in Windows environments.
Requirements
- The respective system is a test system only
- The fiscal service is already installed
Resetting the test environment
The fiscal service files are located in 2 different destinations:
- Configuration can be found under c:\programme
- Data is located under c:\programData
Resetting the configuration
The configuration only needs to be reset if the loading of the configuration (or creating) is to be tested.
- Stop fiscal service
- Change to the directory C:\Program Files\RetailForce\Fiscal Webservice\Config
- Edit fiscalService.config.json file and delete client (client can be identified by Guid). This file contains only an array of fiscal client configurations.
- Restart fiscal service
Note: If at German test-systems the swissbit hardware TSE is reset to factory defaults with the help of the Wormcli (for more information, see the article Swissbit Hardware TSE), the client configuration must also be deleted and then the TSE reinitialised with POST /api/v1/management/clients/initialize.
Resetting the data
- Stop fiscal service
- Change to the directory C:\ProgramData\RetailForce\Fiscal Webservice
- There is a subdirectory with the Guid of the FiscalClient (TerminalId in the RetailForce Portal)
- Delete this subdirectory
- Restart fiscal service
Comments
0 comments
Please sign in to leave a comment.