Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update synthetic monitoring with latest pokeshop changes #3424

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/scheduled-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
tracetest configure --token ${{secrets.TRACETEST_POKESHOP_TOKEN}}
- name: Run synthetic monitoring tests
run: |
tracetest run testsuite --file ./testing/synthetic-monitoring/pokeshop/_testsuite.yaml
tracetest run testsuite --file ./testing/synthetic-monitoring/pokeshop/_testsuite.yaml --vars ./testing/synthetic-monitoring/pokeshop/_variableset.yaml
- name: Send message on Slack in case of failure
if: ${{ failure() }}
uses: slackapi/slack-github-action@v1.24.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
type: http
httpRequest:
method: POST
url: http://demo-pokeshop/pokemon
url: ${var:POKESHOP_API_URL}/pokemon
body: |
{
"name": "meowth",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
type: http
httpRequest:
method: POST
url: http://demo-pokeshop/pokemon/import
url: ${var:POKESHOP_API_URL}/pokemon/import
body: |
{
"id": 143
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
type: kafka
kafka:
brokerUrls:
- stream:9092
- ${var:POKESHOP_KAFKA_BROKER}
topic: pokemon
headers: []
messageKey: snorlax-key
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
type: http
httpRequest:
method: GET
url: http://demo-pokeshop/pokemon?take=100&skip=0
url: ${var:POKESHOP_API_URL}/pokemon?take=100&skip=0
headers:
- key: Content-Type
value: application/json
Expand Down
9 changes: 9 additions & 0 deletions testing/synthetic-monitoring/pokeshop/_variableset.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
type: VariableSet
spec:
id: tracetesting-vars
name: tracetesting-vars
values:
- key: POKESHOP_API_URL
value: https://demo-pokeshop.tracetest.io
- key: POKESHOP_KAFKA_BROKER
value: demo-pokeshop.tracetest.io:9092