Comments (4)
Hey @Sarthak160
I am thinking of making an entry in keploy-config.yaml like this:
noise: |
{
"body": {
"ts": ["regex", "regex2"]
},
"header": {
"Date": []
}
}
WDYT ?
from keploy.
hey @Sarthak160
just to clarify do you want a field in test section of config file which will take an array of regular expression ? Each regex in config file will be matched with the value of each entry in json body. If any match occurs, the entry will be ignored.
if this is what we want, why don't we just ask users to provide an array of field names like [header.Date, body.ts, .....] , it would be easier for the users.
from keploy.
Yes that can be more feasible , but what if the user wants to ignore particular values of that field . Like he wants to ignore those timestamps which contain IST in their values . So basically we should provide both parameters .
By field as well for values .
from keploy.
Yes that can be more feasible , but what if the user wants to ignore particular values of that field . Like he wants to ignore those timestamps which contain IST in their values . So basically we should provide both parameters .
By field as well for values .
If the user doesn't specify the regex, we will ignore all fields by default
from keploy.
Related Issues (20)
- [feature]: Keploy V2 refactor Manual testing and update test pipelines
- [feature]: Enable keploy to run the mock server separately
- [feature]: Implement ability to run testsets without restarting the application
- [feature]: Keploy V2 refactor the cli
- [feature]: Keploy V2 refactor test all the record and test flows
- [Keploy Javascript SDK]: Issue with env variables when running application HOT 1
- [bug]: coverage.keploy is not generated for python code coverage HOT 1
- [feature]: Addition of version argument to installation script
- [bug]: Check for detach mode in docker command
- [bug]: Change the Twiiter logo HOT 1
- [bug]: testcase fails due to unmatched external http mock
- [feature]: Automatic Noise Field Detection HOT 2
- [bug]: the diff viewer shows all of the trailing body as difference rather than being specific to the diff chars HOT 1
- [docs]: add ci integration documentation
- [docs]: Slack Invite Link possibly expired - Getting Started HOT 4
- [feature]: models for mssql
- [feature]: explore alternatives of gojsondiff to show json difference HOT 1
- [bug] Command built from user-controlled sources HOT 2
- [feature]: add animations to blog website HOT 3
- [feature]: add newsletter subscription section to blog website HOT 4
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 keploy.