Skip to content

Commit

Permalink
test: Send initial HTTP request to start up the server
Browse files Browse the repository at this point in the history
bprusinowski committed Feb 15, 2024

Verified

This commit was signed with the committer’s verified signature.
mistic Tiago Costa
1 parent 51d0bb6 commit e7f93dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions k6/performance-tests/generate-github-actions.mjs
Original file line number Diff line number Diff line change
@@ -88,6 +88,8 @@ jobs:
steps:
- name: Check out
uses: actions/checkout@v2
- name: Send an HTTP request to get the start up the server
run: curl 'https://test.visualize.admin.ch/api/graphql' -X 'POST' -H 'Content-Type: application/json' -d '{"operationName":"DataCubeObservations","variables":{"locale":"en","sourceType":"sparql","sourceUrl":"https://lindas.admin.ch/query","cubeFilter":{"iri":"https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/9","filters":{"https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/Kanton":{"type":"single","value":"https://ld.admin.ch/canton/1"}}}},"query":"query DataCubeObservations($sourceType: String!, $sourceUrl: String!, $locale: String!, $cubeFilter: DataCubeObservationFilter!) {\n dataCubeObservations(\n sourceType: $sourceType\n sourceUrl: $sourceUrl\n locale: $locale\n cubeFilter: $cubeFilter\n )\n}\n"}'
- name: Run k6
uses: addnab/docker-run-action@v3
with:

0 comments on commit e7f93dc

Please sign in to comment.