Giter Site home page Giter Site logo

mocksy's Introduction

> Build mocksy server by running “mvn clean install” command from mocksy-server directory

> Make sure mocksy server is ready to run by executing following command
	
		java -jar target/mocksy-server-0.8-full.jar --help
		
> Run mocksy server to serve xml request/response by running the start.sh in mocksy-server directory
	
		Edit the mocksy-server/start.sh to specify rules file path and port
			
		# give the rules file path here
		RULES_FILE_PATH=src/test/rules/xml/rules.xml

		#Configure the port you want the mocksy to run
		PORT=7890
	
> You can use the  mocksy-server/stop.sh to stop the mocksy server


> Alternatively you can run the following command on the command line to start the mocksy with appropriate jar file and rules file paths

	   java -jar c:\root\mocksy\mocksy-server\target\mocksy-server-0.8-full.jar --admin --port 7890 --ruleset c:\root\mocksy\mocksy-xml-rules\rules.xml


> Send XML request to mocksy server using curl with following command
	
	curl -verbose -header “Content-Type: text/xml” [email protected] http://localhost:7890

	
> Check the rules being used at http://localhost:7891/rules

mocksy's People

Contributors

saleemshafi avatar rasesh avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.