Comments (6)
cc @SamYuan1990
from tape.
How about the dynamic variables
in postman? https://learning.postman.com/docs/writing-scripts/script-references/variables-list/. Some random data generator can be leveraged like https://github.com/brianvoe/gofakeit
from tape.
How about the
dynamic variables
in postman? https://learning.postman.com/docs/writing-scripts/script-references/variables-list/. Some random data generator can be leveraged like https://github.com/brianvoe/gofakeit
well, my personal opinion doesn't limit for any kind of implementation.
for post man, well @wangxinalex could you explain more about how integrate post man with tape(a golang base program?)
for the random data generator is a good point. however, if we extend our view. the use case is that
tape user input something in config.yaml xxx word
and during tape running replace xxx word
with data.
for random case, if user wants random data, this library is very good for us.
@guoger , could you please help comparing the different between https://ghz.sh/docs/examples#metadata-using-template-variables and https://ghz.sh/docs/examples#metadata-using-template-variables ?
from tape.
How about the
dynamic variables
in postman? https://learning.postman.com/docs/writing-scripts/script-references/variables-list/. Some random data generator can be leveraged like https://github.com/brianvoe/gofakeitwell, my personal opinion doesn't limit for any kind of implementation.
for post man, well @wangxinalex could you explain more about how integrate post man with tape(a golang base program?)
for the random data generator is a good point. however, if we extend our view. the use case is thattape user input something in config.yaml
xxx word
and during tape running replacexxx word
with data.
for random case, if user wants random data, this library is very good for us.
@guoger , could you please help comparing the different between https://ghz.sh/docs/examples#metadata-using-template-variables and https://ghz.sh/docs/examples#metadata-using-template-variables ?
In my view, the dynamic variables
in postman could provide some insights for tape due since they are both popular request generator. It is unnecessary to port these features from postman 100% because it is based on Javascript, instead we can try to leverage fake data generators like https://github.com/brianvoe/gofakeit to produce some fake data with semantic meaning.
On the other hand, ghz
can replace templates with some contextual data https://github.com/bojand/ghz/blob/06f029c14c97612a09095f55075474442ffc8243/runner/calldata.go#L24, of course which can be seen as some random info source, however this may be insufficient if we want semantically meaningful payload.
from tape.
How about the
dynamic variables
in postman? learning.postman.com/docs/writing-scripts/script-references/variables-list. Some random data generator can be leveraged like brianvoe/gofakeit
this looks promising.
Suppose following scenario:
1. create 1M accounts with random initial balance, then
2. randomly transfer among those accounts
1 should be easy with dynamic variable
. Although I'm scratching my head around 2, where accounts are inherited from 1.
Anyway, satisfying 1 should be a good starting point already, and we could always build on top of it.
@wangxinalex interested?
from tape.
How about the
dynamic variables
in postman? learning.postman.com/docs/writing-scripts/script-references/variables-list. Some random data generator can be leveraged like brianvoe/gofakeitthis looks promising.
Suppose following scenario:
1. create 1M accounts with random initial balance, then 2. randomly transfer among those accounts
1 should be easy with
dynamic variable
. Although I'm scratching my head around 2, where accounts are inherited from 1.Anyway, satisfying 1 should be a good starting point already, and we could always build on top of it.
@wangxinalex interested?
Sure, let's start with simple semantic random variables.
from tape.
Related Issues (20)
- upgrade ginkgo to v2 HOT 1
- logging的策略模糊问题
- Increase test coverage
- why "empty endorsement policy" HOT 4
- why change chaincode name and function name unsuccessfully? HOT 7
- rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: ENHANCE_YOUR_CALM, debug data: "too_many_pings" HOT 7
- replace azp by github action HOT 4
- prometheus integration
- update readme with author HOT 1
- rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: ENHANCE_YOUR_CALM, debug data: "too_many_pings" HOT 2
- 使用tape测试Fabric 1.4.4时,当指定的numbers超过200时引起MVCC冲突,求解决方案。 HOT 4
- rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: ENHANCE_YOUR_CALM, debug data: "too_many_pings"root HOT 7
- tape是否能看到latency数据? HOT 4
- TPS for Full Process miscalculated HOT 6
- enable lint for lint validations below HOT 1
- OpenSSF badge
- tape as dependency coverage HOT 3
- Tape client error : ENHANCE_YOUR_CALM and debug data equal to ASCII "too_many_pings" HOT 3
- panic: Received nil message, but expect a valid block instead. HOT 2
- Support for complex (struct) arguments HOT 6
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 tape.