Skip to content

Commit c63c150

Browse files
authored
doc(smoke-testing.md): add check (#1953)
1 parent b499208 commit c63c150

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/sources/k6/next/testing-guides/test-types/smoke-testing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export const options = {
5656

5757
export default () => {
5858
const urlRes = http.get('https://quickpizza.grafana.com');
59+
check(urlRes, { 'status returned 200': (r) => r.status == 200 })
5960
sleep(1);
6061
// MORE STEPS
6162
// Here you can have more steps or complex script

0 commit comments

Comments
 (0)