This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import http from 'k6/http'; | |
import exec from 'k6/execution'; | |
import { sleep } from 'k6'; | |
export const options = { | |
stages: [ | |
{ duration: '40s', target: 20 }, | |
{ duration: '2m', target: 20 }, | |
{ duration: '5s', target: 0 }, | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import kv from 'k6/x/kv'; | |
import http from 'k6/http'; | |
import { sleep } from 'k6'; | |
export const options = { | |
stages: [ | |
{ duration: '15s', target: 15 }, | |
{ duration: '30s', target: 15 }, | |
{ duration: '5s', target: 0 }, | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Debugging | |
//////////////////////////////////////// | |
// Example of what I am trying to do, for rendezvous | |
// without promises for Pepe to figure out | |
//////////////////////////////////////// | |
import redis from 'k6/x/redis'; | |
import http from 'k6/http'; | |
import { sleep } from 'k6'; |