Skip to content

Latest commit

 

History

History
 
 

apiTest

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Smarti API Test

This is a api test for Smarti to test the basic features.

Usage

The environment is packaged as docker-image:

docker build -t smarti:apiTest .
docker run --rm smarti:apiTest [options]

Available Options

Mandatory arguments to long options are mandatory for short options too

  • --username: admin-user for Smarti, default is admin
  • --password: admin_password for Smarti, default is admin
  • --url: base-url for Smarti, default is http://localhost:8080/
  • --loglevel: loglevel for Requests, default is error

Troubleshooting

Linux

To make the Docker-Container connect to your lokal Smarti, you need to start it with the --net=host option.

Mac

To make the Docker-Container connect to your lokal Smarti, use the following url: http://docker.for.mac.host.internal:/