Size: 642
Comment:
|
Size: 550
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
1. Download MCM return value xml file and put it in the same folder as the jar file. a. [[attachment:cachedReturnValue.xml]] |
|
Line 11: | Line 9: |
The server only validates the file specified in the filename element of {{{cachedReturnValue.xml}}}. A media file with that name must therefor be in the content folder of the chaos plugin. | The server validates the file specified in the sessionID element of the request. The URL: {{{ http://localhost:9998/chaos?sessionID=sample.mp4&objectID=643703&includeFiles=true}}} therefore validates the file ''sample.mp4''. |
Setup MCM Validation server mock
This page describes how to setup a mock server, simulating an MCM server.
- Download jar file.
Start the server
java -jar mcm-validator-mock-0.0.1-SNAPSHOT-jar-with-dependencies.jar
The server validates the file specified in the sessionID element of the request. The URL:
http://localhost:9998/chaos?sessionID=sample.mp4&objectID=643703&includeFiles=true
therefore validates the file sample.mp4.