Files
cms/tests/stress-test-get-products.sh
Michael Czechowski 32a296baf2
Some checks failed
Build and publish / build (push) Failing after 17s
feat: extract cms from mp/cms — initial libreshop/cms
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.
2026-04-29 17:48:30 +02:00

12 lines
599 B
Bash

#!/bin/bash
for i in {1..100}; do curl --request GET \
--url http://localhost:5555/api/product \
--header 'Authorization: Bearer b5739bfdb5267e51533de07dc3726aecfa8063fd5fe3d903bdef7d9f614cd99e5ee8fe227587edb29df6be2a2bf8849cd713d1e8a82b3ff2d27244a10deb849559d573e4662de0ad5844e32afbfed5f82b22d7cbd57a01b5fcc7ca251abf0bf2a5d2a050745d81f0c47a9358d58f0f9b44b66d8649f7e9f5df10b9a2fcce58bd' \
--header 'content-type: application/json' \
--header 'cache-control: no-cache' \
--header 'pragma: no-cache' \
--compressed \
--insecure -s -o /dev/null -w '%{time_total}s\n';
done