Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/integration_tests/protocols/http/constants-with-threads.yaml
2843 views
1
id: constants-with-threads
2
3
info:
4
name: Constants with Threads
5
author: pdteam
6
severity: info
7
description: |
8
Test that constants are properly resolved when using threads mode.
9
10
constants:
11
api_key: "supersecretkey123"
12
api_version: "v2"
13
14
http:
15
- method: GET
16
path:
17
- "{{BaseURL}}/api/{{api_version}}"
18
threads: 5
19
headers:
20
X-API-Key: "{{api_key}}"
21
22
matchers:
23
- type: word
24
words:
25
- "supersecretkey123"
26
- "v2"
27
condition: and
28
29