-
Notifications
You must be signed in to change notification settings - Fork 0
/
taurusCompleteDemoWithout.yml
54 lines (51 loc) · 1.1 KB
/
taurusCompleteDemoWithout.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
scenarios:
Loadtest_1:
variables:
var_1: https://blazedemo.com/
think-time: 3s
requests:
- url: ${var_1}/login
label: 1.Login
- url: ${var_1}
assert-xpath:
- xpath: "//body/div[2]/h1[text()='Welcome to the Simple Travel Agency!']"
use-tolerant-parser: true
label: 2.Home
Loadtest_2:
variables:
var_2: https://blazedemo.com/
think-time: uniform(5s, 1s)
data-sources:
- path: /home/sheila/Documentos/lugares.csv
requests:
- url: ${var_2}/reserve.php
assert:
- contains:
- (?s)Flights.+?to
subject: body
regeexp: true
method: POST
body:
toPort: ${Destino}
fromPort: ${Origen}
label: 3.Reservar:${Destino}-${Origen}
modules:
consolidator:
percentiles:
- 25.0
- 50.0
- 90.0
- 99.0
reporting:
- module: final-stats
dump-csv: /home/sheila/Documentos/reportes/report.csv
execution:
- concurrency: 20
ramp-up: 20s
hold-for: 30s
throughput: 30
scenario: Loadtest_1
- concurrency: 40
ramp-up: 40s
scenario: Loadtest_2
delay: 20s