This file contains hidden or 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 hmac | |
from time import time | |
import hashlib | |
shared_secret = b'SHARED' # Change this shared_secret by your shared_secret | |
users = 50000 | |
usersIni = 1 | |
def get_hmac(userId, objType, objId, perm): | |
secret = shared_secret |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<jmeterTestPlan version="1.2" properties="2.6" jmeter="2.11.20140918"> | |
<hashTree> | |
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Pruebas Agora Voting" enabled="true"> | |
<stringProp name="TestPlan.comments">Las dos primeras variables son el servidor de agora y el authevent que se va a utilizar para las pruebas. | |
Todas las demas variables son para la cantidad de usuarios y los tiempos de las pruebas, de los diferentes | |
hilos, las cuales siguien el siguiente formato: | |
users|seg + el|st|vo + carga|estres | |
el --> election |
This file contains hidden or 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
set nocompatible " be iMproved, required | |
filetype off " required | |
"filetype on | |
filetype plugin on | |
syntax on | |
filetype plugin indent on | |
set smartindent | |
set ruler | |
set showcmd |
OlderNewer