Comments (2)
The user should be able to disable these expressions for each mocked response.
from castlemock.
This feature has now been implemented. The basic features are now supported:
Random integer: {RANDOM_INTEGER}
Random double: {RANDOM_DOUBLE}
Random float: {RANDOM_FLOAT}
Random long: {RANDOM_LONG}
Just add these expressions in your response and they will be replaced with generated values. More expressions are expected in the future, such as random first or last name.
from castlemock.
Related Issues (20)
- castlemock cannot auto import projects from swagger yaml files defined in dockerfile HOT 1
- Unable to import a rest project HOT 1
- `StrictHttpFirewall#setAllowedHeaderNames` should augment with existing `Predicate`
- Issues with JSON Path HOT 2
- Copy a particular Json object into the response HOT 1
- Pushing request json payload into the response body is failing
- Auto remove of the files HOT 1
- Building and running from maven without installed tomcat HOT 2
- Send multiple responses, with delays, to one request (Asynchronous Responses)
- Switching between different methods with a same type is broken
- tomcat jar file cannot find main method because of typo issue HOT 1
- Expression Validation popup can't pickup response body
- "ReferenceError: arguments is not defined" in react-bootstrap-table2-toolkit
- Is there a way to configure a response by matching a form request?
- Add back dedicated log block on the method page
- Docker - auto import projects and configuration HOT 1
- Internal Server Error when send Content-Type: application/soap+xml
- Import WSDL throws an exception
- Request Query match Get args Error 500
- Unable to upload RAML to a new rest project
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 castlemock.