-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarate-config.js
35 lines (22 loc) · 1.68 KB
/
karate-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
function setup() {
var data = new Date();
var aleatorio = data.getTime();
var config = {
baseUrl: "https://lista-compras-api.herokuapp.com/api/v1",
usuarioPerfil: {"name": "Perfil","email": "[email protected]"},
emailAleatorioPerfil: {"name": "Perfil","email": "perfil"+aleatorio+"@raro.com"},
usuarioAleatorioPerfil: {"name": "Perfil"+aleatorio,"email": "[email protected]"},
emailExistentePerfil: {"name": "Perfil","email": "[email protected]"},
nomeMenor4: {"name": "abc","email": "perfil"+aleatorio+aleatorio+"@raro.com"},
nomeIgual100: {"name": aleatorio+"deabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcde","email": "perfil"+aleatorio+aleatorio+"@raro.com"},
nomeMaior100: {"name": aleatorio+"deabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdeabcdee","email": "perfil"+aleatorio+aleatorio+"@raro.com"},
emailIgual60: {"name": "Perfil","email": aleatorio+"[email protected]"},
emailMaior60: {"name": "Perfil","email": aleatorio+"[email protected]"},
emailSemA: {"name": "Perfil","email": "perfil"+aleatorio+"raro.com"},
emailSemCom: {"name": "Perfil","email": "perfil"+aleatorio+"@raro"},
nomeEmBranco: {"name": "","email": "perfil"+aleatorio+"@raro.com"},
emailEmBranco: {"name": "Perfil"+aleatorio,"email": ""},
NomeEemailEmBranco: {"name": "","email": ""},
}
return config;
}