Size: 468
Comment:
|
← Revision 9 as of 2011-05-17 12:27:11 ⇥
Size: 593
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
1. Download MCM return value xml file and put it in the same folder as the jar file. | a. [[attachment:mcm-validator-mock-0.0.1-SNAPSHOT-jar-with-dependencies.jar]] a. [[attachment:cachedReturnValue.xml]] |
Line 9: | Line 10: |
The server only validates the file ''sample.mp4''. A video 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.