test: calcDeliveryPathByGeoJson

This commit is contained in:
js0ny 2025-11-28 03:45:06 +00:00
parent 449c81a375
commit 72eb53817c
9 changed files with 222 additions and 5 deletions

View file

@ -0,0 +1,39 @@
meta {
name: Simple: Path
type: http
seq: 4
}
post {
url: {{API_BASE}}/calcDeliveryPath
body: json
auth: inherit
}
body:json {
[
{
"id": 123,
"date": "2025-12-22",
"time": "14:30",
"requirements": {
"capacity": 0.75,
"heating": true,
"maxCost": 13.5
},
"delivery": {
"lng": -3.17,
"lat": 55.9
}
}
]
}
assert {
res.status: eq 200
}
settings {
encodeUrl: true
timeout: 0
}