Differences between revisions 1 and 2
Revision 1 as of 2011-10-26 07:35:51
Size: 566
Editor: heb
Comment:
Revision 2 as of 2011-10-26 07:37:30
Size: 562
Editor: heb
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
  a. [[attachment:mcm-validator-mock-2.0.0-jar-with-dependencies.jar]]   a. [[attachment:mcm-service-mock-2.0.0-jar-with-dependencies.jar]]
Line 7: Line 7:
java -jar mcm-validator-mock-2.0.0-jar-with-dependencies.jar}}} java -jar mcm-service-mock-2.0.0-jar-with-dependencies.jar}}}

Setup MCM Validation server mock

This page describes how to setup a mock server, simulating an MCM server.

  1. Download jar file.
    1. mcm-service-mock-2.0.0-jar-with-dependencies.jar

  2. Start the server

    java -jar mcm-service-mock-2.0.0-jar-with-dependencies.jar

The server validates the file specified in the sessionID element of the request. The URL:

http://localhost:9998/Portal/API/PortalService.svc/Object_Get?sessionID=sample.mp4&objectID=643703&includeFiles=true

therefore validates the file sample.mp4.

Setup MCM mock version 2 (last edited 2011-10-26 07:37:30 by heb)