- 08 Feb, 2016 1 commit
-
-
Marek Vavrusa authored
these records will be scrubbed and must be ignored by the validator
-
- 02 Feb, 2016 1 commit
-
-
Grigorii Demidov authored
-
- 29 Jan, 2016 3 commits
-
-
Marek Vavrusa authored
-
Marek Vavrusa authored
-
Marek Vavrusa authored
entries in RANGE must be prefixed with ENTRY_BEGIN anyway, this fixes parser thinking it was a shortened markup
-
- 28 Jan, 2016 2 commits
-
-
Marek Vavrusa authored
this allows to make assertions about test environment, for example number of received queries, average RTT, number of performed steps etc. ranges are in variables: `RANGE = [...]` step is in variable: `STEP` example: STEP QUERY ... ; Check whether the query was received STEP ASSERT 0 < RANGE[0].received < 2 ; This fails STEP ASSERT RANGE[0].received > 100 it also evaluates subexpressions for useful failure information
-
Marek Vavrusa authored
the RANGE can now choose to ignore percentage of received queries, this can be used to simulate packetloss/server busy
-
- 27 Jan, 2016 3 commits
-
-
Marek Vavrusa authored
- INTENSIFY=N env variable multiplies the number of replayed queries by factor N - REPLAY bails out when test subject starts dropping queries
-
Marek Vavrusa authored
the output is now machine parseable, supports following options: - DO ... for DNSSEC - PRINT=name ... print replay statistics
-
Marek Vavrusa authored
the REPLAY can be used during testing to stress the tested subject and examine its behaviour under load
-
- 26 Jan, 2016 1 commit
-
-
Marek Vavrusa authored
* ANSWER alias for CHECK_ANSWER * MOCK alias for REPLY * ENTRY_BEGIN ... ENTRY_END not required, in that case ENTRY ends with newline, e.g. ; Simplified syntax STEP QUERY FLAGS RD SECTION QUESTION example.com IN A ; Entry ends here
-
- 25 Jan, 2016 1 commit
-
-
Marek Vavrusa authored
the client must provide scenario.log object, that has a `match(self, patterns)` method the self is a Step instance, patterns is just a list of parameters passed to `STEP LOG [...]`
-
- 21 Jan, 2016 6 commits
-
-
Marek Vavrusa authored
-
Marek Vavrusa authored
-
Marek Vavrusa authored
this is useful just for setting up the mock server and keeping it running for live inspection
-
Marek Vavrusa authored
-
Marek Vavrusa authored
-
Marek Vavrusa authored
-
- 20 Jan, 2016 2 commits
-
-
Grigorii Demidov authored
-
Grigorii Demidov authored
-
- 19 Jan, 2016 3 commits
-
-
Marek Vavrusa authored
example: MATCH all nsid EDNS 0 1280 nsid=Expected-value
-
Marek Vavrusa authored
this is a test for a workaround for broken resolution paths, where a zone cut is first introduced but the final answer is answered from its parent, which is a bailiwick escape this test makes no sense if the resolver is built with -DSTRICT_MODE
-
Marek Vavrusa authored
if the PCAP env variable is present during the test, all test queries/responses are captured in a pcap file
-
- 15 Jan, 2016 2 commits
-
-
Grigorii Demidov authored
-
Grigorii Demidov authored
-
- 14 Jan, 2016 3 commits
-
-
Marek Vavrusa authored
-
Marek Vavrusa authored
-
Marek Vavrusa authored
-
- 13 Jan, 2016 7 commits
-
-
Marek Vavrusa authored
-
Marek Vavrusa authored
-
Marek Vavrusa authored
the QUERY parameter can now contain key=value map, where `source=ip` is currently supported. this allows test to set different source address, so things like views or source-based filtering can be tested
-
Marek Vavrusa authored
it is possible for scenario to play on multiple test subjects, the [servername] in test case file should either correspond to test subject symbolic name or be empty (in that case, the first subject is used)
-
Marek Vavrusa authored
-
Marek Vavrusa authored
-
Marek Vavrusa authored
first parameter to STEP QUERY may be "TCP" in this case, the test subject is queried over TCP
-
- 11 Jan, 2016 5 commits
-
-
Grigorii Demidov authored
-
Marek Vavrusa authored
-
Marek Vavrusa authored
STEP <id> is optional (incremented if ommited) e.g.: STEP 1 REPLY # Id=1 STEP REPLY # Id=2 CONFIG_END isn't needed ENTRY_END isn't needed
-
Marek Vavrusa authored
the pydnstest is a generic library scenario is not responsible for any socket binding testserver provides mock servers deckard picks eligible addresses from scenario, and tells testserver to listen there this makes the library standalone useable even without prebinding
-
Marek Vavrusa authored
-