Skip to content

Commit

Permalink
Enabling stress tests in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
madflojo committed Jun 8, 2024
1 parent 0907b0b commit e44e477
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/load.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ jobs:
- name: Wait for the Service to be ready
run: |
while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:8080/ready)" != "200" ]]; do sleep 5; done
- name: Run Stress Tests
run: |
make run-stress
2 changes: 1 addition & 1 deletion tests/k6/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import http from 'k6/http';
import { check } from 'k6';

export default function () {
const url = 'http://lookup:8080/';
const url = 'http://airport-lookup-example.com:8080/';
const payload = JSON.stringify({
"local_code": "PHX"
});
Expand Down

0 comments on commit e44e477

Please sign in to comment.