We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 250be80 commit 722b40bCopy full SHA for 722b40b
tests/integration/test_parametrize.tavern.yaml
@@ -18,6 +18,27 @@ stages:
18
status_code: 200
19
json: !force_format_include "{tavern.request_vars.json}"
20
21
+---
22
+test_name: Test parametrizing query parameters
23
+
24
+marks:
25
+ - parametrize:
26
+ key: query_param
27
+ vals:
28
+ - example_value
29
30
+stages:
31
+ - name: Echo back parametrized value from query parameter
32
+ request:
33
+ url: "{global_host}/echo_params"
34
+ method: GET
35
+ params:
36
+ example_param: "{query_param}"
37
+ response:
38
+ status_code: 200
39
+ json:
40
+ example_param: example_value
41
42
---
43
test_name: Test parametrizing using 'vals' directly and not in the list, list key
44
0 commit comments