Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2011-05-17 12:26:09
Size: 562
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 7: Line 7:
java -jar mcm-validator-mock-1.0.0-SNAPSHOT-jar-with-dependencies.jar}}} java -jar mcm-service-mock-1.0.0-SNAPSHOT-jar-with-dependencies.jar}}}
Line 10: Line 10:
http://localhost:9998/chaos?sessionID=sample.mp4&objectID=643703&includeFiles=true}}} 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}}}

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)