Some checks failed
Build and publish / build (push) Failing after 17s
Source moved verbatim from mp/cms/ on 2026-04-29; mp was the first concrete adapter consuming the libreshop toolkit. Builds and publishes git.librete.ch/libreshop/cms on every main / v* push via the standard .gitea/workflows/build.yml shared across libreshop components.
20 lines
821 B
Bash
20 lines
821 B
Bash
#!/bin/bash
|
|
|
|
for i in {1..100}; do curl --request PUT \
|
|
--url 'http://localhost:5555/api/order/a00ad9d9-fa7b-4989-a37c-5ef5051325fe/add-product/11521?count=4' \
|
|
--header 'Authorization: Bearer b5739bfdb5267e51533de07dc3726aecfa8063fd5fe3d903bdef7d9f614cd99e5ee8fe227587edb29df6be2a2bf8849cd713d1e8a82b3ff2d27244a10deb849559d573e4662de0ad5844e32afbfed5f82b22d7cbd57a01b5fcc7ca251abf0bf2a5d2a050745d81f0c47a9358d58f0f9b44b66d8649f7e9f5df10b9a2fcce58bd' \
|
|
--header 'content-type: application/json' \
|
|
--header 'cache-control: no-cache' \
|
|
--header 'pragma: no-cache' \
|
|
--data '{
|
|
"cart": [
|
|
{
|
|
"count": 10,
|
|
"product": 789
|
|
}
|
|
]
|
|
}' \
|
|
--compressed \
|
|
--insecure -s -o /dev/null -w '%{time_total}s\n';
|
|
done
|