We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19789b4 commit b33441cCopy full SHA for b33441c
load-test.yml
@@ -0,0 +1,35 @@
1
+config:
2
+ target: http://localhost:8010
3
+ phases:
4
+ - duration: 30
5
+ arrivalRate: 100
6
+ ensure:
7
+ p99: 50
8
+
9
+scenarios:
10
+ - name: "Load test POST rides"
11
+ flow:
12
+ - post:
13
+ url: "/rides"
14
+ json:
15
+ "start_lat": 12
16
+ "start_long": 14
17
+ "end_lat": 19
18
+ "end_long": 19
19
+ "rider_name": "JoSDSDS"
20
+ "driver_name": "John"
21
+ "driver_vehicle": "Truck"
22
+ expect:
23
+ - statusCode: 200
24
+ - name: "Load test GET rides"
25
26
+ - get:
27
28
29
30
+ - name: "Load test GET rides/1"
31
32
33
+ url: "/rides/1"
34
35
0 commit comments