...
Install MockServer docker on Robot VM
|
You can restart MockServer container or reset it anytime with the following commands:
|
Configuration
You can set the expectations in MockServer with REST APIs, e.g.:
...
Verify all requests received by MockServer with REST API. e.g.:
|
or a particular request filtered by url, e.g.:
|
Also, you can tail the log file inside MockServer container:
Code Block |
---|
ubuntu@onap-robot:~/mockserverclient$ sudo docker exec -it mockserver bash
bash-4.4# tail -f mockserver.lo |