Skip to content

Instantly share code, notes, and snippets.

@adnanrahic
Created December 16, 2022 18:10
Show Gist options
  • Save adnanrahic/2f3ac6acdc2dee40fbfd37d83ef65398 to your computer and use it in GitHub Desktop.
Save adnanrahic/2f3ac6acdc2dee40fbfd37d83ef65398 to your computer and use it in GitHub Desktop.
type: Test
spec:
id: W656Q0c4g
name: http://app:8080
description: akadlkasjdf
trigger:
type: http
httpRequest:
url: http://app:8080
method: GET
headers:
- key: Content-Type
value: application/json
specs:
- selector: span[tracetest.span.type="http" name="GET /" http.target="/" http.method="GET"]
assertions:
- attr:http.status_code = 200
- attr:tracetest.span.duration < 500ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment