Browse Source

Test simple curl command

CLDC-3611-performance-testing
Kat 4 months ago
parent
commit
e19b1e0629
  1. 3
      .github/workflows/review_pipeline.yml

3
.github/workflows/review_pipeline.yml

@ -48,6 +48,9 @@ jobs:
- name: Run Performance Test
run: |
echo "test curl"
curl https://review.submit-social-housing-data.levellingup.gov.uk/${{ github.event.pull_request.number }}/account/sign-in
echo "Fetching CSRF token..."
TOKEN=$(curl -c token_cookies.txt -s https://review.submit-social-housing-data.levellingup.gov.uk/${{ github.event.pull_request.number }}/account/sign-in | grep '<meta name="csrf-token"' | sed -n 's/.*content="\([^"]*\)".*/\1/p')

Loading…
Cancel
Save