Differences between revisions 4 and 5
Revision 4 as of 2011-05-17 12:40:15
Size: 669
Editor: heb
Comment:
Revision 5 as of 2011-05-17 12:40:32
Size: 680
Editor: heb
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
http://localhost:9998/Portal/API/PortalService.svc/Object_Get?sessionID=sample.mp4&objectID=643703&includeFiles=true http://localhost:9998/Portal/API/PortalService.svc/Object_Get?sessionID=sample.mp4&objectID=643703&includeFiles=true}}}
and{{{

Setup MCM Validation server mock for Version 1

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

  1. Download jar file.
    1. mcm-service-mock-1.0.0-SNAPSHOT-jar-with-dependencies.jar

  2. Start the server

    java -jar mcm-service-mock-1.0.0-SNAPSHOT-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

and

http://localhost:9998/Portal/API/PortalService.svc/output_internal_status

therefore validates the file sample.mp4.

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