Differences between revisions 7 and 8
Revision 7 as of 2011-02-17 09:31:30
Size: 642
Editor: heb
Comment:
Revision 8 as of 2011-02-18 07:39:58
Size: 550
Editor: heb
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.

  1. Download jar file.
    1. mcm-validator-mock-0.0.1-SNAPSHOT-jar-with-dependencies.jar

  2. 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.

Setup MCM validation server mock (last edited 2011-05-17 12:27:11 by heb)