Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

e-gov/TARA-mock-DigiDocService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[DEPRECATED] mockWebServer

  1. Clone repo
  2. From command line: npm install
  3. When installation of packages has finished run: node app.js

App will run by default on port 80.

To change port go to app.js and change the port parameter at the top of the file to whatever port number required.

XML queries can be made to: http://<server-url>:port/

Delay value is kept in milliseconds in config/delay.json To change the delay value either edit the file or while the server is running go to: http://<server-url>:port/delay in your browser and change its value there.

In order to tell the TARA-SERVER to make querries to this URL change mobileID.serviceUrl in application.properties in the TARA-SERVER to point to the IP of the server.

Mock takes as a input random mobile number and personal code combination, giving always as an output user with personal code "EE01234567890" and name "SEITSMES TESTNUMBER".

About

[DEPRECATED] DigiDocService mock for TARA tests

Resources

Stars

Watchers

Forks

Releases

No releases published