example.scenario.js.endurance.pipeline_test.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mongoose-base Show documentation
Show all versions of mongoose-base Show documentation
Mongoose is a high-load storage performance testing tool
var pipelineSharedConfig = {
"item": {
"output": {
"path": "endurance_0"
}
},
"load": {
"step": {
"id": "endurance_0"
}
}
}
var pipelineCreateCtx = {
}
var pipelineUpdateCtx = {
"item": {
"data": {
"ranges": {
"random": 4
}
}
},
"load": {
"op": {
"type": "update"
}
}
}
var pipelineReadCtx = {
"item": {
"data": {
"verify": true
}
},
"load": {
"op": {
"type": "read"
}
}
}
var pipelineDeleteCtx = {
"load": {
"op": {
"type": "delete"
}
}
}
var pipelineLoad = PipelineLoad
.config(pipelineSharedConfig)
.append(pipelineCreateCtx)
.append(pipelineUpdateCtx)
.append(pipelineReadCtx)
.append(pipelineDeleteCtx)
.run();
© 2015 - 2025 Weber Informatics LLC | Privacy Policy