Skip to content

Commit

Permalink
scenario docs
Browse files Browse the repository at this point in the history
scenario docs
  • Loading branch information
oke11o committed Oct 18, 2023
1 parent 0422ddd commit b2c4be8
Show file tree
Hide file tree
Showing 7 changed files with 1,131 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,12 @@
"docs/eng/architecture.md":"load/projects/pandora/docs/eng/architecture.md",
"docs/eng/config.md":"load/projects/pandora/docs/eng/config.md",
"docs/eng/custom.md":"load/projects/pandora/docs/eng/custom.md",
"docs/eng/http-generator.md":"load/projects/pandora/docs/eng/http-generator.md",
"docs/eng/install.md":"load/projects/pandora/docs/eng/install.md",
"docs/eng/load-profile.md":"load/projects/pandora/docs/eng/load-profile.md",
"docs/eng/performance.md":"load/projects/pandora/docs/eng/performance.md",
"docs/eng/providers.md":"load/projects/pandora/docs/eng/providers.md",
"docs/eng/scenario-http-generator.md":"load/projects/pandora/docs/eng/scenario-http-generator.md",
"docs/eng/tuturial.md":"load/projects/pandora/docs/eng/tuturial.md",
"docs/images/architecture.graphml":"load/projects/pandora/docs/images/architecture.graphml",
"docs/images/architecture.png":"load/projects/pandora/docs/images/architecture.png",
Expand All @@ -239,11 +241,13 @@
"docs/rus/architecture.md":"load/projects/pandora/docs/rus/architecture.md",
"docs/rus/config.md":"load/projects/pandora/docs/rus/config.md",
"docs/rus/custom.md":"load/projects/pandora/docs/rus/custom.md",
"docs/rus/http-generator.md":"load/projects/pandora/docs/rus/http-generator.md",
"docs/rus/index.md":"load/projects/pandora/docs/rus/index.md",
"docs/rus/install.md":"load/projects/pandora/docs/rus/install.md",
"docs/rus/load-profile.md":"load/projects/pandora/docs/rus/load-profile.md",
"docs/rus/performance.md":"load/projects/pandora/docs/rus/performance.md",
"docs/rus/providers.md":"load/projects/pandora/docs/rus/providers.md",
"docs/rus/scenario-http-generator.md":"load/projects/pandora/docs/rus/scenario-http-generator.md",
"docs/rus/tuturial.md":"load/projects/pandora/docs/rus/tuturial.md",
"examples/connect.yaml":"load/projects/pandora/examples/connect.yaml",
"examples/custom_pandora/custom.yaml":"load/projects/pandora/examples/custom_pandora/custom.yaml",
Expand Down
44 changes: 44 additions & 0 deletions docs/eng/http-generator.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[Home](../index.md)

---

# HTTP generator

Full http (http2) generator config

```yaml
gun:
type: http
target: '[hostname]:443'
ssl: true
connect-ssl: false # If true, Pandora accepts any certificate presented by the server and any host name in that certificate. Default: false
tls-handshake-timeout: 1s # Maximum waiting time for a TLS handshake. Default: 1s
disable-keep-alives: false # If true, disables HTTP keep-alives. Default: false
disable-compression: true # If true, prevents the Transport from requesting compression with an "Accept-Encoding: gzip" request header. Default: true
max-idle-conns: 0 # Maximum number of idle (keep-alive) connections across all hosts. Zero means no limit. Default: 0
max-idle-conns-per-host: 2 # Controls the maximum idle (keep-alive) connections to keep per-host. Default: 2
idle-conn-timeout: 90s # Maximum amount of time an idle (keep-alive) connection will remain idle before closing itself. Zero means no limit. Default: 90s
response-header-timeout: 0 # Amount of time to wait for a server's response headers after fully writing the request (including its body, if any). Zero means no timeout. Default: 0
expect-continue-timeout: 1s # Amount of time to wait for a server's first response headers after fully writing the request headers if the request has an "Expect: 100-continue" header. Zero means no timeout. Default: 1s
dial:
timeout: 1s # TCP connect timeout. Default: 3s
dns-cache: true # Enable DNS cache, remember remote address on first try, and use it in the future. Default: true
dual-stack: true # IPv4 is tried soon if IPv6 appears to be misconfigured and hanging. Default: true
fallback-delay: 300ms # The amount of time to wait for IPv6 to succeed before falling back to IPv4. Default 300ms
keep-alive: 120s # Interval between keep-alive probes for an active network connection Default: 120s
answlog:
enabled: true
path: ./answ.log
filter: all # all - all http codes, warning - log 4xx and 5xx, error - log only 5xx. Default: error
auto-tag:
enabled: true
uri-elements: 2 # URI elements used to autotagging. Default: 2
no-tag-only: true # When true, autotagged only ammo that has no tag before. Default: true
httptrace:
dump: true # calculate responce bytes
trace: true # calculate different request stages: connect time, send time, latency, request bytes
```
---
[Home](../index.md)
Loading

0 comments on commit b2c4be8

Please sign in to comment.