Comments (4)
Hi Mock Server is based on Tornado web framework which is asynchronous networking library. What is your use case for multiple threads or process?
Maybe you can look at http://www.tornadoweb.org/en/stable/guide/running.html
from mock-server.
I'd like to use it in performance test. so, maybe there are requests to access mock server
from mock-server.
Hi I add num_processes command line option.
mock-server --dir=/path/to/api --num_processes=1
More about num_processes you can read there: http://tornado.readthedocs.org/en/branch3.1/process.html#tornado.process.fork_processes
from mock-server.
@tomashanacek, great, thx
from mock-server.
Related Issues (20)
- Is there any program interface to implement generating response on base of reqeust content? HOT 2
- need support custom status code
- I cannot add new api, and get this error message HOT 2
- mock-server not accepting file put request
- HTML response doesn't seem to work HOT 3
- Cannot access service by IP (localhost or 127.0.0.1 works) HOT 6
- There's a typo in the default response
- HTTPHeaders object is not JSON serializable (tornado 4.3) HOT 6
- Response codes triggered by url params HOT 1
- Creating mock meets server 's 500 error HOT 7
- not able to install using "easy_install mock-server" throwing error HOT 4
- SSL client certificate support? HOT 1
- error HOT 2
- http://localhost:8888/__manager/list_resource.html HOT 1
- Returning 500 server error HOT 3
- mock-server doesn't work on Windows: it's not a command when I run "mock-server --dir" HOT 2
- Create resource method
- Error: NameError: name 'unicode' is not defined HOT 6
- No longer installs [for python3.9] HOT 3
- Dependency clash
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mock-server.